XmlApi - pdx:parseStyles

pdx:parseStyles

Generates a Word document with the available styles.

Description

Element definition

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

With the help of this element 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.

Attributes and sub-elements

path

The path to the Word document from which you want to import the styles. If empty, it parses the styles of the current base template.

Code samples

Example #1

config.xml

content.xml

settings.xml

PHP code

The resulting Word document looks like: