CompatibilityOptions

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

NameTypeAccessDescription
noTabHangIndbooleanRead/WriteDo Not Create Custom Tab Stop for Hanging Indent.
noSpaceRaiseLowerbooleanRead/WriteDo Not Increase Line Height for Raised/Lowered Text.
suppressSpBfAfterPgBrkbooleanRead/WriteDo Not Use Space Before On First Line After a Page Break.
wrapTrailSpacesbooleanRead/WriteLine Wrap Trailing Spaces.
printColBlackbooleanRead/WritePrint Colors as Black And White without Dithering.
noColumnBalancebooleanRead/WriteDo Not Balance Text Columns within a Section.
convMailMergeEscbooleanRead/WriteTreat Backslash Quotation Delimiter as Two Quotation Marks.
suppressTopSpacingbooleanRead/WriteIgnore Minimum and Exact Line Height for First Line on Page.
useSingleBorderforContiguousCellsbooleanRead/WriteUse Simplified Rules For Table Border Conflicts.
transparentMetafilesbooleanRead/WriteSpecifies not to blank the area behind metafile pictures.
showBreaksInFramesbooleanRead/WriteDisplay Page/Column Breaks Present in Frames.
swapBordersFacingPgsbooleanRead/WriteSwap Paragraph Borders on Odd Numbered Pages.
doNotLeaveBackslashAlonebooleanRead/WriteConvert Backslash To Yen Sign When Entered.
doNotExpandShiftReturnbooleanRead/WriteDon’t Justify Lines Ending in Soft Line Break.
ulTrailSpacebooleanRead/WriteUnderline All Trailing Spaces.
balanceSingleByteDoubleByteWidthbooleanRead/WriteBalance Single Byte and Double Byte Characters.
suppressSpacingAtTopOfPagebooleanRead/WriteIgnore Minimum Line Height for First Line on Page.
spacingInWholePointsbooleanRead/WriteOnly Expand/Condense Text By Whole Points.
printBodyTextBeforeHeaderbooleanRead/WritePrint Body Text before Header/Footer Contents.
noLeadingbooleanRead/WriteDo Not Add Leading Between Lines of Text.
spaceForULbooleanRead/WriteAdd Additional Space Below Baseline For Underlined East Asian Text.
mWSmallCapsbooleanRead/WriteEmulate Word 5.x for the Macintosh Small Caps Formatting.
suppressTopSpacingWPbooleanRead/WriteEmulate WordPerfect 5.x Line Spacing.
truncateFontHeightsLikeWP6booleanRead/WriteEmulate WordPerfect 6.x Font Height Calculation.
subFontBySizebooleanRead/WriteIncrease Priority Of Font Size During Font Substitution.
lineWrapLikeWord6booleanRead/WriteEmulate Word 6.0 Line Wrapping for East Asian Text.
doNotSuppressParagraphBordersbooleanRead/WriteDo Not Suppress Paragraph Borders Next To Frames.
noExtraLineSpacingbooleanRead/WriteDo Not Center Content on Lines With Exact Line Height.
suppressBottomSpacingbooleanRead/WriteIgnore Exact Line Height for Last Line on Page.
wPSpaceWidthbooleanRead/WriteSpecifies whether to set the width of a space as is done in WordPerfect 5.x.
wPJustificationbooleanRead/WriteEmulate WordPerfect 6.x Paragraph Justification.
usePrinterMetricsbooleanRead/WriteUse Printer Metrics To Display Documents.
shapeLayoutLikeWW8booleanRead/WriteEmulate Word 97 Text Wrapping Around Floating Objects.
footnoteLayoutLikeWW8booleanRead/WriteEmulate Word 6.x/95/97 Footnote Placement.
doNotUseHTMLParagraphAutoSpacingbooleanRead/WriteUse Fixed Paragraph Spacing for HTML Auto Setting.
adjustLineHeightInTablebooleanRead/WriteAdd Document Grid Line Pitch To Lines in Table Cells.
forgetLastTabAlignmentbooleanRead/WriteIgnore Width of Last Tab Stop When Aligning Paragraph If It Is Not Left Aligned.
autoSpaceLikeWord95booleanRead/WriteEmulate Word 95 Full-Width Character Spacing.
alignTablesRowByRowbooleanRead/WriteAlign Table Rows Independently.
layoutRawTableWidthbooleanRead/WriteIgnore Space Before Table When Deciding If Table Should Wrap Floating Object.
layoutTableRowsApartbooleanRead/WriteAllow Table Rows to Wrap Inline Objects Independently.
useWord97LineBreakRulesbooleanRead/WriteEmulate Word 97 East Asian Line Breaking.
doNotBreakWrappedTablesbooleanRead/WriteDo Not Allow Floating Tables To Break Across Pages.
doNotSnapToGridInCellbooleanRead/WriteDo Not Snap to Document Grid in Table Cells with Objects.
selectFldWithFirstOrLastCharbooleanRead/WriteSelect Field When First or Last Character Is Selected.
applyBreakingRulesbooleanRead/WriteUse Legacy Ethiopic and Amharic Line Breaking Rules.
doNotWrapTextWithPunctbooleanRead/WriteDo Not Allow Hanging Punctuation With Character Grid.
doNotUseEastAsianBreakRulesbooleanRead/WriteDo Not Compress Compressible Characters When Using Document Grid.
useWord2002TableStyleRulesbooleanRead/WriteEmulate Word 2002 Table Style Rules.
growAutofitbooleanRead/WriteAllow Tables to AutoFit Into Page Margins.
useNormalStyleForListbooleanRead/WriteDo Not Automatically Apply List Paragraph Style To Bulleted/Numbered Text.
doNotUseIndentAsNumberingTabStopbooleanRead/WriteIgnore Hanging Indent When Creating Tab Stop After Numbering.
useAltKinsokuLineBreakRulesbooleanRead/WriteUse Alternate Set of East Asian Line Breaking Rules.
allowSpaceOfSameStyleInTablebooleanRead/WriteAllow Contextual Spacing of Paragraphs in Tables.
doNotSuppressIndentationbooleanRead/WriteDo Not Ignore Floating Objects When Calculating Paragraph Indentation.
doNotAutofitConstrainedTablesbooleanRead/WriteDo Not AutoFit Tables To Fit Next To Wrapped Objects.
autofitToFirstFixedWidthCellbooleanRead/WriteAllow Table Columns To Exceed Preferred Widths of Constituent Cells.
underlineTabInNumListbooleanRead/WriteUnderline Following Character Following Numbering.
displayHangulFixedWidthbooleanRead/WriteAlways Use Fixed Width for Hangul Characters.
splitPgBreakAndParaMarkbooleanRead/WriteAlways Move Paragraph Mark to Page after a Page Break.
doNotVertAlignCellWithSpbooleanRead/WriteDon’t Vertically Align Cells Containing Floating Objects.
doNotBreakConstrainedForcedTablebooleanRead/WriteDon’t Break Table Rows Around Floating Tables.
doNotVertAlignInTxbxbooleanRead/WriteIgnore Vertical Alignment in Textboxes.
useAnsiKerningPairsbooleanRead/WriteUse ANSI Kerning Pairs from Fonts.
cachedColBalancebooleanRead/WriteUse Cached Paragraph Information for Column Balancing.
useFELayoutbooleanRead/WriteDo Not Bypass East Asian/Complex Script Layout Code.
overrideTableStyleFontSizeAndJustificationbooleanRead/WriteSpecifies how the style hierarchy of the document is evaluated.
disableOpenTypeFontFormattingFeaturesbooleanRead/WriteSpecifies to disable OpenType font formatting features.
swapInsideAndOutsideForMirrorIndentsAndRelativePositioningbooleanRead/WriteSpecifies to swap inside and outside for mirror indents and relative positioning.
useWord2010TableStyleRulesbooleanRead/WriteSpecifies to use Word2010 table style rules.
uICompat97To2003booleanRead/WriteTrue to disable UI functionality which is not compatible with Word97-2003.

