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
| Name | Type | Access | Description |
|---|---|---|---|
NoTabHangInd | bool | Read/Write | Do Not Create Custom Tab Stop for Hanging Indent. |
NoSpaceRaiseLower | bool | Read/Write | Do Not Increase Line Height for Raised/Lowered Text. |
SuppressSpBfAfterPgBrk | bool | Read/Write | Do Not Use Space Before On First Line After a Page Break. |
WrapTrailSpaces | bool | Read/Write | Line Wrap Trailing Spaces. |
PrintColBlack | bool | Read/Write | Print Colors as Black And White without Dithering. |
NoColumnBalance | bool | Read/Write | Do Not Balance Text Columns within a Section. |
ConvMailMergeEsc | bool | Read/Write | Treat Backslash Quotation Delimiter as Two Quotation Marks. |
SuppressTopSpacing | bool | Read/Write | Ignore Minimum and Exact Line Height for First Line on Page. |
UseSingleBorderforContiguousCells | bool | Read/Write | Use Simplified Rules For Table Border Conflicts. |
TransparentMetafiles | bool | Read/Write | Specifies not to blank the area behind metafile pictures. |
ShowBreaksInFrames | bool | Read/Write | Display Page/Column Breaks Present in Frames. |
SwapBordersFacingPgs | bool | Read/Write | Swap Paragraph Borders on Odd Numbered Pages. |
DoNotLeaveBackslashAlone | bool | Read/Write | Convert Backslash To Yen Sign When Entered. |
DoNotExpandShiftReturn | bool | Read/Write | Don’t Justify Lines Ending in Soft Line Break. |
UlTrailSpace | bool | Read/Write | Underline All Trailing Spaces. |
BalanceSingleByteDoubleByteWidth | bool | Read/Write | Balance Single Byte and Double Byte Characters. |
SuppressSpacingAtTopOfPage | bool | Read/Write | Ignore Minimum Line Height for First Line on Page. |
SpacingInWholePoints | bool | Read/Write | Only Expand/Condense Text By Whole Points. |
PrintBodyTextBeforeHeader | bool | Read/Write | Print Body Text before Header/Footer Contents. |
NoLeading | bool | Read/Write | Do Not Add Leading Between Lines of Text. |
SpaceForUL | bool | Read/Write | Add Additional Space Below Baseline For Underlined East Asian Text. |
MWSmallCaps | bool | Read/Write | Emulate Word 5.x for the Macintosh Small Caps Formatting. |
SuppressTopSpacingWP | bool | Read/Write | Emulate WordPerfect 5.x Line Spacing. |
TruncateFontHeightsLikeWP6 | bool | Read/Write | Emulate WordPerfect 6.x Font Height Calculation. |
SubFontBySize | bool | Read/Write | Increase Priority Of Font Size During Font Substitution. |
LineWrapLikeWord6 | bool | Read/Write | Emulate Word 6.0 Line Wrapping for East Asian Text. |
DoNotSuppressParagraphBorders | bool | Read/Write | Do Not Suppress Paragraph Borders Next To Frames. |
NoExtraLineSpacing | bool | Read/Write | Do Not Center Content on Lines With Exact Line Height. |
SuppressBottomSpacing | bool | Read/Write | Ignore Exact Line Height for Last Line on Page. |
WPSpaceWidth | bool | Read/Write | Specifies whether to set the width of a space as is done in WordPerfect 5.x. |
WPJustification | bool | Read/Write | Emulate WordPerfect 6.x Paragraph Justification. |
UsePrinterMetrics | bool | Read/Write | Use Printer Metrics To Display Documents. |
ShapeLayoutLikeWW8 | bool | Read/Write | Emulate Word 97 Text Wrapping Around Floating Objects. |
FootnoteLayoutLikeWW8 | bool | Read/Write | Emulate Word 6.x/95/97 Footnote Placement. |
DoNotUseHTMLParagraphAutoSpacing | bool | Read/Write | Use Fixed Paragraph Spacing for HTML Auto Setting. |
AdjustLineHeightInTable | bool | Read/Write | Add Document Grid Line Pitch To Lines in Table Cells. |
ForgetLastTabAlignment | bool | Read/Write | Ignore Width of Last Tab Stop When Aligning Paragraph If It Is Not Left Aligned. |
AutoSpaceLikeWord95 | bool | Read/Write | Emulate Word 95 Full-Width Character Spacing. |
AlignTablesRowByRow | bool | Read/Write | Align Table Rows Independently. |
LayoutRawTableWidth | bool | Read/Write | Ignore Space Before Table When Deciding If Table Should Wrap Floating Object. |
LayoutTableRowsApart | bool | Read/Write | Allow Table Rows to Wrap Inline Objects Independently. |
UseWord97LineBreakRules | bool | Read/Write | Emulate Word 97 East Asian Line Breaking. |
DoNotBreakWrappedTables | bool | Read/Write | Do Not Allow Floating Tables To Break Across Pages. |
DoNotSnapToGridInCell | bool | Read/Write | Do Not Snap to Document Grid in Table Cells with Objects. |
SelectFldWithFirstOrLastChar | bool | Read/Write | Select Field When First or Last Character Is Selected. |
ApplyBreakingRules | bool | Read/Write | Use Legacy Ethiopic and Amharic Line Breaking Rules. |
DoNotWrapTextWithPunct | bool | Read/Write | Do Not Allow Hanging Punctuation With Character Grid. |
DoNotUseEastAsianBreakRules | bool | Read/Write | Do Not Compress Compressible Characters When Using Document Grid. |
UseWord2002TableStyleRules | bool | Read/Write | Emulate Word 2002 Table Style Rules. |
GrowAutofit | bool | Read/Write | Allow Tables to AutoFit Into Page Margins. |
UseNormalStyleForList | bool | Read/Write | Do Not Automatically Apply List Paragraph Style To Bulleted/Numbered Text. |
DoNotUseIndentAsNumberingTabStop | bool | Read/Write | Ignore Hanging Indent When Creating Tab Stop After Numbering. |
UseAltKinsokuLineBreakRules | bool | Read/Write | Use Alternate Set of East Asian Line Breaking Rules. |
AllowSpaceOfSameStyleInTable | bool | Read/Write | Allow Contextual Spacing of Paragraphs in Tables. |
DoNotSuppressIndentation | bool | Read/Write | Do Not Ignore Floating Objects When Calculating Paragraph Indentation. |
DoNotAutofitConstrainedTables | bool | Read/Write | Do Not AutoFit Tables To Fit Next To Wrapped Objects. |
AutofitToFirstFixedWidthCell | bool | Read/Write | Allow Table Columns To Exceed Preferred Widths of Constituent Cells. |
UnderlineTabInNumList | bool | Read/Write | Underline Following Character Following Numbering. |
DisplayHangulFixedWidth | bool | Read/Write | Always Use Fixed Width for Hangul Characters. |
SplitPgBreakAndParaMark | bool | Read/Write | Always Move Paragraph Mark to Page after a Page Break. |
DoNotVertAlignCellWithSp | bool | Read/Write | Don’t Vertically Align Cells Containing Floating Objects. |
DoNotBreakConstrainedForcedTable | bool | Read/Write | Don’t Break Table Rows Around Floating Tables. |
DoNotVertAlignInTxbx | bool | Read/Write | Ignore Vertical Alignment in Textboxes. |
UseAnsiKerningPairs | bool | Read/Write | Use ANSI Kerning Pairs from Fonts. |
CachedColBalance | bool | Read/Write | Use Cached Paragraph Information for Column Balancing. |
UseFELayout | bool | Read/Write | Do Not Bypass East Asian/Complex Script Layout Code. |
OverrideTableStyleFontSizeAndJustification | bool | Read/Write | Specifies how the style hierarchy of the document is evaluated. |
DisableOpenTypeFontFormattingFeatures | bool | Read/Write | Specifies to disable OpenType font formatting features. |
SwapInsideAndOutsideForMirrorIndentsAndRelativePositioning | bool | Read/Write | Specifies to swap inside and outside for mirror indents and relative positioning. |
UseWord2010TableStyleRules | bool | Read/Write | Specifies to use Word2010 table style rules. |
UICompat97To2003 | bool | Read/Write | True to disable UI functionality which is not compatible with Word97-2003. |
Methods
| Signature | Description |
|---|---|
OptimizeFor(version: MsWordVersion) | Allows to optimize the document contents as well as default Aspose.Words behavior to a particular versions of MS Word. |