Class CTMathPr

java.lang.Object
org.docx4j.math.CTMathPr
All Implemented Interfaces:
Child

public class CTMathPr extends 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 Details

  • Constructor Details

    • CTMathPr

      public CTMathPr()
  • Method Details

    • getMathFont

      public CTString getMathFont()
      Gets the value of the mathFont property.
      Returns:
      possible object is CTString
    • setMathFont

      public void setMathFont(CTString value)
      Sets the value of the mathFont property.
      Parameters:
      value - allowed object is CTString
    • getBrkBin

      public CTBreakBin getBrkBin()
      Gets the value of the brkBin property.
      Returns:
      possible object is CTBreakBin
    • setBrkBin

      public void setBrkBin(CTBreakBin value)
      Sets the value of the brkBin property.
      Parameters:
      value - allowed object is CTBreakBin
    • getBrkBinSub

      public CTBreakBinSub getBrkBinSub()
      Gets the value of the brkBinSub property.
      Returns:
      possible object is CTBreakBinSub
    • setBrkBinSub

      public void setBrkBinSub(CTBreakBinSub value)
      Sets the value of the brkBinSub property.
      Parameters:
      value - allowed object is CTBreakBinSub
    • getSmallFrac

      public CTOnOff getSmallFrac()
      Gets the value of the smallFrac property.
      Returns:
      possible object is CTOnOff
    • setSmallFrac

      public void setSmallFrac(CTOnOff value)
      Sets the value of the smallFrac property.
      Parameters:
      value - allowed object is CTOnOff
    • getDispDef

      public CTOnOff getDispDef()
      Gets the value of the dispDef property.
      Returns:
      possible object is CTOnOff
    • setDispDef

      public void setDispDef(CTOnOff value)
      Sets the value of the dispDef property.
      Parameters:
      value - allowed object is CTOnOff
    • getLMargin

      public CTTwipsMeasure getLMargin()
      Gets the value of the lMargin property.
      Returns:
      possible object is CTTwipsMeasure
    • setLMargin

      public void setLMargin(CTTwipsMeasure value)
      Sets the value of the lMargin property.
      Parameters:
      value - allowed object is CTTwipsMeasure
    • getRMargin

      public CTTwipsMeasure getRMargin()
      Gets the value of the rMargin property.
      Returns:
      possible object is CTTwipsMeasure
    • setRMargin

      public void setRMargin(CTTwipsMeasure value)
      Sets the value of the rMargin property.
      Parameters:
      value - allowed object is CTTwipsMeasure
    • getDefJc

      public CTOMathJc getDefJc()
      Gets the value of the defJc property.
      Returns:
      possible object is CTOMathJc
    • setDefJc

      public void setDefJc(CTOMathJc value)
      Sets the value of the defJc property.
      Parameters:
      value - allowed object is CTOMathJc
    • getPreSp

      public CTTwipsMeasure getPreSp()
      Gets the value of the preSp property.
      Returns:
      possible object is CTTwipsMeasure
    • setPreSp

      public void setPreSp(CTTwipsMeasure value)
      Sets the value of the preSp property.
      Parameters:
      value - allowed object is CTTwipsMeasure
    • getPostSp

      public CTTwipsMeasure getPostSp()
      Gets the value of the postSp property.
      Returns:
      possible object is CTTwipsMeasure
    • setPostSp

      public void setPostSp(CTTwipsMeasure value)
      Sets the value of the postSp property.
      Parameters:
      value - allowed object is CTTwipsMeasure
    • getInterSp

      public CTTwipsMeasure getInterSp()
      Gets the value of the interSp property.
      Returns:
      possible object is CTTwipsMeasure
    • setInterSp

      public void setInterSp(CTTwipsMeasure value)
      Sets the value of the interSp property.
      Parameters:
      value - allowed object is CTTwipsMeasure
    • getIntraSp

      public CTTwipsMeasure getIntraSp()
      Gets the value of the intraSp property.
      Returns:
      possible object is CTTwipsMeasure
    • setIntraSp

      public void setIntraSp(CTTwipsMeasure value)
      Sets the value of the intraSp property.
      Parameters:
      value - allowed object is CTTwipsMeasure
    • getWrapIndent

      public CTTwipsMeasure getWrapIndent()
      Gets the value of the wrapIndent property.
      Returns:
      possible object is CTTwipsMeasure
    • setWrapIndent

      public void setWrapIndent(CTTwipsMeasure value)
      Sets the value of the wrapIndent property.
      Parameters:
      value - allowed object is CTTwipsMeasure
    • getWrapRight

      public CTOnOff getWrapRight()
      Gets the value of the wrapRight property.
      Returns:
      possible object is CTOnOff
    • setWrapRight

      public void setWrapRight(CTOnOff value)
      Sets the value of the wrapRight property.
      Parameters:
      value - allowed object is CTOnOff
    • getIntLim

      public CTLimLoc getIntLim()
      Gets the value of the intLim property.
      Returns:
      possible object is CTLimLoc
    • setIntLim

      public void setIntLim(CTLimLoc value)
      Sets the value of the intLim property.
      Parameters:
      value - allowed object is CTLimLoc
    • getNaryLim

      public CTLimLoc getNaryLim()
      Gets the value of the naryLim property.
      Returns:
      possible object is CTLimLoc
    • setNaryLim

      public void setNaryLim(CTLimLoc value)
      Sets the value of the naryLim property.
      Parameters:
      value - allowed object is CTLimLoc
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.