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
-
addDateTime
Adds date and time
-
addExternalFile
Adds external file
-
addImage
Adds image
-
addLink
Adds link
-
addList
Adds list
-
addPageNumber
Adds page number
-
addTable
Adds table
-
addTableContents
Adds table of contents
-
addText
Adds text
-
addWordFragment
Adds WordFragment
-
addWordMl
Adds WordML
-
addFooter
Adds footer
-
addHeader
Adds header
-
addSection
Adds section
-
modifySectionLayout
Modifies section layout
-
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
-
replaceVariableExternalFile
Replaces text variables with external files
-
replaceVariableImage
Replaces image 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