CompatibilityOptions
Overview
CompatibilityOptions is a class in Aspose.Words FOSS for Java.
Inherits from: Cloneable.
Contains compatibility options (that is, the user preferences entered on the Compatibility tab of the Options dialog in Microsoft Word).
Edition status of its 214 listed members (a property and its accessor methods are listed separately, overloads once): 214 not yet exercised by a verified example.
This class declares 143 methods for CompatibilityOptions objects in Java programs.
Available methods include: getAdjustLineHeightInTable, getAlignTablesRowByRow, getAllowSpaceOfSameStyleInTable, getApplyBreakingRules, getAutoSpaceLikeWord95, getAutofitToFirstFixedWidthCell, getBalanceSingleByteDoubleByteWidth, getCachedColBalance, getConvMailMergeEsc, getDisableOpenTypeFontFormattingFeatures, getDisplayHangulFixedWidth, getDoNotAutofitConstrainedTables, and 131 additional methods.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: adjustLineHeightInTable, alignTablesRowByRow, allowSpaceOfSameStyleInTable, applyBreakingRules, autoSpaceLikeWord95, autofitToFirstFixedWidthCell, and 65 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
noTabHangInd | boolean | Read/Write | Do Not Create Custom Tab Stop for Hanging Indent. |
noSpaceRaiseLower | boolean | Read/Write | Do Not Increase Line Height for Raised/Lowered Text. |
suppressSpBfAfterPgBrk | boolean | Read/Write | Do Not Use Space Before On First Line After a Page Break. |
wrapTrailSpaces | boolean | Read/Write | Line Wrap Trailing Spaces. |
printColBlack | boolean | Read/Write | Print Colors as Black And White without Dithering. |
noColumnBalance | boolean | Read/Write | Do Not Balance Text Columns within a Section. |
convMailMergeEsc | boolean | Read/Write | Treat Backslash Quotation Delimiter as Two Quotation Marks. |
suppressTopSpacing | boolean | Read/Write | Ignore Minimum and Exact Line Height for First Line on Page. |
useSingleBorderforContiguousCells | boolean | Read/Write | Use Simplified Rules For Table Border Conflicts. |
transparentMetafiles | boolean | Read/Write | Specifies not to blank the area behind metafile pictures. |
showBreaksInFrames | boolean | Read/Write | Display Page/Column Breaks Present in Frames. |
swapBordersFacingPgs | boolean | Read/Write | Swap Paragraph Borders on Odd Numbered Pages. |
doNotLeaveBackslashAlone | boolean | Read/Write | Convert Backslash To Yen Sign When Entered. |
doNotExpandShiftReturn | boolean | Read/Write | Don’t Justify Lines Ending in Soft Line Break. |
ulTrailSpace | boolean | Read/Write | Underline All Trailing Spaces. |
balanceSingleByteDoubleByteWidth | boolean | Read/Write | Balance Single Byte and Double Byte Characters. |
suppressSpacingAtTopOfPage | boolean | Read/Write | Ignore Minimum Line Height for First Line on Page. |
spacingInWholePoints | boolean | Read/Write | Only Expand/Condense Text By Whole Points. |
printBodyTextBeforeHeader | boolean | Read/Write | Print Body Text before Header/Footer Contents. |
noLeading | boolean | Read/Write | Do Not Add Leading Between Lines of Text. |
spaceForUL | boolean | Read/Write | Add Additional Space Below Baseline For Underlined East Asian Text. |
mWSmallCaps | boolean | Read/Write | Emulate Word 5.x for the Macintosh Small Caps Formatting. |
suppressTopSpacingWP | boolean | Read/Write | Emulate WordPerfect 5.x Line Spacing. |
truncateFontHeightsLikeWP6 | boolean | Read/Write | Emulate WordPerfect 6.x Font Height Calculation. |
subFontBySize | boolean | Read/Write | Increase Priority Of Font Size During Font Substitution. |
lineWrapLikeWord6 | boolean | Read/Write | Emulate Word 6.0 Line Wrapping for East Asian Text. |
doNotSuppressParagraphBorders | boolean | Read/Write | Do Not Suppress Paragraph Borders Next To Frames. |
noExtraLineSpacing | boolean | Read/Write | Do Not Center Content on Lines With Exact Line Height. |
suppressBottomSpacing | boolean | Read/Write | Ignore Exact Line Height for Last Line on Page. |
wPSpaceWidth | boolean | Read/Write | Specifies whether to set the width of a space as is done in WordPerfect 5.x. |
wPJustification | boolean | Read/Write | Emulate WordPerfect 6.x Paragraph Justification. |
usePrinterMetrics | boolean | Read/Write | Use Printer Metrics To Display Documents. |
shapeLayoutLikeWW8 | boolean | Read/Write | Emulate Word 97 Text Wrapping Around Floating Objects. |
footnoteLayoutLikeWW8 | boolean | Read/Write | Emulate Word 6.x/95/97 Footnote Placement. |
doNotUseHTMLParagraphAutoSpacing | boolean | Read/Write | Use Fixed Paragraph Spacing for HTML Auto Setting. |
adjustLineHeightInTable | boolean | Read/Write | Add Document Grid Line Pitch To Lines in Table Cells. |
forgetLastTabAlignment | boolean | Read/Write | Ignore Width of Last Tab Stop When Aligning Paragraph If It Is Not Left Aligned. |
autoSpaceLikeWord95 | boolean | Read/Write | Emulate Word 95 Full-Width Character Spacing. |
alignTablesRowByRow | boolean | Read/Write | Align Table Rows Independently. |
layoutRawTableWidth | boolean | Read/Write | Ignore Space Before Table When Deciding If Table Should Wrap Floating Object. |
layoutTableRowsApart | boolean | Read/Write | Allow Table Rows to Wrap Inline Objects Independently. |
useWord97LineBreakRules | boolean | Read/Write | Emulate Word 97 East Asian Line Breaking. |
doNotBreakWrappedTables | boolean | Read/Write | Do Not Allow Floating Tables To Break Across Pages. |
doNotSnapToGridInCell | boolean | Read/Write | Do Not Snap to Document Grid in Table Cells with Objects. |
selectFldWithFirstOrLastChar | boolean | Read/Write | Select Field When First or Last Character Is Selected. |
applyBreakingRules | boolean | Read/Write | Use Legacy Ethiopic and Amharic Line Breaking Rules. |
doNotWrapTextWithPunct | boolean | Read/Write | Do Not Allow Hanging Punctuation With Character Grid. |
doNotUseEastAsianBreakRules | boolean | Read/Write | Do Not Compress Compressible Characters When Using Document Grid. |
useWord2002TableStyleRules | boolean | Read/Write | Emulate Word 2002 Table Style Rules. |
growAutofit | boolean | Read/Write | Allow Tables to AutoFit Into Page Margins. |
useNormalStyleForList | boolean | Read/Write | Do Not Automatically Apply List Paragraph Style To Bulleted/Numbered Text. |
doNotUseIndentAsNumberingTabStop | boolean | Read/Write | Ignore Hanging Indent When Creating Tab Stop After Numbering. |
useAltKinsokuLineBreakRules | boolean | Read/Write | Use Alternate Set of East Asian Line Breaking Rules. |
allowSpaceOfSameStyleInTable | boolean | Read/Write | Allow Contextual Spacing of Paragraphs in Tables. |
doNotSuppressIndentation | boolean | Read/Write | Do Not Ignore Floating Objects When Calculating Paragraph Indentation. |
doNotAutofitConstrainedTables | boolean | Read/Write | Do Not AutoFit Tables To Fit Next To Wrapped Objects. |
autofitToFirstFixedWidthCell | boolean | Read/Write | Allow Table Columns To Exceed Preferred Widths of Constituent Cells. |
underlineTabInNumList | boolean | Read/Write | Underline Following Character Following Numbering. |
displayHangulFixedWidth | boolean | Read/Write | Always Use Fixed Width for Hangul Characters. |
splitPgBreakAndParaMark | boolean | Read/Write | Always Move Paragraph Mark to Page after a Page Break. |
doNotVertAlignCellWithSp | boolean | Read/Write | Don’t Vertically Align Cells Containing Floating Objects. |
doNotBreakConstrainedForcedTable | boolean | Read/Write | Don’t Break Table Rows Around Floating Tables. |
doNotVertAlignInTxbx | boolean | Read/Write | Ignore Vertical Alignment in Textboxes. |
useAnsiKerningPairs | boolean | Read/Write | Use ANSI Kerning Pairs from Fonts. |
cachedColBalance | boolean | Read/Write | Use Cached Paragraph Information for Column Balancing. |
useFELayout | boolean | Read/Write | Do Not Bypass East Asian/Complex Script Layout Code. |
overrideTableStyleFontSizeAndJustification | boolean | Read/Write | Specifies how the style hierarchy of the document is evaluated. |
disableOpenTypeFontFormattingFeatures | boolean | Read/Write | Specifies to disable OpenType font formatting features. |
swapInsideAndOutsideForMirrorIndentsAndRelativePositioning | boolean | Read/Write | Specifies to swap inside and outside for mirror indents and relative positioning. |
useWord2010TableStyleRules | boolean | Read/Write | Specifies to use Word2010 table style rules. |
uICompat97To2003 | boolean | Read/Write | True to disable UI functionality which is not compatible with Word97-2003. |
Methods
| Signature | Description |
|---|---|
optimizeFor(version: int) | Allows to optimize the document contents as well as default Aspose.Words behavior to a particular versions of MS Word. |
getNoTabHangInd() → boolean | Do Not Create Custom Tab Stop for Hanging Indent. |
setNoTabHangInd(value: boolean) | Sets the no tab hang ind value. |
getNoSpaceRaiseLower() → boolean | Do Not Increase Line Height for Raised/Lowered Text. |
setNoSpaceRaiseLower(value: boolean) | Sets the no space raise lower value. |
getSuppressSpBfAfterPgBrk() → boolean | Do Not Use Space Before On First Line After a Page Break. |
setSuppressSpBfAfterPgBrk(value: boolean) | Sets the suppress sp bf after pg brk value. |
getWrapTrailSpaces() → boolean | Line Wrap Trailing Spaces. |
setWrapTrailSpaces(value: boolean) | Sets the wrap trail spaces value. |
getPrintColBlack() → boolean | Print Colors as Black And White without Dithering. |
setPrintColBlack(value: boolean) | Sets the print col black value. |
getNoColumnBalance() → boolean | Do Not Balance Text Columns within a Section. |
setNoColumnBalance(value: boolean) | Sets the no column balance value. |
getConvMailMergeEsc() → boolean | Treat Backslash Quotation Delimiter as Two Quotation Marks. |
setConvMailMergeEsc(value: boolean) | Sets the conv mail merge esc value. |
getSuppressTopSpacing() → boolean | Ignore Minimum and Exact Line Height for First Line on Page. |
setSuppressTopSpacing(value: boolean) | Sets the suppress top spacing value. |
getUseSingleBorderforContiguousCells() → boolean | Use Simplified Rules For Table Border Conflicts. |
setUseSingleBorderforContiguousCells(value: boolean) | Sets the use single borderfor contiguous cells value. |
getTransparentMetafiles() → boolean | Specifies not to blank the area behind metafile pictures. |
setTransparentMetafiles(value: boolean) | Sets the transparent metafiles value. |
getShowBreaksInFrames() → boolean | Display Page/Column Breaks Present in Frames. |
setShowBreaksInFrames(value: boolean) | Sets the show breaks in frames value. |
getSwapBordersFacingPgs() → boolean | Swap Paragraph Borders on Odd Numbered Pages. |
setSwapBordersFacingPgs(value: boolean) | Sets the swap borders facing pgs value. |
getDoNotLeaveBackslashAlone() → boolean | Convert Backslash To Yen Sign When Entered. |
setDoNotLeaveBackslashAlone(value: boolean) | Sets the do not leave backslash alone value. |
getDoNotExpandShiftReturn() → boolean | Don’t Justify Lines Ending in Soft Line Break. |
setDoNotExpandShiftReturn(value: boolean) | Sets the do not expand shift return value. |
getUlTrailSpace() → boolean | Underline All Trailing Spaces. |
setUlTrailSpace(value: boolean) | Sets the ul trail space value. |
getBalanceSingleByteDoubleByteWidth() → boolean | Balance Single Byte and Double Byte Characters. |
setBalanceSingleByteDoubleByteWidth(value: boolean) | Sets the balance single byte double byte width value. |
getSuppressSpacingAtTopOfPage() → boolean | Ignore Minimum Line Height for First Line on Page. |
setSuppressSpacingAtTopOfPage(value: boolean) | Sets the suppress spacing at top of page value. |
getSpacingInWholePoints() → boolean | Only Expand/Condense Text By Whole Points. |
setSpacingInWholePoints(value: boolean) | Sets the spacing in whole points value. |
getPrintBodyTextBeforeHeader() → boolean | Print Body Text before Header/Footer Contents. |
setPrintBodyTextBeforeHeader(value: boolean) | Sets the print body text before header value. |
getNoLeading() → boolean | Do Not Add Leading Between Lines of Text. |
setNoLeading(value: boolean) | Sets the no leading value. |
getSpaceForUL() → boolean | Add Additional Space Below Baseline For Underlined East Asian Text. |
setSpaceForUL(value: boolean) | Sets the space for ul value. |
getMWSmallCaps() → boolean | Emulate Word 5.x for the Macintosh Small Caps Formatting. |
setMWSmallCaps(value: boolean) | Sets the mw small caps value. |
getSuppressTopSpacingWP() → boolean | Emulate WordPerfect 5.x Line Spacing. |
setSuppressTopSpacingWP(value: boolean) | Sets the suppress top spacing wp value. |
getTruncateFontHeightsLikeWP6() → boolean | Emulate WordPerfect 6.x Font Height Calculation. |
setTruncateFontHeightsLikeWP6(value: boolean) | Sets the truncate font heights like wp6 value. |
getSubFontBySize() → boolean | Increase Priority Of Font Size During Font Substitution. |
setSubFontBySize(value: boolean) | Sets the sub font by size value. |
getLineWrapLikeWord6() → boolean | Emulate Word 6.0 Line Wrapping for East Asian Text. |
setLineWrapLikeWord6(value: boolean) | Sets the line wrap like word6 value. |
getDoNotSuppressParagraphBorders() → boolean | Do Not Suppress Paragraph Borders Next To Frames. |
setDoNotSuppressParagraphBorders(value: boolean) | Sets the do not suppress paragraph borders value. |
getNoExtraLineSpacing() → boolean | Do Not Center Content on Lines With Exact Line Height. |
setNoExtraLineSpacing(value: boolean) | Sets the no extra line spacing value. |
getSuppressBottomSpacing() → boolean | Ignore Exact Line Height for Last Line on Page. |
setSuppressBottomSpacing(value: boolean) | Sets the suppress bottom spacing value. |
getWPSpaceWidth() → boolean | Specifies whether to set the width of a space as is done in WordPerfect 5.x. |
setWPSpaceWidth(value: boolean) | Sets the wp space width value. |
getWPJustification() → boolean | Emulate WordPerfect 6.x Paragraph Justification. |
setWPJustification(value: boolean) | Sets the wp justification value. |
getUsePrinterMetrics() → boolean | Use Printer Metrics To Display Documents. |
setUsePrinterMetrics(value: boolean) | Sets the use printer metrics value. |
getShapeLayoutLikeWW8() → boolean | Emulate Word 97 Text Wrapping Around Floating Objects. |
setShapeLayoutLikeWW8(value: boolean) | Sets the shape layout like ww8 value. |
getFootnoteLayoutLikeWW8() → boolean | Emulate Word 6.x/95/97 Footnote Placement. |
setFootnoteLayoutLikeWW8(value: boolean) | Sets the footnote layout like ww8 value. |
getDoNotUseHTMLParagraphAutoSpacing() → boolean | Use Fixed Paragraph Spacing for HTML Auto Setting. |
setDoNotUseHTMLParagraphAutoSpacing(value: boolean) | Sets the do not use html paragraph auto spacing value. |
getAdjustLineHeightInTable() → boolean | Add Document Grid Line Pitch To Lines in Table Cells. |
setAdjustLineHeightInTable(value: boolean) | Sets the adjust line height in table value. |
getForgetLastTabAlignment() → boolean | Ignore Width of Last Tab Stop When Aligning Paragraph If It Is Not Left Aligned. |
setForgetLastTabAlignment(value: boolean) | Sets the forget last tab alignment value. |
getAutoSpaceLikeWord95() → boolean | Emulate Word 95 Full-Width Character Spacing. |
setAutoSpaceLikeWord95(value: boolean) | Sets the auto space like word95 value. |
getAlignTablesRowByRow() → boolean | Align Table Rows Independently. |
setAlignTablesRowByRow(value: boolean) | Sets the align tables row by row value. |
getLayoutRawTableWidth() → boolean | Ignore Space Before Table When Deciding If Table Should Wrap Floating Object. |
setLayoutRawTableWidth(value: boolean) | Sets the layout raw table width value. |
getLayoutTableRowsApart() → boolean | Allow Table Rows to Wrap Inline Objects Independently. |
setLayoutTableRowsApart(value: boolean) | Sets the layout table rows apart value. |
getUseWord97LineBreakRules() → boolean | Emulate Word 97 East Asian Line Breaking. |
setUseWord97LineBreakRules(value: boolean) | Sets the use word97 line break rules value. |
getDoNotBreakWrappedTables() → boolean | Do Not Allow Floating Tables To Break Across Pages. |
setDoNotBreakWrappedTables(value: boolean) | Sets the do not break wrapped tables value. |
getDoNotSnapToGridInCell() → boolean | Do Not Snap to Document Grid in Table Cells with Objects. |
setDoNotSnapToGridInCell(value: boolean) | Sets the do not snap to grid in cell value. |
getSelectFldWithFirstOrLastChar() → boolean | Select Field When First or Last Character Is Selected. |
setSelectFldWithFirstOrLastChar(value: boolean) | Sets the select fld with first or last char value. |
getApplyBreakingRules() → boolean | Use Legacy Ethiopic and Amharic Line Breaking Rules. |
setApplyBreakingRules(value: boolean) | Sets the apply breaking rules value. |
getDoNotWrapTextWithPunct() → boolean | Do Not Allow Hanging Punctuation With Character Grid. |
setDoNotWrapTextWithPunct(value: boolean) | Sets the do not wrap text with punct value. |
getDoNotUseEastAsianBreakRules() → boolean | Do Not Compress Compressible Characters When Using Document Grid. |
setDoNotUseEastAsianBreakRules(value: boolean) | Sets the do not use east asian break rules value. |
getUseWord2002TableStyleRules() → boolean | Emulate Word 2002 Table Style Rules. |
setUseWord2002TableStyleRules(value: boolean) | Sets the use word2002 table style rules value. |
getGrowAutofit() → boolean | Allow Tables to AutoFit Into Page Margins. |
setGrowAutofit(value: boolean) | Sets the grow autofit value. |
getUseNormalStyleForList() → boolean | Do Not Automatically Apply List Paragraph Style To Bulleted/Numbered Text. |
setUseNormalStyleForList(value: boolean) | Sets the use normal style for list value. |
getDoNotUseIndentAsNumberingTabStop() → boolean | Ignore Hanging Indent When Creating Tab Stop After Numbering. |
setDoNotUseIndentAsNumberingTabStop(value: boolean) | Sets the do not use indent as numbering tab stop value. |
getUseAltKinsokuLineBreakRules() → boolean | Use Alternate Set of East Asian Line Breaking Rules. |
setUseAltKinsokuLineBreakRules(value: boolean) | Sets the use alt kinsoku line break rules value. |
getAllowSpaceOfSameStyleInTable() → boolean | Allow Contextual Spacing of Paragraphs in Tables. |
setAllowSpaceOfSameStyleInTable(value: boolean) | Sets the allow space of same style in table value. |
getDoNotSuppressIndentation() → boolean | Do Not Ignore Floating Objects When Calculating Paragraph Indentation. |
setDoNotSuppressIndentation(value: boolean) | Sets the do not suppress indentation value. |
getDoNotAutofitConstrainedTables() → boolean | Do Not AutoFit Tables To Fit Next To Wrapped Objects. |
setDoNotAutofitConstrainedTables(value: boolean) | Sets the do not autofit constrained tables value. |
getAutofitToFirstFixedWidthCell() → boolean | Allow Table Columns To Exceed Preferred Widths of Constituent Cells. |
setAutofitToFirstFixedWidthCell(value: boolean) | Sets the autofit to first fixed width cell value. |
getUnderlineTabInNumList() → boolean | Underline Following Character Following Numbering. |
setUnderlineTabInNumList(value: boolean) | Sets the underline tab in num list value. |
getDisplayHangulFixedWidth() → boolean | Always Use Fixed Width for Hangul Characters. |
setDisplayHangulFixedWidth(value: boolean) | Sets the display hangul fixed width value. |
getSplitPgBreakAndParaMark() → boolean | Always Move Paragraph Mark to Page after a Page Break. |
setSplitPgBreakAndParaMark(value: boolean) | Sets the split pg break and para mark value. |
getDoNotVertAlignCellWithSp() → boolean | Don’t Vertically Align Cells Containing Floating Objects. |
setDoNotVertAlignCellWithSp(value: boolean) | Sets the do not vert align cell with sp value. |
getDoNotBreakConstrainedForcedTable() → boolean | Don’t Break Table Rows Around Floating Tables. |
setDoNotBreakConstrainedForcedTable(value: boolean) | Sets the do not break constrained forced table value. |
getDoNotVertAlignInTxbx() → boolean | Ignore Vertical Alignment in Textboxes. |
setDoNotVertAlignInTxbx(value: boolean) | Sets the do not vert align in txbx value. |
getUseAnsiKerningPairs() → boolean | Use ANSI Kerning Pairs from Fonts. |
setUseAnsiKerningPairs(value: boolean) | Sets the use ansi kerning pairs value. |
getCachedColBalance() → boolean | Use Cached Paragraph Information for Column Balancing. |
setCachedColBalance(value: boolean) | Sets the cached col balance value. |
getUseFELayout() → boolean | Do Not Bypass East Asian/Complex Script Layout Code. |
setUseFELayout(value: boolean) | Sets the use fe layout value. |
getOverrideTableStyleFontSizeAndJustification() → boolean | Specifies how the style hierarchy of the document is evaluated. |
setOverrideTableStyleFontSizeAndJustification(value: boolean) | Sets the override table style font size and justification value. |
getDisableOpenTypeFontFormattingFeatures() → boolean | Specifies to disable OpenType font formatting features. |
setDisableOpenTypeFontFormattingFeatures(value: boolean) | Sets the disable open type font formatting features value. |
getSwapInsideAndOutsideForMirrorIndentsAndRelativePositioning() → boolean | Specifies to swap inside and outside for mirror indents and relative positioning. |
setSwapInsideAndOutsideForMirrorIndentsAndRelativePositioning(value: boolean) | Sets the swap inside and outside for mirror indents and relative positioning value. |
getUseWord2010TableStyleRules() → boolean | Specifies to use Word2010 table style rules. |
setUseWord2010TableStyleRules(value: boolean) | Sets the use word2010 table style rules value. |
getUICompat97To2003() → boolean | True to disable UI functionality which is not compatible with Word97-2003. |
setUICompat97To2003(value: boolean) | Sets the ui compat97 to2003 value. |