Package org.docx4j.wml
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.BigIntegerafterprotected java.lang.BooleanafterAutospacingprotected java.math.BigIntegerafterLinesprotected java.math.BigIntegerbeforeprotected java.lang.BooleanbeforeAutospacingprotected java.math.BigIntegerbeforeLinesprotected java.math.BigIntegerlineprotected STLineSpacingRulelineRule -
Constructor Summary
Constructors Constructor Description Spacing() -
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.java.math.BigIntegergetAfter()Gets the value of the after property.java.math.BigIntegergetAfterLines()Gets the value of the afterLines property.java.math.BigIntegergetBefore()Gets the value of the before property.java.math.BigIntegergetBeforeLines()Gets the value of the beforeLines property.java.math.BigIntegergetLine()Gets the value of the line property.STLineSpacingRulegetLineRule()Gets the value of the lineRule property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.booleanisAfterAutospacing()Gets the value of the afterAutospacing property.booleanisBeforeAutospacing()Gets the value of the beforeAutospacing property.voidsetAfter(java.math.BigInteger value)Sets the value of the after property.voidsetAfterAutospacing(java.lang.Boolean value)Sets the value of the afterAutospacing property.voidsetAfterLines(java.math.BigInteger value)Sets the value of the afterLines property.voidsetBefore(java.math.BigInteger value)Sets the value of the before property.voidsetBeforeAutospacing(java.lang.Boolean value)Sets the value of the beforeAutospacing property.voidsetBeforeLines(java.math.BigInteger value)Sets the value of the beforeLines property.voidsetLine(java.math.BigInteger value)Sets the value of the line property.voidsetLineRule(STLineSpacingRule value)Sets the value of the lineRule property.voidsetParent(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
-
-
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 isBigInteger
-
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 isBigInteger
-
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 isBoolean
-
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 isBigInteger
-
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 isBigInteger
-
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 isBoolean
-
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 isBigInteger
-
getLineRule
Gets the value of the lineRule property.- Returns:
- possible object is
STLineSpacingRule
-
setLineRule
Sets the value of the lineRule property.- Parameters:
value- allowed object isSTLineSpacingRule
-
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.
-