XmlApi - pdx:docxSettings


Modifies the general Word settings.


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




PHP code

The resulting Word document looks like: