ASPOSE home

com.aspose.words
Class CompatibilityOptions

java.lang.Object
    extended by com.aspose.words.CompatibilityOptions
All Implemented Interfaces:
java.lang.Cloneable

public class CompatibilityOptions
extends java.lang.Object

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

Property Getters/Setters Summary
booleangetAddSpaceForUnderlines()
voidsetAddSpaceForUnderlines(boolean value)
           Specifies whether to add space for underlines.
booleangetAdjustLineToGridInTable()
voidsetAdjustLineToGridInTable(boolean value)
           Specifies whether to adjust line height to grid height in the table.
booleangetAlignTableRowsIndependently()
voidsetAlignTableRowsIndependently(boolean value)
           Specifies whether to align table rows independently.
booleangetAllowTableRowsLayOutApart()
voidsetAllowTableRowsLayOutApart(boolean value)
           Specifies whether to allow table rows to lay out apart.
booleangetAllowTablesExtendIntoMargins()
voidsetAllowTablesExtendIntoMargins(boolean value)
           Specifies whether to allow tables to extend into margins.
booleangetBalanceSbcsAndDbcsCharacters()
voidsetBalanceSbcsAndDbcsCharacters(boolean value)
           Specifies whether to balance SBCS characters and DBCS characters.
booleangetBreaksInFrames()
voidsetBreaksInFrames(boolean value)
           Specifies whether to show hard page or column breaks in frames.
booleangetConvertBackslashIntoYenSign()
voidsetConvertBackslashIntoYenSign(boolean value)
           Specifies whether to convert backslash characters into yen signs.
booleangetConvertMailMergeEsc()
voidsetConvertMailMergeEsc(boolean value)
           Specifies whether to treat "\ as "" in mail-merge data sources.
booleangetDontBreakWrappedTables()
voidsetDontBreakWrappedTables(boolean value)
           Specifies not to break wrapped tables across pages.
booleangetDontCenterExactLineHeightLines()
voidsetDontCenterExactLineHeightLines(boolean value)
           Specifies not to center "exact line height" lines.
booleangetDontExpandSpacesOnShiftReturnLine()
voidsetDontExpandSpacesOnShiftReturnLine(boolean value)
           Specifies not to expand character spaces on the line ending Shift-Return.
booleangetForgetLastTabAlignment()
voidsetForgetLastTabAlignment(boolean value)
           Specifies whether to forget last tab alignment.
booleangetLineBreakingRules()
voidsetLineBreakingRules(boolean value)
           Specifies whether to use line breaking rules.
booleangetMacWord5SmallCaps()
voidsetMacWord5SmallCaps(boolean value)
           Specifies whether to use larger small caps as is done in Word 5.x for the Macintosh.
booleangetMacWord5TableBorders()
voidsetMacWord5TableBorders(boolean value)
           Specifies whether to combine table borders as is done in Word 5.x for the Macintosh.
booleangetMacWord5TopSpacing()
voidsetMacWord5TopSpacing(boolean value)
           Specifies whether to suppress extra line spacing at the top of a page as is done in Word 5.x for the Macintosh.
booleangetNoAsianRulesForLineBreaks()
voidsetNoAsianRulesForLineBreaks(boolean value)
           Specifies whether to use Asian rules for line breaks with character grid.
booleangetNoColumnBalance()
voidsetNoColumnBalance(boolean value)
           Specifies not to balance columns for continuous section starts.
booleangetNoExtraSpaceForRaisedLoweredCharacters()
voidsetNoExtraSpaceForRaisedLoweredCharacters(boolean value)
           Specifies not to add extra space for raised or lowered characters.
booleangetNoHangingPunctuation()
voidsetNoHangingPunctuation(boolean value)
           Specifies not to allow hanging punctuation with character grid.
booleangetNoHtmlParagraphAutoSpacing()
voidsetNoHtmlParagraphAutoSpacing(boolean value)
           Specifies not to use HTML paragraph auto spacing.
booleangetNoLeading()
voidsetNoLeading(boolean value)
           Specifies not to add leading (extra space) between rows of text.
