XML API - pdx:addProperties
- 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:addProperties
Modifies the document properties.
Note
You are reading the XML API documentation. For the PHP API method please go to addProperties.
Description
Element definition
This element modifies the properties of the Word document.
With this method it is possible to modify/add the document:
- title
- subject
- author (creator)
- keywords
- description
- category
- contentStatus (final, draft...)
- created, modified
- lastModifiedBy
- revision
- manager
- company
- custom properties (name, type and value)
To modify the layout properties you should use modifyPageLayout element instead.
Attributes and sub-elements
Key | Description |
---|---|
title | The title of the document. |
subject | The subject of the document. |
creator | The document author or creator. |
keywords | A list of keywords that may be separated by any character you wish. |
description | The description of the document. |
category | The category to which you want to associate the document. |
manager | The name of the associated Manager. |
company | The company name. |
contentStatus | The current status of the document: final, draft, .... |
created | The created date (W3CDTF without time zone). |
modified | The modified date (W3CDTF without time zone). |
lastModifiedBy | The username that modified the document. |
revision | The revision number. |
custom | Custom properties. Each entry is composed by the name of the property and a value. |