XML API - pdx:setDefaultFont
- addBackgroundImage
- addFooter
- addHeader
- addLineNumbering
- addMacroFromDoc
- addPageBorders
- addProperties
- addSection
- createCharacterStyle
- createListStyle
- createParagraphStyle
- docxSettings
- importHeadersAndFooters
- importListStyle
- importStyles
- modifyPageLayout
- parseStyles
- removeFooters
- removeHeaders
- setBackgroundColor
- setDefaultFont
- setDocumentDefaultStyles
- setEncodeUTF8
- setLanguage
- setMarkAsFinal
- addBookmark
- addBreak
- addChart
- addComment
- addCrossReference
- addDateAndHour
- addEndnote
- addExternalFile
- addFootnote
- addFormElement
- addHeading
- addImage
- addLink
- addList
- addMathEquation
- addMergeField
- addOnlineVideo
- addPageNumber
- addShape
- addSimpleField
- addStructuredDocumentTag
- addTable
- addTableContents
- addTableFigures
- addText
- addTextBox
- addWordML
- embedHTML
- clearBlocks
- deleteBlock
- modifyInputFields
- processTemplate
- rawSearchAndReplace
- removeTemplateVariable
- replaceListVariable
- replacePlaceholderImage
- replaceTableVariable
- replaceVariableByExternalFile
- replaceVariableByHtml
- replaceVariableByText
- replaceVariableByWordFragment
- replaceVariableByWordML
- setTemplateSymbol
- setTemplateBlockSymbol
pdx:setDefaultFont
Sets the default font for the whole Word document.
Note
You are reading the XML API documentation. For the PHP API method please go to setDefaultFont.
                            
                            Description
                        
                    Element definition
This element sets the font that will be used by default.
This value may be overridden by elements that have the specific font option available.
                            
                            Attributes and sub-elements
                        
                    value
The name of the font: Arial, Futura, Calibri...
The font is not embedded within the Word document so make sure to use fonts that will be available to your target audience or the font is embedded in the base template.
 
                 Log in
                                    Log in
                                 Contact
                                Contact
                             Forum
                                Forum
                            
 
                                