booleangetNoSnapToGridInsideTablesWithInlines()
voidsetNoSnapToGridInsideTablesWithInlines(boolean value)
           Specifies not to snap text to grid inside table with Inline objects.
booleangetNoTabForHangingIndent()
voidsetNoTabForHangingIndent(boolean value)
           Specifies not to add automatic tab stop for a hanging indent.
booleangetOldWordBorderRules()
voidsetOldWordBorderRules(boolean value)
           Specifies whether to use Word 6.x/95 border rules.
booleangetOldWordFootnotes()
voidsetOldWordFootnotes(boolean value)
           Specifies whether to lay out footnotes as is done in Word 6.x/95/97.
booleangetPrintBodyBeforeHeaderFooter()
voidsetPrintBodyBeforeHeaderFooter(boolean value)
           Specifies whether to print body text before a header or footer.
booleangetPrintColorsAsBlack()
voidsetPrintColorsAsBlack(boolean value)
           Specifies whether to print colors as black on noncolor printers.
booleangetPrinterMetrics()
voidsetPrinterMetrics(boolean value)
           Specifies whether to use printer metrics to lay out document.
booleangetSelectEntireField()
voidsetSelectEntireField(boolean value)
           Specifies whether to select entire field with first or last character.
booleangetSpacingInWholePoints()
voidsetSpacingInWholePoints(boolean value)
           Specifies whether to perform Expand/Condense by whole number of points.
booleangetSubstituteFonts()
voidsetSubstituteFonts(boolean value)
           Specifies whether to substitute fonts based on font size.
booleangetSuppressBottomSpacing()
voidsetSuppressBottomSpacing(boolean value)
           Specifies whether to suppress extra line spacing at the bottom of a page.
booleangetSuppressSpaceBeforeAfterPageOrBreak()
voidsetSuppressSpaceBeforeAfterPageOrBreak(boolean value)
           Specifies whether to suppress Space Before after a hard page or column break.
booleangetSuppressTopSpacing()
voidsetSuppressTopSpacing(boolean value)
           Specifies whether to suppress extra line spacing at the top of a page.
booleangetSwapBordersOnOddFacingPages()
voidsetSwapBordersOnOddFacingPages(boolean value)
           Specifies whether to swap left and right borders on odd facing pages.
booleangetTablesWithRawWidth()
voidsetTablesWithRawWidth(boolean value)
           Specifies whether to lay out tables with raw width.
booleangetTransparentMetafiles()
voidsetTransparentMetafiles(boolean value)
           Specifies not to blank the area behind metafile pictures.
booleangetTruncateFontHeight()
voidsetTruncateFontHeight(boolean value)
           Specifies whether to truncate font height.
booleangetUnderlineOnTrailingSpaces()
voidsetUnderlineOnTrailingSpaces(boolean value)
           Specifies whether to draw underline on trailing spaces.
booleangetWord2002TableStyleRules()
voidsetWord2002TableStyleRules(boolean value)
           Specifies whether to use Word 2002 table style rules.
booleangetWord6LineWrap()
voidsetWord6LineWrap(boolean value)
           Specifies whether to wrap lines as is done in Word 6.0.
booleangetWord95AutoSpace()
voidsetWord95AutoSpace(boolean value)
           Specifies whether to use Word 95 style auto space.
booleangetWord97AutoShapes()
voidsetWord97AutoShapes(boolean value)
           Specifies whether to lay out AutoShapes as is done in Word 97.
booleangetWord97LineBreakingRules()
voidsetWord97LineBreakingRules(boolean value)
           Specifies whether to use Word 97 line breaking rules for Asian text.
booleangetWordPerfect5ExtraLineSpacing()
voidsetWordPerfect5ExtraLineSpacing(boolean value)
           Specifies whether to suppress extra line spacing as is done in WordPerfect 5.x.
booleangetWordPerfect5SpaceWidth()
voidsetWordPerfect5SpaceWidth(boolean value)
           Specifies whether to set the width of a space as is done in WordPerfect 5.x.
