- 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:addBookmark
Inserts a bookmark into a Word document.
Description
Element definition
This element allows for the insertion of bookmarks into a Word document.
This method should be called at least twice: one to open the bookmark tag (type start) and the other one to close it (type end).
One may link the generated bookmark with the addLink element to facilitate the internal navigation through the Word document contents.
Attributes and sub-elements
options
key | Description |
---|---|
type | The bookmark type. posible values are 'start' and 'end' |
name | The name that we want to give to the corresponding bookmark. This is the parameter that should be used within the addLink method to link to the bookmarked content |