XmlApi - pdx:docxSettings

pdx:docxSettings

Modifies the general Word settings.

Note

You are reading the XMLAPI documentation. For the API method please go to docxSettings.

Description

Element definition

With the help of this element you can set, among many other features:/p>

  • The way the Word document will print.
  • The view mode and zoom of the Word document at opening.
  • To hide or show grammatical and/or spelling errors.
  • To track or not revisions.
  • The document type.
  • Hyphenation settings.
  • Default table style and tab positioning.
  • Etcetera.

If you need to alter the setting of pre-existing Word documents you may use the modifyDocxSettings element available in the DocxUtilities package.

Code samples

Example #1

config.xml

content.xml

settings.xml

PHP code

The resulting Word document looks like: