XML API - pdx:deleteBlock
- 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:deleteBlock/h2>
Deletes a block of content from the Word template.
Note
You are reading the XML API documentation. For the PHP API method please go to deleteBlock.
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$).
Please refer to the Tutorial for a detailed description of the process.
Attributes and sub-elements
variableName
The name of the variable.
Deletes a block of content from the Word template.
Note
You are reading the XML API documentation. For the PHP API method please go to deleteBlock.
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$).
Please refer to the Tutorial for a detailed description of the process.
Attributes and sub-elements
variableName
The name of the variable.