Cookbook
- Learn phpdocx in 5 minutes
- Practical guide
- Tutorial
- API quick guide
- HTML to Word
- HTML Extended
- Conversion plugin
- Word to HTML
- DOCXPath
- Bulk processing
- DOCXCustomizer
- Digital signature
- Cryptophpdocx
- Right to left languages
- phpdocx CLI command
- Tracking
- JavaScript API
- JSON API
- Artificial Intelligence
- Compiled mode
- Blockchain for documents
Public static properties
phpdocx provides several public static properties that can be queried or customized for specific use cases.
The following list describes the most important public static properties, along with the classes they belong to and their purposes:
- CreateDocx::$cleanUTF8 - Controls whether invalid UTF-8 characters are cleaned..
- CreateDocx::$_encodeUTF - Controls whether text is converted to UTF-8.
- CreateDocx::$bidi - Controls whether bidirectional text support is enabled.
- CreateDocx::$rtl - Controls whether right-to-left text support is enabled.
- CreateDocx::$chunkMode - Controls whether chunk mode is enabled.
- CreateDocx::$streamMode - Controls whether stream mode is enabled.
- CreateDocx::$trackingOptions - Defines the tracking options for document changes.
- CreateDocx::$returnDocxStructure - Controls whether the DOCX structure is returned.
- CreateDocx::$numUL - Defines the numbering scheme for unordered lists.
- CreateDocx::$numOL - Defines the numbering scheme for ordered lists.
- CreateDocx::$baseCSSHTML - Defines the base CSS applied to HTML content.
- CreateDocxFromTemplate::$regExprVariableParse - Specifies the regular expression used to parse template variables when the parseMode option is enabled. Please read the documentation available on Parse mode option.
- CreateDocxFromTemplate::$regExprVariableSymbols - Specifies the regular expression used to parse template variables with distinct opening and closing delimiters or delimiters longer than one character. Please read the documentation available on Defining a non unique symbol for placeholders.
- PhpdocxLogger::$errorReporting - Controls the error reporting level.
- XmlUtilities::$invalidXmlChars - Defines the XML characters to remove when CreateDocx::$cleanUTF8 is enabled.
- XmlUtilities::$xmlFlags - Specifies the XML parser flags.
