XML API - pdx:addTextBox
- 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:addTextBox
Inserts text boxes into the Word document.
Note
You are reading the XML API documentation. For the PHP API method please go to addTextBox.
Description
Element definition
This element allows the insertion of a text box into your Word document.
Attributes and sub-elements
content
It may be a:
- Word fragment or text string
boxParameters
The possible keys and values are:
Key | Description |
---|---|
align | center, left, right. |
border | Border width. |
borderColor | Hexadecimal value (#ff0000, #0000ff). |
borderWidth | value in points. |
contentVerticalAlign | top (default), center or bottom. |
fillcolor | Hexadecimal value (#ff0000, #0000ff). |
height | Height in points or 'auto'. |
textWrap | tight, square, through, none. |
paddingBottom | Distance in cm. |
paddingLeft | Distance in mm. |
paddingRight | Distance in mm. |
paddingTop | Distance in mm. |
width | Width in points. |