- 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:setTemplateSymbol
Sets the character used to identify placeholder variables within a given template.
Description
Element definition
By default the xmldocx template variables have to be wrapped by $'s (dollar symbol).
You chan change that symbol by any other you wish with the help of this method. It is, of course, convenient to use a symbol reasonably distinguishable from standard text characters.
Make sure that all variables in your template are surrounded by the symbol you have chosen.
Attributes and sub-elements
symbolValue
The symbol we want to use for identifying placeholder variables within templates.