- addBackgroundImage
- addFooter
- addHeader
- addLineNumbering
- addMacroFromDoc
- addPageBorders
- addProperties
- addSection
- createCharacterStyle
- createListStyle
- createParagraphStyle
- docxSettings
- importHeadersAndFooters
- importListStyle
- importStyles
- modifyPageLayout
- parseStyles
- removeFooters
- removeHeaders
- setBackgroundColor
- setDefaultFont
- setDocumentDefaultStyles
- setEncodeUTF8
- setLanguage
- setMarkAsFinal
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.