- 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:addProperties
Modifies the document properties.
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 and
- 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's 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 we 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. |