Methods

SignatureDescription
optimizeFor(version: int)Allows to optimize the document contents as well as default Aspose.Words behavior to a particular versions of MS Word.
getNoTabHangInd() → booleanDo Not Create Custom Tab Stop for Hanging Indent.
setNoTabHangInd(value: boolean)Sets the no tab hang ind value.
getNoSpaceRaiseLower() → booleanDo Not Increase Line Height for Raised/Lowered Text.
setNoSpaceRaiseLower(value: boolean)Sets the no space raise lower value.
getSuppressSpBfAfterPgBrk() → booleanDo Not Use Space Before On First Line After a Page Break.
setSuppressSpBfAfterPgBrk(value: boolean)Sets the suppress sp bf after pg brk value.
getWrapTrailSpaces() → booleanLine Wrap Trailing Spaces.
setWrapTrailSpaces(value: boolean)Sets the wrap trail spaces value.
getPrintColBlack() → booleanPrint Colors as Black And White without Dithering.
setPrintColBlack(value: boolean)Sets the print col black value.
getNoColumnBalance() → booleanDo Not Balance Text Columns within a Section.
setNoColumnBalance(value: boolean)Sets the no column balance value.
getConvMailMergeEsc() → booleanTreat Backslash Quotation Delimiter as Two Quotation Marks.
setConvMailMergeEsc(value: boolean)Sets the conv mail merge esc value.
getSuppressTopSpacing() → booleanIgnore Minimum and Exact Line Height for First Line on Page.
setSuppressTopSpacing(value: boolean)Sets the suppress top spacing value.
getUseSingleBorderforContiguousCells() → booleanUse Simplified Rules For Table Border Conflicts.
setUseSingleBorderforContiguousCells(value: boolean)Sets the use single borderfor contiguous cells value.
getTransparentMetafiles() → booleanSpecifies not to blank the area behind metafile pictures.
setTransparentMetafiles(value: boolean)Sets the transparent metafiles value.
getShowBreaksInFrames() → booleanDisplay Page/Column Breaks Present in Frames.
setShowBreaksInFrames(value: boolean)Sets the show breaks in frames value.
getSwapBordersFacingPgs() → booleanSwap Paragraph Borders on Odd Numbered Pages.
setSwapBordersFacingPgs(value: boolean)Sets the swap borders facing pgs value.
getDoNotLeaveBackslashAlone() → booleanConvert Backslash To Yen Sign When Entered.
setDoNotLeaveBackslashAlone(value: boolean)Sets the do not leave backslash alone value.
getDoNotExpandShiftReturn() → booleanDon’t Justify Lines Ending in Soft Line Break.
setDoNotExpandShiftReturn(value: boolean)Sets the do not expand shift return value.
getUlTrailSpace() → booleanUnderline All Trailing Spaces.
setUlTrailSpace(value: boolean)Sets the ul trail space value.
getBalanceSingleByteDoubleByteWidth() → booleanBalance Single Byte and Double Byte Characters.
setBalanceSingleByteDoubleByteWidth(value: boolean)Sets the balance single byte double byte width value.
getSuppressSpacingAtTopOfPage() → booleanIgnore Minimum Line Height for First Line on Page.
setSuppressSpacingAtTopOfPage(value: boolean)Sets the suppress spacing at top of page value.
getSpacingInWholePoints() → booleanOnly Expand/Condense Text By Whole Points.
setSpacingInWholePoints(value: boolean)Sets the spacing in whole points value.
getPrintBodyTextBeforeHeader() → booleanPrint Body Text before Header/Footer Contents.
setPrintBodyTextBeforeHeader(value: boolean)Sets the print body text before header value.
getNoLeading() → booleanDo Not Add Leading Between Lines of Text.
setNoLeading(value: boolean)Sets the no leading value.
getSpaceForUL() → booleanAdd Additional Space Below Baseline For Underlined East Asian Text.
setSpaceForUL(value: boolean)Sets the space for ul value.
getMWSmallCaps() → booleanEmulate Word 5.x for the Macintosh Small Caps Formatting.
setMWSmallCaps(value: boolean)Sets the mw small caps value.
getSuppressTopSpacingWP() → booleanEmulate WordPerfect 5.x Line Spacing.
setSuppressTopSpacingWP(value: boolean)Sets the suppress top spacing wp value.
getTruncateFontHeightsLikeWP6() → booleanEmulate WordPerfect 6.x Font Height Calculation.
setTruncateFontHeightsLikeWP6(value: boolean)Sets the truncate font heights like wp6 value.
getSubFontBySize() → booleanIncrease Priority Of Font Size During Font Substitution.
setSubFontBySize(value: boolean)Sets the sub font by size value.
getLineWrapLikeWord6() → booleanEmulate Word 6.0 Line Wrapping for East Asian Text.
setLineWrapLikeWord6(value: boolean)Sets the line wrap like word6 value.
getDoNotSuppressParagraphBorders() → booleanDo Not Suppress Paragraph Borders Next To Frames.
setDoNotSuppressParagraphBorders(value: boolean)Sets the do not suppress paragraph borders value.
getNoExtraLineSpacing() → booleanDo Not Center Content on Lines With Exact Line Height.
setNoExtraLineSpacing(value: boolean)Sets the no extra line spacing value.
getSuppressBottomSpacing() → booleanIgnore Exact Line Height for Last Line on Page.
setSuppressBottomSpacing(value: boolean)Sets the suppress bottom spacing value.
getWPSpaceWidth() → booleanSpecifies 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() → booleanEmulate WordPerfect 6.x Paragraph Justification.
setWPJustification(value: boolean)Sets the wp justification value.
getUsePrinterMetrics() → booleanUse Printer Metrics To Display Documents.
setUsePrinterMetrics(value: boolean)Sets the use printer metrics value.
getShapeLayoutLikeWW8() → booleanEmulate Word 97 Text Wrapping Around Floating Objects.
setShapeLayoutLikeWW8(value: boolean)Sets the shape layout like ww8 value.
getFootnoteLayoutLikeWW8() → booleanEmulate Word 6.x/95/97 Footnote Placement.
setFootnoteLayoutLikeWW8(value: boolean)Sets the footnote layout like ww8 value.
getDoNotUseHTMLParagraphAutoSpacing() → booleanUse Fixed Paragraph Spacing for HTML Auto Setting.
setDoNotUseHTMLParagraphAutoSpacing(value: boolean)Sets the do not use html paragraph auto spacing value.
getAdjustLineHeightInTable() → booleanAdd Document Grid Line Pitch To Lines in Table Cells.
setAdjustLineHeightInTable(value: boolean)Sets the adjust line height in table value.
getForgetLastTabAlignment() → booleanIgnore 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() → booleanEmulate Word 95 Full-Width Character Spacing.
setAutoSpaceLikeWord95(value: boolean)Sets the auto space like word95 value.
getAlignTablesRowByRow() → booleanAlign Table Rows Independently.
setAlignTablesRowByRow(value: boolean)Sets the align tables row by row value.
getLayoutRawTableWidth() → booleanIgnore Space Before Table When Deciding If Table Should Wrap Floating Object.
setLayoutRawTableWidth(value: boolean)Sets the layout raw table width value.
getLayoutTableRowsApart() → booleanAllow Table Rows to Wrap Inline Objects Independently.
setLayoutTableRowsApart(value: boolean)Sets the layout table rows apart value.
getUseWord97LineBreakRules() → booleanEmulate Word 97 East Asian Line Breaking.
setUseWord97LineBreakRules(value: boolean)Sets the use word97 line break rules value.
getDoNotBreakWrappedTables() → booleanDo Not Allow Floating Tables To Break Across Pages.
setDoNotBreakWrappedTables(value: boolean)Sets the do not break wrapped tables value.
getDoNotSnapToGridInCell() → booleanDo Not Snap to Document Grid in Table Cells with Objects.
setDoNotSnapToGridInCell(value: boolean)Sets the do not snap to grid in cell value.
getSelectFldWithFirstOrLastChar() → booleanSelect Field When First or Last Character Is Selected.
setSelectFldWithFirstOrLastChar(value: boolean)Sets the select fld with first or last char value.
getApplyBreakingRules() → booleanUse Legacy Ethiopic and Amharic Line Breaking Rules.
setApplyBreakingRules(value: boolean)Sets the apply breaking rules value.
getDoNotWrapTextWithPunct() → booleanDo Not Allow Hanging Punctuation With Character Grid.
setDoNotWrapTextWithPunct(value: boolean)Sets the do not wrap text with punct value.
getDoNotUseEastAsianBreakRules() → booleanDo Not Compress Compressible Characters When Using Document Grid.
setDoNotUseEastAsianBreakRules(value: boolean)Sets the do not use east asian break rules value.
getUseWord2002TableStyleRules() → booleanEmulate Word 2002 Table Style Rules.
setUseWord2002TableStyleRules(value: boolean)Sets the use word2002 table style rules value.
getGrowAutofit() → booleanAllow Tables to AutoFit Into Page Margins.
setGrowAutofit(value: boolean)Sets the grow autofit value.
getUseNormalStyleForList() → booleanDo Not Automatically Apply List Paragraph Style To Bulleted/Numbered Text.
setUseNormalStyleForList(value: boolean)Sets the use normal style for list value.
getDoNotUseIndentAsNumberingTabStop() → booleanIgnore Hanging Indent When Creating Tab Stop After Numbering.
setDoNotUseIndentAsNumberingTabStop(value: boolean)Sets the do not use indent as numbering tab stop value.
getUseAltKinsokuLineBreakRules() → booleanUse Alternate Set of East Asian Line Breaking Rules.
setUseAltKinsokuLineBreakRules(value: boolean)Sets the use alt kinsoku line break rules value.
getAllowSpaceOfSameStyleInTable() → booleanAllow Contextual Spacing of Paragraphs in Tables.
setAllowSpaceOfSameStyleInTable(value: boolean)Sets the allow space of same style in table value.
getDoNotSuppressIndentation() → booleanDo Not Ignore Floating Objects When Calculating Paragraph Indentation.
setDoNotSuppressIndentation(value: boolean)Sets the do not suppress indentation value.
getDoNotAutofitConstrainedTables() → booleanDo Not AutoFit Tables To Fit Next To Wrapped Objects.
setDoNotAutofitConstrainedTables(value: boolean)Sets the do not autofit constrained tables value.
getAutofitToFirstFixedWidthCell() → booleanAllow Table Columns To Exceed Preferred Widths of Constituent Cells.
setAutofitToFirstFixedWidthCell(value: boolean)Sets the autofit to first fixed width cell value.
getUnderlineTabInNumList() → booleanUnderline Following Character Following Numbering.
setUnderlineTabInNumList(value: boolean)Sets the underline tab in num list value.
getDisplayHangulFixedWidth() → booleanAlways Use Fixed Width for Hangul Characters.
setDisplayHangulFixedWidth(value: boolean)Sets the display hangul fixed width value.
getSplitPgBreakAndParaMark() → booleanAlways Move Paragraph Mark to Page after a Page Break.
setSplitPgBreakAndParaMark(value: boolean)Sets the split pg break and para mark value.
getDoNotVertAlignCellWithSp() → booleanDon’t Vertically Align Cells Containing Floating Objects.
setDoNotVertAlignCellWithSp(value: boolean)Sets the do not vert align cell with sp value.
getDoNotBreakConstrainedForcedTable() → booleanDon’t Break Table Rows Around Floating Tables.
setDoNotBreakConstrainedForcedTable(value: boolean)Sets the do not break constrained forced table value.
getDoNotVertAlignInTxbx() → booleanIgnore Vertical Alignment in Textboxes.
setDoNotVertAlignInTxbx(value: boolean)Sets the do not vert align in txbx value.
getUseAnsiKerningPairs() → booleanUse ANSI Kerning Pairs from Fonts.
setUseAnsiKerningPairs(value: boolean)Sets the use ansi kerning pairs value.
getCachedColBalance() → booleanUse Cached Paragraph Information for Column Balancing.
setCachedColBalance(value: boolean)Sets the cached col balance value.
getUseFELayout() → booleanDo Not Bypass East Asian/Complex Script Layout Code.
setUseFELayout(value: boolean)Sets the use fe layout value.
getOverrideTableStyleFontSizeAndJustification() → booleanSpecifies how the style hierarchy of the document is evaluated.
setOverrideTableStyleFontSizeAndJustification(value: boolean)Sets the override table style font size and justification value.
getDisableOpenTypeFontFormattingFeatures() → booleanSpecifies to disable OpenType font formatting features.
setDisableOpenTypeFontFormattingFeatures(value: boolean)Sets the disable open type font formatting features value.
getSwapInsideAndOutsideForMirrorIndentsAndRelativePositioning() → booleanSpecifies 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() → booleanSpecifies to use Word2010 table style rules.
setUseWord2010TableStyleRules(value: boolean)Sets the use word2010 table style rules value.
getUICompat97To2003() → booleanTrue to disable UI functionality which is not compatible with Word97-2003.
setUICompat97To2003(value: boolean)Sets the ui compat97 to2003 value.

See Also