docxSettings

docxSettings

BASIC / ADVANCED / PREMIUM

Modifies the general Word settings.

Description
public docxSettings ( array $settingParameters )

With the help of this method you can set, among many others:

  • 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 method available in the DocxUtilities package.

Return values

Void.

Code samples

Example #1

The resulting Word document looks like: