pdx:importHeadersAndFooters

Imports headers and footers from an external Word document.

Description

Element definition

This element allows the insertion of Headers and Footers from an external Word document in the current Word document.

If the type parameter is ommitted both headers and footers are imported.

Attributes and sub-elements

src

The path to the external Word document.

type

The options are:.

  • 'headerAndFooter' to import both header and footer (default value),
  • 'header' for just the header or,
  • 'footer' for just the footer.
Code samples
#Example 1

config.xml

content.xml

settings.xml

The resulting Word document looks like: