Api documentation
Api documentation
You will find in this section a complete list of the methods included in the latest version of the Javadocx library.
Here we include a brief description of each method for your convenience:
-
addBackgroundImage
Inserts a background image into the Word document
-
addFooter
Inserts footers into the Word document
-
addHeader
Inserts headers into the Word document
-
addLineNumbering
Sets the line numbering configuration of the current Word document
-
addPageBorders
Inserts page borders into the Word document
-
addProperties
Modifies the properties of the Word document
-
addSection
Adds a new section to the Word document
-
createDocx
Creates the DOCX document
-
createCharacterStyle
Creates a character style to be used in combination with the addText method
-
createListStyle
Creates a custom list style
-
createParagraphStyle
Creates a paragraph style
-
createTableStyle
Creates a table style
-
docxSettings
Overwrites the general settings of the current Word document
-
embedFont
Embeds a font in a Word document
-
importHeadersAndFooters
Imports headers and footers from an external Word document
-
importStyles
Imports Word styles from an external Word document
-
modifyPageLayout
Modifies the layout properties of the Word document
-
removeFooters
Removes footers into the Word document
-
removeHeaders
Removes headers into the Word document
-
setBackgroundColor
Sets background color of the Word document
-
setDefaultFont
Sets the default font for the whole Word document
-
setDocumentDefaultStyles
Sets the default styles for the whole Word document
-
setLanguage
Sets the default language of the Word document
-
setMarkAsFinal
Marks the resulting Word document as final
-
setRTL
Sets the global right to left language properties of the current Word document
-
addBibliography
Inserts a bibliography into the Word document
-
addBookmark
Inserts a bookmarks into the Word document
-
addBreak
Inserts a line/column/page break into the Word document
-
addChart
Inserts a chart into the Word document
-
addCitation
Adds a citation into the Word document
-
addComment
Adds a Word comment to the current Word document
-
addCrossReference
Inserts a cross-reference into the Word document
-
addDateAndHour
Allows to insert the current date and/or hour in different formats
-
addEndnote
Inserts an endnote into the Word document
-
addExternalFile
Adds an external DOCX, HTML, MHT, RTF or TXT file
-
addFootnote
Inserts a footnote into the Word document
-
addFormElement
Inserts form elements into the Word document
-
addHeading
Inserts a heading into the Word document
-
addImage
Inserts an image into the Word document
-
addLink
Inserts a link into the Word document
-
addList
Inserts (nested) lists into the Word document
-
addMathEquation
Inserts a math equation in OMML or MathML format
-
addMergeField
Adds a merge field to the Word document
-
addOLE
Adds an OLE file
-
addPageNumber
Inserts the current page number into the Word document
-
addShape
Inserts different types of shapes into a Word document
-
addSimpleField
Adds a simple field to your Word document
-
addSource
Adds a source into the Word document
-
addStructuredDocumentTag
Inserts different types of Structured Document Tags into the Word document
-
addTable
Inserts a table into a Word document
-
addTableContents
Inserts a Table of Contents (TOC) into the Word document
-
addText
Inserts a paragraph into a Word document
-
addTextBox
Inserts a Text Box in the Word document
-
addWordML
Inserts raw WordML code into the Word document
-
embedHTML
Inserts HTML content into the Word document
-
clearBlocks
Removes remaining BLOCK type variables from the Word document
-
deleteTemplateBlock
Deletes a block of content from the Word template
-
getTemplateVariables
Returns the template placeholder variables as an array
-
getTemplateVariablesType
Returns the template variables and their types
-
modifyInputFields
Modifies the values of the Word template input fields
-
modifyMergeFields
Modifies the values of the Word template merge fields
-
processTemplate
Processes the template to repair all listed variables
-
removeTemplateVariable
Removes a template variable with its container paragraph
-
replaceListVariable
Replaces a single variable within a list by a list of items
-
replacePlaceholderImage
Replaces a placeholder image by an external image
-
replaceTableVariable
Replaces a single variable by a 'table set of rows'
-
replaceVariableByExternalFile
Replaces an array of variables by external files
-
replaceVariableByHTML
Replaces a template variable with WordML obtained from HTML via the embed method
-
replaceVariableByText
Replaces an array of variables by their values
-
replaceVariableByWordFragment
Replaces an array of variables by Word Fragments
-
replaceVariableByWordML
Replaces an array of variables by plain WordML
-
setTemplateSymbol
Sets a custom symbol to wrap Javadocx template variables
-
tickCheckbox
Ticks or unticks a Word template checkbox
-
transformDocument
Transforms DOCX documents into PDF
-
transformOMMLToMathML
Transforms OMML (Office MathML) equations to MathML
-
cloneBlock
Clones blocks in the document
-
cloneWordContent
Clones existing elements in the document
-
getDOCXPathQueryInfo
Gets information from a performed DOCXPath query
-
getWordContents
Returns text contents of existing elements in the document
-
insertWordFragment
Inserts existing elements in the document
-
moveWordContent
Moves existing elements in the document
-
removeWordContent
Removes existing elements in the document
-
replaceWordContent
Replaces existing elements by a WordFragment
-
mergeDocx
Merges two or more Word documents
-
mergeDocxAt
Merges two or more Word documents after a specific position
-
parseCheckboxes
Parses and ticks or unticks the checboxes included in a Word document
-
removeChapter
Removes a whole chapter from a Word document
-
setLineNumbering
Modifies the line numbering properties of an existing Word document
-
watermarkDocx
Inserts a watermark into a Word document
-
watermarkRemove
Removes watermarks from a Word document
-
removeSection
Removes a section and its contents
-
mergePDF
Merges two or more PDF documents
-
removePagesPDF
Removes pages in PDF documents
-
splitPDF
Splits PDF documents
-
watermarkPDF
Inserts a watermark into a PDF document
-
customizeWordContent
Changes DOCX styles on the fly of new documents and templates
-
indexer
Parses DOCX documents and return their contents (body, images, links, comments, headers...)
-
stream
Loads templates from streams and generates a DOCX stream without saving the document to the file system
-
encryptPDF
Encrypts a PDF file