booleangetWordPerfect6Justification()
voidsetWordPerfect6Justification(boolean value)
           Specifies whether to do full justification as is done WordPerfect 6.x for Windows.
booleangetWrapTrailingSpaces()
voidsetWrapTrailingSpaces(boolean value)
           Specifies whether to wrap trailing spaces to the next line.
 

Property Getters/Setters Detail

getNoTabForHangingIndent/setNoTabForHangingIndent

public boolean getNoTabForHangingIndent()

public void setNoTabForHangingIndent(boolean value)
Specifies not to add automatic tab stop for a hanging indent.

getNoExtraSpaceForRaisedLoweredCharacters/setNoExtraSpaceForRaisedLoweredCharacters

public boolean getNoExtraSpaceForRaisedLoweredCharacters()

public void setNoExtraSpaceForRaisedLoweredCharacters(boolean value)
Specifies not to add extra space for raised or lowered characters.

getSuppressSpaceBeforeAfterPageOrBreak/setSuppressSpaceBeforeAfterPageOrBreak

public boolean getSuppressSpaceBeforeAfterPageOrBreak()

public void setSuppressSpaceBeforeAfterPageOrBreak(boolean value)
Specifies whether to suppress Space Before after a hard page or column break.

getWrapTrailingSpaces/setWrapTrailingSpaces

public boolean getWrapTrailingSpaces()

public void setWrapTrailingSpaces(boolean value)
Specifies whether to wrap trailing spaces to the next line.

getPrintColorsAsBlack/setPrintColorsAsBlack

public boolean getPrintColorsAsBlack()

public void setPrintColorsAsBlack(boolean value)
Specifies whether to print colors as black on noncolor printers.

getNoColumnBalance/setNoColumnBalance

public boolean getNoColumnBalance()

public void setNoColumnBalance(boolean value)
Specifies not to balance columns for continuous section starts.

getConvertMailMergeEsc/setConvertMailMergeEsc

public boolean getConvertMailMergeEsc()

public void setConvertMailMergeEsc(boolean value)
Specifies whether to treat "\ as "" in mail-merge data sources.

getSuppressTopSpacing/setSuppressTopSpacing

public boolean getSuppressTopSpacing()

public void setSuppressTopSpacing(boolean value)
Specifies whether to suppress extra line spacing at the top of a page.

getMacWord5TableBorders/setMacWord5TableBorders

public boolean getMacWord5TableBorders()

public void setMacWord5TableBorders(boolean value)
Specifies whether to combine table borders as is done in Word 5.x for the Macintosh.

getTransparentMetafiles/setTransparentMetafiles

public boolean getTransparentMetafiles()

public void setTransparentMetafiles(boolean value)
Specifies not to blank the area behind metafile pictures.

getBreaksInFrames/setBreaksInFrames

public boolean getBreaksInFrames()

public void setBreaksInFrames(boolean value)
Specifies whether to show hard page or column breaks in frames.

getSwapBordersOnOddFacingPages/setSwapBordersOnOddFacingPages

public boolean getSwapBordersOnOddFacingPages()

public void setSwapBordersOnOddFacingPages(boolean value)
Specifies whether to swap left and right borders on odd facing pages.

getConvertBackslashIntoYenSign/setConvertBackslashIntoYenSign

public boolean getConvertBackslashIntoYenSign()

public void setConvertBackslashIntoYenSign(boolean value)
Specifies whether to convert backslash characters into yen signs.

getDontExpandSpacesOnShiftReturnLine/setDontExpandSpacesOnShiftReturnLine

public boolean getDontExpandSpacesOnShiftReturnLine()

public void setDontExpandSpacesOnShiftReturnLine(boolean value)
Specifies not to expand character spaces on the line ending Shift-Return.

getUnderlineOnTrailingSpaces/setUnderlineOnTrailingSpaces

public boolean getUnderlineOnTrailingSpaces()

public void setUnderlineOnTrailingSpaces(boolean value)
Specifies whether to draw underline on trailing spaces.

getBalanceSbcsAndDbcsCharacters/setBalanceSbcsAndDbcsCharacters

public boolean getBalanceSbcsAndDbcsCharacters()

public void setBalanceSbcsAndDbcsCharacters(boolean value)
Specifies whether to balance SBCS characters and DBCS characters.

getMacWord5TopSpacing/setMacWord5TopSpacing

public boolean getMacWord5TopSpacing()

public void setMacWord5TopSpacing(boolean value)
Specifies whether to suppress extra line spacing at the top of a page as is done in Word 5.x for the Macintosh.

getSpacingInWholePoints/setSpacingInWholePoints

public boolean getSpacingInWholePoints()

public void setSpacingInWholePoints(boolean value)
Specifies whether to perform Expand/Condense by whole number of points.

getPrintBodyBeforeHeaderFooter/setPrintBodyBeforeHeaderFooter

public boolean getPrintBodyBeforeHeaderFooter()

public void setPrintBodyBeforeHeaderFooter(boolean value)
Specifies whether to print body text before a header or footer.

getNoLeading/setNoLeading

public boolean getNoLeading()

public void setNoLeading(boolean value)
Specifies not to add leading (extra space) between rows of text.

getAddSpaceForUnderlines/setAddSpaceForUnderlines

public boolean getAddSpaceForUnderlines()

public void setAddSpaceForUnderlines(boolean value)
Specifies whether to add space for underlines.

getMacWord5SmallCaps/setMacWord5SmallCaps

public boolean getMacWord5SmallCaps()

public void setMacWord5SmallCaps(boolean value)
Specifies whether to use larger small caps as is done in Word 5.x for the Macintosh.

getWordPerfect5ExtraLineSpacing/setWordPerfect5ExtraLineSpacing

public boolean getWordPerfect5ExtraLineSpacing()

public void setWordPerfect5ExtraLineSpacing(boolean value)
Specifies whether to suppress extra line spacing as is done in WordPerfect 5.x.

getTruncateFontHeight/setTruncateFontHeight

public boolean getTruncateFontHeight()

public void setTruncateFontHeight(boolean value)
Specifies whether to truncate font height.

getSubstituteFonts/setSubstituteFonts

public boolean getSubstituteFonts()

public void setSubstituteFonts(boolean value)
Specifies whether to substitute fonts based on font size.

getWord6LineWrap/setWord6LineWrap

public boolean getWord6LineWrap()

public void setWord6LineWrap(boolean value)
Specifies whether to wrap lines as is done in Word 6.0.

getOldWordBorderRules/setOldWordBorderRules

public boolean getOldWordBorderRules()

public void setOldWordBorderRules(boolean value)
Specifies whether to use Word 6.x/95 border rules.

getDontCenterExactLineHeightLines/setDontCenterExactLineHeightLines

public boolean getDontCenterExactLineHeightLines()

public void setDontCenterExactLineHeightLines(boolean value)
Specifies not to center "exact line height" lines.

getSuppressBottomSpacing/setSuppressBottomSpacing

public boolean getSuppressBottomSpacing()

public void setSuppressBottomSpacing(boolean value)
Specifies whether to suppress extra line spacing at the bottom of a page.

getWordPerfect5SpaceWidth/setWordPerfect5SpaceWidth

public boolean getWordPerfect5SpaceWidth()

public void setWordPerfect5SpaceWidth(boolean value)
Specifies whether to set the width of a space as is done in WordPerfect 5.x.

getWordPerfect6Justification/setWordPerfect6Justification

public boolean getWordPerfect6Justification()

public void setWordPerfect6Justification(boolean value)
Specifies whether to do full justification as is done WordPerfect 6.x for Windows.

getPrinterMetrics/setPrinterMetrics

public boolean getPrinterMetrics()

public void setPrinterMetrics(boolean value)
Specifies whether to use printer metrics to lay out document.

getWord97AutoShapes/setWord97AutoShapes

public boolean getWord97AutoShapes()

public void setWord97AutoShapes(boolean value)
Specifies whether to lay out AutoShapes as is done in Word 97.

