Package com.independentsoft.office.word
Class CompatibilitySettings
java.lang.Object
com.independentsoft.office.word.CompatibilitySettings
The Class CompatibilitySettings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanDo not expand shift return.booleanDo not leave backslash alone.Gets the entries.Gets the compatibility option elements preserved verbatim (those not modelled by dedicated fields, e.g.booleanChecks if is adjust line height in table.booleanChecks if is apply breaking rules.booleanChecks if is balance single byte double byte width.booleanChecks if is space for ul.booleanChecks if is ul trail space.voidsetAdjustLineHeightInTable(boolean adjustLineHeightInTable)Sets the adjust line height in table.voidsetApplyBreakingRules(boolean applyBreakingRules)Sets the apply breaking rules.voidsetBalanceSingleByteDoubleByteWidth(boolean balanceSingleByteDoubleByteWidth)Sets the balance single byte double byte width.voidsetDoNotExpandShiftReturn(boolean doNotExpandShiftReturn)Sets the do not expand shift return.voidsetDoNotLeaveBackslashAlone(boolean doNotLeaveBackslashAlone)Sets the do not leave backslash alone.voidsetPreservedEntries(List<RawXmlElement> preservedEntries)Sets the compatibility option elements preserved verbatim.voidsetSpaceForUL(boolean spaceForUL)Sets the space for ul.voidsetUlTrailSpace(boolean ulTrailSpace)Sets the ul trail space.toString()
-
Constructor Details
-
CompatibilitySettings
public CompatibilitySettings()Instantiates a new compatibility settings.
-
-
Method Details
-
clone
-
toString
-
isSpaceForUL
public boolean isSpaceForUL()Checks if is space for ul.- Returns:
- true, if is space for ul
-
setSpaceForUL
public void setSpaceForUL(boolean spaceForUL)Sets the space for ul.- Parameters:
spaceForUL- the new space for ul
-
isBalanceSingleByteDoubleByteWidth
public boolean isBalanceSingleByteDoubleByteWidth()Checks if is balance single byte double byte width.- Returns:
- true, if is balance single byte double byte width
-
setBalanceSingleByteDoubleByteWidth
public void setBalanceSingleByteDoubleByteWidth(boolean balanceSingleByteDoubleByteWidth)Sets the balance single byte double byte width.- Parameters:
balanceSingleByteDoubleByteWidth- the new balance single byte double byte width
-
doNotLeaveBackslashAlone
public boolean doNotLeaveBackslashAlone()Do not leave backslash alone.- Returns:
- true, if successful
-
setDoNotLeaveBackslashAlone
public void setDoNotLeaveBackslashAlone(boolean doNotLeaveBackslashAlone)Sets the do not leave backslash alone.- Parameters:
doNotLeaveBackslashAlone- the new do not leave backslash alone
-
isUlTrailSpace
public boolean isUlTrailSpace()Checks if is ul trail space.- Returns:
- true, if is ul trail space
-
setUlTrailSpace
public void setUlTrailSpace(boolean ulTrailSpace)Sets the ul trail space.- Parameters:
ulTrailSpace- the new ul trail space
-
doNotExpandShiftReturn
public boolean doNotExpandShiftReturn()Do not expand shift return.- Returns:
- true, if successful
-
setDoNotExpandShiftReturn
public void setDoNotExpandShiftReturn(boolean doNotExpandShiftReturn)Sets the do not expand shift return.- Parameters:
doNotExpandShiftReturn- the new do not expand shift return
-
isAdjustLineHeightInTable
public boolean isAdjustLineHeightInTable()Checks if is adjust line height in table.- Returns:
- true, if is adjust line height in table
-
setAdjustLineHeightInTable
public void setAdjustLineHeightInTable(boolean adjustLineHeightInTable)Sets the adjust line height in table.- Parameters:
adjustLineHeightInTable- the new adjust line height in table
-
isApplyBreakingRules
public boolean isApplyBreakingRules()Checks if is apply breaking rules.- Returns:
- true, if is apply breaking rules
-
setApplyBreakingRules
public void setApplyBreakingRules(boolean applyBreakingRules)Sets the apply breaking rules.- Parameters:
applyBreakingRules- the new apply breaking rules
-
getEntries
Gets the entries.- Returns:
- the entries
-
getPreservedEntries
Gets the compatibility option elements preserved verbatim (those not modelled by dedicated fields, e.g. useFELayout, growAutofit).- Returns:
- the preserved compatibility entries
-
setPreservedEntries
Sets the compatibility option elements preserved verbatim.- Parameters:
preservedEntries- the new preserved compatibility entries
-