Class PPrBase.Spacing

java.lang.Object
org.docx4j.wml.PPrBase.Spacing
All Implemented Interfaces:
Child
Enclosing class:
PPrBase

public static class PPrBase.Spacing
extends java.lang.Object
implements Child

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="before" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
       <attribute name="beforeLines" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
       <attribute name="beforeAutospacing" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="after" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
       <attribute name="afterLines" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
       <attribute name="afterAutospacing" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="line" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_SignedTwipsMeasure" />
       <attribute name="lineRule" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LineSpacingRule" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.math.BigInteger after  
    protected java.lang.Boolean afterAutospacing  
    protected java.math.BigInteger afterLines  
    protected java.math.BigInteger before  
    protected java.lang.Boolean beforeAutospacing  
    protected java.math.BigInteger beforeLines  
    protected java.math.BigInteger line  
    protected STLineSpacingRule lineRule  
  • Constructor Summary

    Constructors
    Constructor Description
    Spacing()  
  • Method Summary

    Modifier and Type Method Description
    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.
    java.math.BigInteger getAfter()
    Gets the value of the after property.
    java.math.BigInteger getAfterLines()
    Gets the value of the afterLines property.
    java.math.BigInteger getBefore()
    Gets the value of the before property.
    java.math.BigInteger getBeforeLines()
    Gets the value of the beforeLines property.
    java.math.BigInteger getLine()
    Gets the value of the line property.
    STLineSpacingRule getLineRule()
    Gets the value of the lineRule property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    boolean isAfterAutospacing()
    Gets the value of the afterAutospacing property.
    boolean isBeforeAutospacing()
    Gets the value of the beforeAutospacing property.
    void setAfter​(java.math.BigInteger value)
    Sets the value of the after property.
    void setAfterAutospacing​(java.lang.Boolean value)
    Sets the value of the afterAutospacing property.
    void setAfterLines​(java.math.BigInteger value)
    Sets the value of the afterLines property.
    void setBefore​(java.math.BigInteger value)
    Sets the value of the before property.
    void setBeforeAutospacing​(java.lang.Boolean value)
    Sets the value of the beforeAutospacing property.
    void setBeforeLines​(java.math.BigInteger value)
    Sets the value of the beforeLines property.
    void setLine​(java.math.BigInteger value)
    Sets the value of the line property.
    void setLineRule​(STLineSpacingRule value)
    Sets the value of the lineRule property.
    void setParent​(java.lang.Object parent)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • before

      protected java.math.BigInteger before
    • beforeLines

      protected java.math.BigInteger beforeLines
    • beforeAutospacing

      protected java.lang.Boolean beforeAutospacing
    • after

      protected java.math.BigInteger after
    • afterLines

      protected java.math.BigInteger afterLines
    • afterAutospacing

      protected java.lang.Boolean afterAutospacing
    • line

      protected java.math.BigInteger line
    • lineRule

      protected STLineSpacingRule lineRule
  • Constructor Details

    • Spacing

      public Spacing()
  • Method Details

    • getBefore

      public java.math.BigInteger getBefore()
      Gets the value of the before property.
      Returns:
      possible object is BigInteger
    • setBefore

      public void setBefore​(java.math.BigInteger value)
      Sets the value of the before property.
      Parameters:
      value - allowed object is BigInteger
    • getBeforeLines

      public java.math.BigInteger getBeforeLines()
      Gets the value of the beforeLines property.
      Returns:
      possible object is BigInteger
    • setBeforeLines

      public void setBeforeLines​(java.math.BigInteger value)
      Sets the value of the beforeLines property.
      Parameters:
      value - allowed object is BigInteger
    • isBeforeAutospacing

      public boolean isBeforeAutospacing()
      Gets the value of the beforeAutospacing property.
      Returns:
      possible object is Boolean
    • setBeforeAutospacing

      public void setBeforeAutospacing​(java.lang.Boolean value)
      Sets the value of the beforeAutospacing property.
      Parameters:
      value - allowed object is Boolean
    • getAfter

      public java.math.BigInteger getAfter()
      Gets the value of the after property.
      Returns:
      possible object is BigInteger
    • setAfter

      public void setAfter​(java.math.BigInteger value)
      Sets the value of the after property.
      Parameters:
      value - allowed object is BigInteger
    • getAfterLines

      public java.math.BigInteger getAfterLines()
      Gets the value of the afterLines property.
      Returns:
      possible object is BigInteger
    • setAfterLines

      public void setAfterLines​(java.math.BigInteger value)
      Sets the value of the afterLines property.
      Parameters:
      value - allowed object is BigInteger
    • isAfterAutospacing

      public boolean isAfterAutospacing()
      Gets the value of the afterAutospacing property.
      Returns:
      possible object is Boolean
    • setAfterAutospacing

      public void setAfterAutospacing​(java.lang.Boolean value)
      Sets the value of the afterAutospacing property.
      Parameters:
      value - allowed object is Boolean
    • getLine

      public java.math.BigInteger getLine()
      Gets the value of the line property.
      Returns:
      possible object is BigInteger
    • setLine

      public void setLine​(java.math.BigInteger value)
      Sets the value of the line property.
      Parameters:
      value - allowed object is BigInteger
    • getLineRule

      public STLineSpacingRule getLineRule()
      Gets the value of the lineRule property.
      Returns:
      possible object is STLineSpacingRule
    • setLineRule

      public void setLineRule​(STLineSpacingRule value)
      Sets the value of the lineRule property.
      Parameters:
      value - allowed object is STLineSpacingRule
    • getParent

      public java.lang.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​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • 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.