getOldWordFootnotes/setOldWordFootnotes

public boolean getOldWordFootnotes()

public void setOldWordFootnotes(boolean value)
Specifies whether to lay out footnotes as is done in Word 6.x/95/97.

getNoHtmlParagraphAutoSpacing/setNoHtmlParagraphAutoSpacing

public boolean getNoHtmlParagraphAutoSpacing()

public void setNoHtmlParagraphAutoSpacing(boolean value)
Specifies not to use HTML paragraph auto spacing.

getAdjustLineToGridInTable/setAdjustLineToGridInTable

public boolean getAdjustLineToGridInTable()

public void setAdjustLineToGridInTable(boolean value)
Specifies whether to adjust line height to grid height in the table.

getForgetLastTabAlignment/setForgetLastTabAlignment

public boolean getForgetLastTabAlignment()

public void setForgetLastTabAlignment(boolean value)
Specifies whether to forget last tab alignment.

getWord95AutoSpace/setWord95AutoSpace

public boolean getWord95AutoSpace()

public void setWord95AutoSpace(boolean value)
Specifies whether to use Word 95 style auto space.

getAlignTableRowsIndependently/setAlignTableRowsIndependently

public boolean getAlignTableRowsIndependently()

public void setAlignTableRowsIndependently(boolean value)
Specifies whether to align table rows independently.

getTablesWithRawWidth/setTablesWithRawWidth

public boolean getTablesWithRawWidth()

public void setTablesWithRawWidth(boolean value)
Specifies whether to lay out tables with raw width.

getAllowTableRowsLayOutApart/setAllowTableRowsLayOutApart

public boolean getAllowTableRowsLayOutApart()

public void setAllowTableRowsLayOutApart(boolean value)
Specifies whether to allow table rows to lay out apart.

getWord97LineBreakingRules/setWord97LineBreakingRules

public boolean getWord97LineBreakingRules()

public void setWord97LineBreakingRules(boolean value)
Specifies whether to use Word 97 line breaking rules for Asian text.

getDontBreakWrappedTables/setDontBreakWrappedTables

public boolean getDontBreakWrappedTables()

public void setDontBreakWrappedTables(boolean value)
Specifies not to break wrapped tables across pages.

getNoSnapToGridInsideTablesWithInlines/setNoSnapToGridInsideTablesWithInlines

public boolean getNoSnapToGridInsideTablesWithInlines()

public void setNoSnapToGridInsideTablesWithInlines(boolean value)
Specifies not to snap text to grid inside table with Inline objects.

getSelectEntireField/setSelectEntireField

public boolean getSelectEntireField()

public void setSelectEntireField(boolean value)
Specifies whether to select entire field with first or last character.

getLineBreakingRules/setLineBreakingRules

public boolean getLineBreakingRules()

public void setLineBreakingRules(boolean value)
Specifies whether to use line breaking rules.

getNoHangingPunctuation/setNoHangingPunctuation

public boolean getNoHangingPunctuation()

public void setNoHangingPunctuation(boolean value)
Specifies not to allow hanging punctuation with character grid.

getNoAsianRulesForLineBreaks/setNoAsianRulesForLineBreaks

public boolean getNoAsianRulesForLineBreaks()

public void setNoAsianRulesForLineBreaks(boolean value)
Specifies whether to use Asian rules for line breaks with character grid.

getWord2002TableStyleRules/setWord2002TableStyleRules

public boolean getWord2002TableStyleRules()

public void setWord2002TableStyleRules(boolean value)
Specifies whether to use Word 2002 table style rules.

getAllowTablesExtendIntoMargins/setAllowTablesExtendIntoMargins

public boolean getAllowTablesExtendIntoMargins()

public void setAllowTablesExtendIntoMargins(boolean value)
Specifies whether to allow tables to extend into margins.

See Also:
          Wiki - the home page for the Aspose.Words Product Documentation that includes Programmer's Guide, Knowledge Base and other articles.
          Aspose.Words Support Forum - our preferred method of support.
          Aspose.Words Team - contact Aspose.Words Team.


ASPOSE home