Snippets
- Learn phpdocx in 5 minutes
- 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
- Artificial Intelligence
- Blockchain for documents
- JavaScript API
- Compiled mode
Translate "page of" contents
The addPageNumber method with the page-of type uses english as default: Page X of Y.
This content can be changed dymanically. For example to translate the strings to other languages or to add other contents.
To customize the "page of" strings, the public static var OOXMLResources::$pageNumber must be changed: