CompatibilityOptions

CompatibilityOptions

Overview

CompatibilityOptions is a class in Aspose.Words FOSS for .NET.

Contains compatibility options (that is, the user preferences entered on the Compatibility tab of the Options dialog in Microsoft Word).

This class provides 1 method for working with CompatibilityOptions objects in .NET programs. Available methods include: OptimizeFor. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: AdjustLineHeightInTable, AlignTablesRowByRow, AllowSpaceOfSameStyleInTable, ApplyBreakingRules, AutoSpaceLikeWord95, AutofitToFirstFixedWidthCell, and 65 more.

Properties

NameTypeAccessDescription
NoTabHangIndboolRead/WriteDo Not Create Custom Tab Stop for Hanging Indent.
NoSpaceRaiseLowerboolRead/WriteDo Not Increase Line Height for Raised/Lowered Text.
SuppressSpBfAfterPgBrkboolRead/WriteDo Not Use Space Before On First Line After a Page Break.
WrapTrailSpacesboolRead/WriteLine Wrap Trailing Spaces.
PrintColBlackboolRead/WritePrint Colors as Black And White without Dithering.
NoColumnBalanceboolRead/WriteDo Not Balance Text Columns within a Section.
ConvMailMergeEscboolRead/WriteTreat Backslash Quotation Delimiter as Two Quotation Marks.
SuppressTopSpacingboolRead/WriteIgnore Minimum and Exact Line Height for First Line on Page.
UseSingleBorderforContiguousCellsboolRead/WriteUse Simplified Rules For Table Border Conflicts.
TransparentMetafilesboolRead/WriteSpecifies not to blank the area behind metafile pictures.
ShowBreaksInFramesboolRead/WriteDisplay Page/Column Breaks Present in Frames.
SwapBordersFacingPgsboolRead/WriteSwap Paragraph Borders on Odd Numbered Pages.
DoNotLeaveBackslashAloneboolRead/WriteConvert Backslash To Yen Sign When Entered.
DoNotExpandShiftReturnboolRead/WriteDon’t Justify Lines Ending in Soft Line Break.
UlTrailSpaceboolRead/WriteUnderline All Trailing Spaces.
BalanceSingleByteDoubleByteWidthboolRead/WriteBalance Single Byte and Double Byte Characters.
SuppressSpacingAtTopOfPageboolRead/WriteIgnore Minimum Line Height for First Line on Page.
SpacingInWholePointsboolRead/WriteOnly Expand/Condense Text By Whole Points.
PrintBodyTextBeforeHeaderboolRead/WritePrint Body Text before Header/Footer Contents.
NoLeadingboolRead/WriteDo Not Add Leading Between Lines of Text.
SpaceForULboolRead/WriteAdd Additional Space Below Baseline For Underlined East Asian Text.
MWSmallCapsboolRead/WriteEmulate Word 5.x for the Macintosh Small Caps Formatting.
SuppressTopSpacingWPboolRead/WriteEmulate WordPerfect 5.x Line Spacing.
TruncateFontHeightsLikeWP6boolRead/WriteEmulate WordPerfect 6.x Font Height Calculation.
SubFontBySizeboolRead/WriteIncrease Priority Of Font Size During Font Substitution.
LineWrapLikeWord6boolRead/WriteEmulate Word 6.0 Line Wrapping for East Asian Text.
DoNotSuppressParagraphBordersboolRead/WriteDo Not Suppress Paragraph Borders Next To Frames.
NoExtraLineSpacingboolRead/WriteDo Not Center Content on Lines With Exact Line Height.
SuppressBottomSpacingboolRead/WriteIgnore Exact Line Height for Last Line on Page.
WPSpaceWidthboolRead/WriteSpecifies whether to set the width of a space as is done in WordPerfect 5.x.
WPJustificationboolRead/WriteEmulate WordPerfect 6.x Paragraph Justification.
UsePrinterMetricsboolRead/WriteUse Printer Metrics To Display Documents.
ShapeLayoutLikeWW8boolRead/WriteEmulate Word 97 Text Wrapping Around Floating Objects.
FootnoteLayoutLikeWW8boolRead/WriteEmulate Word 6.x/95/97 Footnote Placement.
DoNotUseHTMLParagraphAutoSpacingboolRead/WriteUse Fixed Paragraph Spacing for HTML Auto Setting.
AdjustLineHeightInTableboolRead/WriteAdd Document Grid Line Pitch To Lines in Table Cells.
ForgetLastTabAlignmentboolRead/WriteIgnore Width of Last Tab Stop When Aligning Paragraph If It Is Not Left Aligned.
AutoSpaceLikeWord95boolRead/WriteEmulate Word 95 Full-Width Character Spacing.
AlignTablesRowByRowboolRead/WriteAlign Table Rows Independently.
LayoutRawTableWidthboolRead/WriteIgnore Space Before Table When Deciding If Table Should Wrap Floating Object.
LayoutTableRowsApartboolRead/WriteAllow Table Rows to Wrap Inline Objects Independently.
UseWord97LineBreakRulesboolRead/WriteEmulate Word 97 East Asian Line Breaking.
DoNotBreakWrappedTablesboolRead/WriteDo Not Allow Floating Tables To Break Across Pages.
DoNotSnapToGridInCellboolRead/WriteDo Not Snap to Document Grid in Table Cells with Objects.
SelectFldWithFirstOrLastCharboolRead/WriteSelect Field When First or Last Character Is Selected.
ApplyBreakingRulesboolRead/WriteUse Legacy Ethiopic and Amharic Line Breaking Rules.
DoNotWrapTextWithPunctboolRead/WriteDo Not Allow Hanging Punctuation With Character Grid.
DoNotUseEastAsianBreakRulesboolRead/WriteDo Not Compress Compressible Characters When Using Document Grid.
UseWord2002TableStyleRulesboolRead/WriteEmulate Word 2002 Table Style Rules.
GrowAutofitboolRead/WriteAllow Tables to AutoFit Into Page Margins.
UseNormalStyleForListboolRead/WriteDo Not Automatically Apply List Paragraph Style To Bulleted/Numbered Text.
DoNotUseIndentAsNumberingTabStopboolRead/WriteIgnore Hanging Indent When Creating Tab Stop After Numbering.
UseAltKinsokuLineBreakRulesboolRead/WriteUse Alternate Set of East Asian Line Breaking Rules.
AllowSpaceOfSameStyleInTableboolRead/WriteAllow Contextual Spacing of Paragraphs in Tables.
DoNotSuppressIndentationboolRead/WriteDo Not Ignore Floating Objects When Calculating Paragraph Indentation.
DoNotAutofitConstrainedTablesboolRead/WriteDo Not AutoFit Tables To Fit Next To Wrapped Objects.
AutofitToFirstFixedWidthCellboolRead/WriteAllow Table Columns To Exceed Preferred Widths of Constituent Cells.
UnderlineTabInNumListboolRead/WriteUnderline Following Character Following Numbering.
DisplayHangulFixedWidthboolRead/WriteAlways Use Fixed Width for Hangul Characters.
SplitPgBreakAndParaMarkboolRead/WriteAlways Move Paragraph Mark to Page after a Page Break.
DoNotVertAlignCellWithSpboolRead/WriteDon’t Vertically Align Cells Containing Floating Objects.
DoNotBreakConstrainedForcedTableboolRead/WriteDon’t Break Table Rows Around Floating Tables.
DoNotVertAlignInTxbxboolRead/WriteIgnore Vertical Alignment in Textboxes.
UseAnsiKerningPairsboolRead/WriteUse ANSI Kerning Pairs from Fonts.
CachedColBalanceboolRead/WriteUse Cached Paragraph Information for Column Balancing.
UseFELayoutboolRead/WriteDo Not Bypass East Asian/Complex Script Layout Code.
OverrideTableStyleFontSizeAndJustificationboolRead/WriteSpecifies how the style hierarchy of the document is evaluated.
DisableOpenTypeFontFormattingFeaturesboolRead/WriteSpecifies to disable OpenType font formatting features.
SwapInsideAndOutsideForMirrorIndentsAndRelativePositioningboolRead/WriteSpecifies to swap inside and outside for mirror indents and relative positioning.
UseWord2010TableStyleRulesboolRead/WriteSpecifies to use Word2010 table style rules.
UICompat97To2003boolRead/WriteTrue to disable UI functionality which is not compatible with Word97-2003.

Methods

SignatureDescription
OptimizeFor(version: MsWordVersion)Allows to optimize the document contents as well as default Aspose.Words behavior to a particular versions of MS Word.

See Also