XML API - pdx:addBookmark
- 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
- addBookmark
- addBreak
- addChart
- addComment
- addCrossReference
- addDateAndHour
- addEndnote
- addExternalFile
- addFootnote
- addFormElement
- addHeading
- addImage
- addLink
- addList
- addMathEquation
- addMergeField
- addOnlineVideo
- addPageNumber
- addShape
- addSimpleField
- addStructuredDocumentTag
- addTable
- addTableContents
- addTableFigures
- addText
- addTextBox
- addWordML
- embedHTML
- clearBlocks
- deleteBlock
- modifyInputFields
- processTemplate
- rawSearchAndReplace
- removeTemplateVariable
- replaceListVariable
- replacePlaceholderImage
- replaceTableVariable
- replaceVariableByExternalFile
- replaceVariableByHtml
- replaceVariableByText
- replaceVariableByWordFragment
- replaceVariableByWordML
- setTemplateSymbol
- setTemplateBlockSymbol
pdx:addBookmark
Inserts a bookmark into a Word document.
Note
You are reading the XML API documentation. For the PHP API method please go to addBookmark.
Description
Element definition
This element allows to insert 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. Possible values are 'start' and 'end' |
name | The name that you 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 |