- 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:deleteTemplateBlock
Deletes a block of content from the Word template.
Description
Element definition
The BLOCK variables are wrappers of content. They are used to remove unwanted parts of the document on “run time”.
This method does exactly that: removes a block of content from the Word template that has been previously enclosed between BLOCK tags ($BLOCK_varName$).
We refer to the Tutorial for a detailed description of the process.
Attributes and sub-elements
variableName
The name of the variable.