Package org.docx4j.wml
Class PPrBase.Spacing
java.lang.Object
org.docx4j.wml.PPrBase.Spacing
- All Implemented Interfaces:
Child
- Enclosing class:
- PPrBase
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
FieldsModifier and TypeFieldDescriptionprotected BigIntegerprotected Booleanprotected BigIntegerprotected BigIntegerprotected Booleanprotected BigIntegerprotected BigIntegerprotected STLineSpacingRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.getAfter()Gets the value of the after property.Gets the value of the afterLines property.Gets the value of the before property.Gets the value of the beforeLines property.getLine()Gets the value of the line property.Gets the value of the lineRule property.Gets the parent object in the object tree representing the unmarshalled xml document.booleanGets the value of the afterAutospacing property.booleanGets the value of the beforeAutospacing property.voidsetAfter(BigInteger value) Sets the value of the after property.voidsetAfterAutospacing(Boolean value) Sets the value of the afterAutospacing property.voidsetAfterLines(BigInteger value) Sets the value of the afterLines property.voidsetBefore(BigInteger value) Sets the value of the before property.voidsetBeforeAutospacing(Boolean value) Sets the value of the beforeAutospacing property.voidsetBeforeLines(BigInteger value) Sets the value of the beforeLines property.voidsetLine(BigInteger value) Sets the value of the line property.voidsetLineRule(STLineSpacingRule value) Sets the value of the lineRule property.void
-
Field Details
-
before
-
beforeLines
-
beforeAutospacing
-
after
-
afterLines
-
afterAutospacing
-
line
-
lineRule
-
-
Constructor Details
-
Spacing
public Spacing()
-
-
Method Details
-
getBefore
Gets the value of the before property.- Returns:
- possible object is
BigInteger
-
setBefore
Sets the value of the before property.- Parameters:
value- allowed object isBigInteger
-
getBeforeLines
Gets the value of the beforeLines property.- Returns:
- possible object is
BigInteger
-
setBeforeLines
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
Sets the value of the beforeAutospacing property.- Parameters:
value- allowed object isBoolean
-
getAfter
Gets the value of the after property.- Returns:
- possible object is
BigInteger
-
setAfter
Sets the value of the after property.- Parameters:
value- allowed object isBigInteger
-
getAfterLines
Gets the value of the afterLines property.- Returns:
- possible object is
BigInteger
-
setAfterLines
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
Sets the value of the afterAutospacing property.- Parameters:
value- allowed object isBoolean
-
getLine
Gets the value of the line property.- Returns:
- possible object is
BigInteger
-
setLine
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
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-