- 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:removeSection
Removes a section and its contents.
Description
Element definition
This element allows you to remove a section and its contents in a Word document.
Attributes and sub-elements
src
Path to the Word document.
target
Path to the resulting document.
section
Section number to be removed: 1, 2...
keepSections
Preserve or not the original sections of the splitted document. If false uses the first section for all documents. Default as true.