docxSettings
- addBackgroundImage
- addFooter
- addHeader
- addLineNumbering
- addPageBorders
- addProperties
- addSection
- createDocx
- createCharacterStyle
- createListStyle
- createParagraphStyle
- createTableStyle
- docxSettings
- embedFont
- importHeadersAndFooters
- importStyles
- modifyPageLayout
- removeFooters
- removeHeaders
- setBackgroundColor
- setDefaultFont
- setDocumentDefaultStyles
- setEncodeUTF8
- setLanguage
- setMarkAsFinal
- setRTL
- addBibliography
- addBookmark
- addBreak
- addChart
- addCitation
- addComment
- addCrossReference
- addDateAndHour
- addEndnote
- addExternalFile
- addFootnote
- addFormElement
- addHeading
- addImage
- addLink
- addList
- addMathEquation
- addMergeField
- addOLE
- addPageNumber
- addShape
- addSimpleField
- addSource
- addStructuredDocumentTag
- addTable
- addTableContents
- addText
- addTextBox
- addWordML
- embedHTML
- clearBlocks
- deleteTemplateBlock
- getTemplateVariables
- getTemplateVariablesType
- modifyInputFields
- modifyMergeFields
- processTemplate
- removeTemplateVariable
- replaceListVariable
- replacePlaceholderImage
- replaceTableVariable
- replaceVariableByExternalFile
- replaceVariableByHtml
- replaceVariableByText
- replaceVariableByWordFragment
- replaceVariableByWordML
- setTemplateSymbol
- tickCheckbox
docxSettings
BASIC / ADVANCED / PREMIUM
Modifies the general Word settings.
Description
public void docxSettings(OptionsDocxSettings settingParameters)
With the help of this method you can set, among many others:
- The way the Word document will print.
- The view mode and zoom of the Word document at opening.
- To hide or show grammatical and/or spelling errors.
- To track or not revisions.
- The document type.
- Hyphenation settings.
- Default table style and tab positioning.
- Etcetera.
Parameters
settingParameters
Option | Type | Description |
---|---|---|
autoHyphenation | Boolean | |
bookFoldPrinting | Boolean | |
bookFoldPrintingSheets | Integer | Number of pages per booklet. |
bookFoldRevPrinting | Boolean | |
bordersDoNotSurroundFooter | Boolean | |
bordersDoNotSurroundHeader | Boolean | |
consecutiveHyphenLimit | Integer | Maximum number of consecutively hyphenated lines. |
defaultTabStop | Integer | In twips (twentieths of a point). |
defaultTableStyle | String | The table style to be used by default. |
documentType | String | notSpecified (default), letter, eMail. |
doNotHyphenateCaps | Boolean | Do not hyphenate capital letters. |
doNotShadeFormData | Boolean | |
gutterAtTop | Boolean | |
hideSpellingErrors | Boolean | |
hideGrammaticalErrors | Boolean | |
hyphenationZone | Integer | Distance in twips (twentieths of a point). |
mirrorMargins | Boolean | If true interchanges inside and outside margins in odd and even pages. |
noPunctuationKerning | Boolean | Never kern punctuation characters. |
printTwoOnOne | bool | Print two pages per sheet. |
savePreviewPicture | Boolean | Generate thumbnail for document on save. |
trackRevisions | Boolean | |
updateFields | Boolean | Automatically recalculate fields on open. |
view | String | none (default), print, outline, masterPages, normal (draft view), web. |
zoom | String | A percentage or none, fullPage (display one full page), bestFit (display page width), textFit (display text width). |