XML API - pdx:addFooter
- 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:addFooter
Inserts footers into the Word document.
Note
You are reading the XML API documentation. For the PHP API method please go to addFooter.
Description
Element definition
It is possible to include different footers for:
- the first page or title page.
- even pages.
- odd pages (this one is the default footer for the whole document if no different footers are defined for the first or even pages).
The contents of the different footers are defined via the use of WordFragments. These footer WordFragments allow the insertion of:
- text paragraphs
- current date and/or hour
- images
- links
- lists
- page numbers
- shapes
- tables
- HTML content
You may also import the footers of an existing DOCX document via the ImportHeadersAndFooters element.
Attributes and sub-elements
footers
Key | Description |
---|---|
default | The WordML fragment object containing the contents for the default (odd pages) header. |
even | The WordML fragment object containing the contents for the even pages header. |
first | The WordML fragment object containing the contents for the first (title) page header. |