Package org.docx4j.math
Class CTMathPr
java.lang.Object
org.docx4j.math.CTMathPr
- All Implemented Interfaces:
Child
public class CTMathPr extends java.lang.Object implements Child
Java class for CT_MathPr complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_MathPr">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="mathFont" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_String" minOccurs="0"/>
<element name="brkBin" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_BreakBin" minOccurs="0"/>
<element name="brkBinSub" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_BreakBinSub" minOccurs="0"/>
<element name="smallFrac" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
<element name="dispDef" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
<element name="lMargin" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_TwipsMeasure" minOccurs="0"/>
<element name="rMargin" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_TwipsMeasure" minOccurs="0"/>
<element name="defJc" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OMathJc" minOccurs="0"/>
<element name="preSp" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_TwipsMeasure" minOccurs="0"/>
<element name="postSp" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_TwipsMeasure" minOccurs="0"/>
<element name="interSp" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_TwipsMeasure" minOccurs="0"/>
<element name="intraSp" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_TwipsMeasure" minOccurs="0"/>
<choice minOccurs="0">
<element name="wrapIndent" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_TwipsMeasure"/>
<element name="wrapRight" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff"/>
</choice>
<element name="intLim" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_LimLoc" minOccurs="0"/>
<element name="naryLim" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_LimLoc" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTBreakBinbrkBinprotected CTBreakBinSubbrkBinSubprotected CTOMathJcdefJcprotected CTOnOffdispDefprotected CTTwipsMeasureinterSpprotected CTLimLocintLimprotected CTTwipsMeasureintraSpprotected CTTwipsMeasurelMarginprotected CTStringmathFontprotected CTLimLocnaryLimprotected CTTwipsMeasurepostSpprotected CTTwipsMeasurepreSpprotected CTTwipsMeasurerMarginprotected CTOnOffsmallFracprotected CTTwipsMeasurewrapIndentprotected CTOnOffwrapRight -
Constructor Summary
Constructors Constructor Description CTMathPr() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.CTBreakBingetBrkBin()Gets the value of the brkBin property.CTBreakBinSubgetBrkBinSub()Gets the value of the brkBinSub property.CTOMathJcgetDefJc()Gets the value of the defJc property.CTOnOffgetDispDef()Gets the value of the dispDef property.CTTwipsMeasuregetInterSp()Gets the value of the interSp property.CTLimLocgetIntLim()Gets the value of the intLim property.CTTwipsMeasuregetIntraSp()Gets the value of the intraSp property.CTTwipsMeasuregetLMargin()Gets the value of the lMargin property.CTStringgetMathFont()Gets the value of the mathFont property.CTLimLocgetNaryLim()Gets the value of the naryLim property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTTwipsMeasuregetPostSp()Gets the value of the postSp property.CTTwipsMeasuregetPreSp()Gets the value of the preSp property.CTTwipsMeasuregetRMargin()Gets the value of the rMargin property.CTOnOffgetSmallFrac()Gets the value of the smallFrac property.CTTwipsMeasuregetWrapIndent()Gets the value of the wrapIndent property.CTOnOffgetWrapRight()Gets the value of the wrapRight property.voidsetBrkBin(CTBreakBin value)Sets the value of the brkBin property.voidsetBrkBinSub(CTBreakBinSub value)Sets the value of the brkBinSub property.voidsetDefJc(CTOMathJc value)Sets the value of the defJc property.voidsetDispDef(CTOnOff value)Sets the value of the dispDef property.voidsetInterSp(CTTwipsMeasure value)Sets the value of the interSp property.voidsetIntLim(CTLimLoc value)Sets the value of the intLim property.voidsetIntraSp(CTTwipsMeasure value)Sets the value of the intraSp property.voidsetLMargin(CTTwipsMeasure value)Sets the value of the lMargin property.voidsetMathFont(CTString value)Sets the value of the mathFont property.voidsetNaryLim(CTLimLoc value)Sets the value of the naryLim property.voidsetParent(java.lang.Object parent)voidsetPostSp(CTTwipsMeasure value)Sets the value of the postSp property.voidsetPreSp(CTTwipsMeasure value)Sets the value of the preSp property.voidsetRMargin(CTTwipsMeasure value)Sets the value of the rMargin property.voidsetSmallFrac(CTOnOff value)Sets the value of the smallFrac property.voidsetWrapIndent(CTTwipsMeasure value)Sets the value of the wrapIndent property.voidsetWrapRight(CTOnOff value)Sets the value of the wrapRight property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
mathFont
-
brkBin
-
brkBinSub
-
smallFrac
-
dispDef
-
lMargin
-
rMargin
-
defJc
-
preSp
-
postSp
-
interSp
-
intraSp
-
wrapIndent
-
wrapRight
-
intLim
-
naryLim
-
-
Constructor Details
-
CTMathPr
public CTMathPr()
-
-
Method Details
-
getMathFont
Gets the value of the mathFont property.- Returns:
- possible object is
CTString
-
setMathFont
Sets the value of the mathFont property.- Parameters:
value- allowed object isCTString
-
getBrkBin
Gets the value of the brkBin property.- Returns:
- possible object is
CTBreakBin
-
setBrkBin
Sets the value of the brkBin property.- Parameters:
value- allowed object isCTBreakBin
-
getBrkBinSub
Gets the value of the brkBinSub property.- Returns:
- possible object is
CTBreakBinSub
-
setBrkBinSub
Sets the value of the brkBinSub property.- Parameters:
value- allowed object isCTBreakBinSub
-
getSmallFrac
Gets the value of the smallFrac property.- Returns:
- possible object is
CTOnOff
-
setSmallFrac
Sets the value of the smallFrac property.- Parameters:
value- allowed object isCTOnOff
-
getDispDef
Gets the value of the dispDef property.- Returns:
- possible object is
CTOnOff
-
setDispDef
Sets the value of the dispDef property.- Parameters:
value- allowed object isCTOnOff
-
getLMargin
Gets the value of the lMargin property.- Returns:
- possible object is
CTTwipsMeasure
-
setLMargin
Sets the value of the lMargin property.- Parameters:
value- allowed object isCTTwipsMeasure
-
getRMargin
Gets the value of the rMargin property.- Returns:
- possible object is
CTTwipsMeasure
-
setRMargin
Sets the value of the rMargin property.- Parameters:
value- allowed object isCTTwipsMeasure
-
getDefJc
Gets the value of the defJc property.- Returns:
- possible object is
CTOMathJc
-
setDefJc
Sets the value of the defJc property.- Parameters:
value- allowed object isCTOMathJc
-
getPreSp
Gets the value of the preSp property.- Returns:
- possible object is
CTTwipsMeasure
-
setPreSp
Sets the value of the preSp property.- Parameters:
value- allowed object isCTTwipsMeasure
-
getPostSp
Gets the value of the postSp property.- Returns:
- possible object is
CTTwipsMeasure
-
setPostSp
Sets the value of the postSp property.- Parameters:
value- allowed object isCTTwipsMeasure
-
getInterSp
Gets the value of the interSp property.- Returns:
- possible object is
CTTwipsMeasure
-
setInterSp
Sets the value of the interSp property.- Parameters:
value- allowed object isCTTwipsMeasure
-
getIntraSp
Gets the value of the intraSp property.- Returns:
- possible object is
CTTwipsMeasure
-
setIntraSp
Sets the value of the intraSp property.- Parameters:
value- allowed object isCTTwipsMeasure
-
getWrapIndent
Gets the value of the wrapIndent property.- Returns:
- possible object is
CTTwipsMeasure
-
setWrapIndent
Sets the value of the wrapIndent property.- Parameters:
value- allowed object isCTTwipsMeasure
-
getWrapRight
Gets the value of the wrapRight property.- Returns:
- possible object is
CTOnOff
-
setWrapRight
Sets the value of the wrapRight property.- Parameters:
value- allowed object isCTOnOff
-
getIntLim
Gets the value of the intLim property.- Returns:
- possible object is
CTLimLoc
-
setIntLim
Sets the value of the intLim property.- Parameters:
value- allowed object isCTLimLoc
-
getNaryLim
Gets the value of the naryLim property.- Returns:
- possible object is
CTLimLoc
-
setNaryLim
Sets the value of the naryLim property.- Parameters:
value- allowed object isCTLimLoc
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-