pdx:addMacroFromDoc

Imports a macro from another Word document.

Description

Element definition

With the help of this element you can import the macros from an existing Word file.

You should create an instance of CreateDocx with the 'docm' option in order to obtain a functional Word document with macros as a result.

Attributes and sub-elements

src

The path of the Word document (.docm) from which we wish to import the macros.

Code samples
#Example 1

config.xml

content.xml

settings.xml