JSON API - addProperties
- addBarcode
- addBookmark
- addBreak
- addCaption
- addChart
- addComment
- addCrossReference
- addDateAndHour
- addDropCap
- addEndnote
- addExternalFile
- addFootnote
- addFormElement
- addHeading
- addImage
- addLink
- addList
- addMathEquation
- addMergeField
- addPageNumber
- addRuby
- addSimpleField
- addStructuredDocumentTag
- addSVG
- addTab
- addTable
- addTableContents
- addTableFigures
- addText
- addTextBox
- addWordML
- addWordFragment
- embedHTML
- addBackgroundImage
- addFooter
- addFooterSection
- addHeader
- addHeaderSection
- addLineNumbering
- addPageBorders
- addProperties
- addSection
- createCharacterStyle
- createListStyle
- createParagraphStyle
- createTableStyle
- docxSettings
- embedFont
- modifyPageLayout
- removeFooters
- removeHeaders
- setBackgroundColor
- setCompatibilityMode
- setDefaultFont
- setDocumentDefaultStyles
- setLanguage
- setMarkAsFinal
- setRTL
- clearBlocks
- cloneBlock
- deleteBlock
- getTemplateVariables
- getTemplateVariablesType
- modifyInputFields
- modifyMergeFields
- processTemplate
- removeTemplateVariable
- removeTemplateVariableImage
- replaceBlock
- replaceListVariable
- replacePlaceholderImage
- replaceTableVariable
- replaceVariableByExternalFile
- replaceVariableByHTML
- replaceVariableByText
- replaceVariableByWordFragment
- replaceVariableByWordML
- setTemplateSymbol
- setTemplateBlockSymbol
- tickCheckboxes
addProperties
PREMIUM
TRIAL / ADVANCED
Modifies the document properties.
Note
You are reading the JSON API documentation. For the PHP API method please go to addProperties.
JSON data
| 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 | An object of custom properties. Each entry is composed by the name of the property as key and a value that is itself an object with the type and actual value of the variable. |
Code samples
Example #1
Release notes
- phpdocx 18.0:
- new action.
