parseStyles

parseStyles

TRIAL / ADVANCED / PREMIUM

Generates a Word document with the available styles.

Description
public parseStyles ()

This method generates an auxiliary Word document with all the available styles in a given Word document.

With the help of this method you may generate a Word document indicating not only the available styles but also how they they can be used with the addText, addTable and addList methods.

Code samples

Example #1

The resulting Word document looks like:

Release notes
  • phpdocx 9.5:
    • numberings in paragraph styles.
    • removed path option.