JavaScript API documentation
- Learn phpdocx in 5 minutes
- Tutorial
- API quick guide
- HTML to Word
- HTML Extended
- Conversion plugin
- Word to HTML
- DOCXPath
- Bulk processing
- DOCXCustomizer
- Digital signature
- Cryptophpdocx
- Right to left languages
- phpdocx CLI command
- Tracking
- Artificial Intelligence
- Blockchain for documents
- JavaScript API
- Compiled mode
JavaScript API documentation
Please refer to Introduction JavaScript API to learn more about this feature available in Premium licenses.
-
addBookmark
Adds bookmark
-
addBreak
Adds break
-
addComment
Adds comment
-
addCrossReference
Adds cross-reference
-
addDateTime
Adds date and time
-
addEndnote
Adds endnote
-
addExternalFile
Adds external file
-
addFootnote
Adds footnote
-
addFormElement
Adds form element
-
addImage
Adds image
-
addLink
Adds link
-
addList
Adds list
-
addMergeField
Adds merge field
-
addPageNumber
Adds page number
-
addSimpleField
Adds simple field
-
addStructuredDocumentTag
Adds structured document tag
-
addSvg
Adds SVG
-
addTable
Adds table
-
addTab
Adds tab
-
addTableOfContents
Adds table of contents
-
addTableOfFigures
Adds table of figures
-
addText
Adds text
-
addWordFragment
Adds WordFragment
-
addWordMl
Adds WordML
-
addBackgroundImage
Adds background image
-
addFooter
Adds footer
-
addHeader
Adds header
-
addSection
Adds section
-
modifySectionLayout
Modifies section layout
-
setBackgroundColor
Sets background color
-
setRtl
Sets RTL
-
addProperties
Adds properties
-
docxSettings
Sets docx settings
-
createCharacterStyle
Creates character style
-
createListStyle
Creates list style
-
createParagraphStyle
Creates paragraph style
-
getTemplateSymbols
Gets template symbols
-
getTemplateVariables
Gets template variables
-
openTemplate
Opens a DOCX template
-
processTemplate
Processes the template to repair all variables
-
removeVariableImage
Removes image variables
-
removeVariableText
Removes text variables
-
replaceVariableCheckbox
Replaces checkbox variables
-
replaceVariableExternalFile
Replaces text variables with external files
-
replaceVariableImage
Replaces image variables
-
replaceVariableInputField
Replaces input field variables
-
replaceVariableList
Replaces list variables
-
replaceVariableTable
Replaces table variables
-
replaceVariableText
Replaces text variables with text contents
-
replaceVariableWordFragment
Replaces text variables with WordFragments
-
replaceVariableWordMl
Replaces text variables with WordML
-
setTemplateSymbols
Sets template symbols
-
convertMeasuringUnit
Converts measuring unit
-
save
Saves a DOCX