JSON API - getDocxPathQueryInfo
- 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
getDocxPathQueryInfo
PREMIUM
TRIAL / ADVANCED
Gets information from a performed DOCXPath query.
Note
You are reading the JSON API documentation. For the PHP API method please go to getDocxPathQueryInfo.
JSON data
| Key | Description |
|---|---|
| referenceNode | Reference node cloned. |
| type |
|
| contains | Contains a text string. |
| occurrence |
|
| attributes | Contains a specific attribute key and value. |
| parent | Main document body as default, allows to set any parent or a specific one. w:body (default), "/" (any parent) or any other specific parent (/w:tbl/, /w:tc/, /w:r/...). |
| target |
|
| reference | To be used with header and footer targets: positions (array) 1, 2... based on the sectPr contents order, sections (array) 1, 2..., types (array) first, even, default |
| customQuery | Custom xpath query, overwrites any other reference. |
Code samples
Example #1
Release notes
- phpdocx 18.0:
- new action.
