- 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:addTextBox
Inserts text boxes into the Word document.
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 |