Class MathProperties
java.lang.Object
com.independentsoft.office.word.math.MathProperties
The Class MathProperties.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new math properties.MathProperties(InternalXMLStreamReader reader)Instantiates a new math properties. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the binary operator break.Gets the binary subtraction break.Gets the default justification.Gets the display defaults.getFont()Gets the font.Gets the integral limit locations.intGets the inter equation spacing.intGets the intra equation spacing.intGets the left margin.Gets the nary limit location.intGets the post equation spacing.intGets the pre equation spacing.intGets the right margin.Gets the small fraction.intGets the wrap indent.Gets the wrap right.static booleanChecks if is empty.voidsetBinaryOperatorBreak(BinaryOperatorBreak binaryOperatorBreak)Sets the binary operator break.voidsetBinarySubtractionBreak(BinarySubtractionBreak binarySubtractionBreak)Sets the binary subtraction break.voidsetDefaultJustification(Justification defaultJustification)Sets the default justification.voidsetDisplayDefaults(ExtendedBoolean displayDefaults)Sets the display defaults.voidSets the font.voidsetIntegralLimitLocations(LimitLocation integralLimitLocations)Sets the integral limit locations.voidsetInterEquationSpacing(int interEquationSpacing)Sets the inter equation spacing.voidsetIntraEquationSpacing(int intraEquationSpacing)Sets the intra equation spacing.voidsetLeftMargin(int leftMargin)Sets the left margin.voidsetNaryLimitLocation(LimitLocation naryLimitLocation)Sets the nary limit location.voidsetPostEquationSpacing(int postEquationSpacing)Sets the post equation spacing.voidsetPreEquationSpacing(int preEquationSpacing)Sets the pre equation spacing.voidsetRightMargin(int rightMargin)Sets the right margin.voidsetSmallFraction(ExtendedBoolean smallFraction)Sets the small fraction.voidsetWrapIndent(int wrapIndent)Sets the wrap indent.voidsetWrapRight(ExtendedBoolean wrapRight)Sets the wrap right.toString()
-
Constructor Details
-
MathProperties
public MathProperties()Instantiates a new math properties. -
MathProperties
Instantiates a new math properties.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
isEmpty
Checks if is empty.- Parameters:
value- the value- Returns:
- true, if is empty
-
getBinaryOperatorBreak
Gets the binary operator break.- Returns:
- the binary operator break
-
setBinaryOperatorBreak
Sets the binary operator break.- Parameters:
binaryOperatorBreak- the new binary operator break
-
getBinarySubtractionBreak
Gets the binary subtraction break.- Returns:
- the binary subtraction break
-
setBinarySubtractionBreak
Sets the binary subtraction break.- Parameters:
binarySubtractionBreak- the new binary subtraction break
-
getDefaultJustification
Gets the default justification.- Returns:
- the default justification
-
setDefaultJustification
Sets the default justification.- Parameters:
defaultJustification- the new default justification
-
getDisplayDefaults
Gets the display defaults.- Returns:
- the display defaults
-
setDisplayDefaults
Sets the display defaults.- Parameters:
displayDefaults- the new display defaults
-
getInterEquationSpacing
public int getInterEquationSpacing()Gets the inter equation spacing.- Returns:
- the inter equation spacing
-
setInterEquationSpacing
public void setInterEquationSpacing(int interEquationSpacing)Sets the inter equation spacing.- Parameters:
interEquationSpacing- the new inter equation spacing
-
getIntegralLimitLocations
Gets the integral limit locations.- Returns:
- the integral limit locations
-
setIntegralLimitLocations
Sets the integral limit locations.- Parameters:
integralLimitLocations- the new integral limit locations
-
getIntraEquationSpacing
public int getIntraEquationSpacing()Gets the intra equation spacing.- Returns:
- the intra equation spacing
-
setIntraEquationSpacing
public void setIntraEquationSpacing(int intraEquationSpacing)Sets the intra equation spacing.- Parameters:
intraEquationSpacing- the new intra equation spacing
-
getLeftMargin
public int getLeftMargin()Gets the left margin.- Returns:
- the left margin
-
setLeftMargin
public void setLeftMargin(int leftMargin)Sets the left margin.- Parameters:
leftMargin- the new left margin
-
getFont
Gets the font.- Returns:
- the font
-
setFont
Sets the font.- Parameters:
font- the new font
-
getNaryLimitLocation
Gets the nary limit location.- Returns:
- the nary limit location
-
setNaryLimitLocation
Sets the nary limit location.- Parameters:
naryLimitLocation- the new nary limit location
-
getPostEquationSpacing
public int getPostEquationSpacing()Gets the post equation spacing.- Returns:
- the post equation spacing
-
setPostEquationSpacing
public void setPostEquationSpacing(int postEquationSpacing)Sets the post equation spacing.- Parameters:
postEquationSpacing- the new post equation spacing
-
getPreEquationSpacing
public int getPreEquationSpacing()Gets the pre equation spacing.- Returns:
- the pre equation spacing
-
setPreEquationSpacing
public void setPreEquationSpacing(int preEquationSpacing)Sets the pre equation spacing.- Parameters:
preEquationSpacing- the new pre equation spacing
-
getRightMargin
public int getRightMargin()Gets the right margin.- Returns:
- the right margin
-
setRightMargin
public void setRightMargin(int rightMargin)Sets the right margin.- Parameters:
rightMargin- the new right margin
-
getSmallFraction
Gets the small fraction.- Returns:
- the small fraction
-
setSmallFraction
Sets the small fraction.- Parameters:
smallFraction- the new small fraction
-
getWrapIndent
public int getWrapIndent()Gets the wrap indent.- Returns:
- the wrap indent
-
setWrapIndent
public void setWrapIndent(int wrapIndent)Sets the wrap indent.- Parameters:
wrapIndent- the new wrap indent
-
getWrapRight
Gets the wrap right.- Returns:
- the wrap right
-
setWrapRight
Sets the wrap right.- Parameters:
wrapRight- the new wrap right
-