Package org.docx4j.wml
Class CTDocGrid
java.lang.Object
org.docx4j.wml.CTDocGrid
- All Implemented Interfaces:
Child
public class CTDocGrid extends java.lang.Object implements Child
Java class for CT_DocGrid complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_DocGrid">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="type" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DocGrid" />
<attribute name="linePitch" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
<attribute name="charSpace" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CTDocGrid() -
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.BigIntegergetCharSpace()Gets the value of the charSpace property.java.math.BigIntegergetLinePitch()Gets the value of the linePitch property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.STDocGridgetType()Gets the value of the type property.voidsetCharSpace(java.math.BigInteger value)Sets the value of the charSpace property.voidsetLinePitch(java.math.BigInteger value)Sets the value of the linePitch property.voidsetParent(java.lang.Object parent)voidsetType(STDocGrid value)Sets the value of the type property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
type
-
linePitch
protected java.math.BigInteger linePitch -
charSpace
protected java.math.BigInteger charSpace
-
-
Constructor Details
-
CTDocGrid
public CTDocGrid()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
STDocGrid
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isSTDocGrid
-
getLinePitch
public java.math.BigInteger getLinePitch()Gets the value of the linePitch property.- Returns:
- possible object is
BigInteger
-
setLinePitch
public void setLinePitch(java.math.BigInteger value)Sets the value of the linePitch property.- Parameters:
value- allowed object isBigInteger
-
getCharSpace
public java.math.BigInteger getCharSpace()Gets the value of the charSpace property.- Returns:
- possible object is
BigInteger
-
setCharSpace
public void setCharSpace(java.math.BigInteger value)Sets the value of the charSpace property.- Parameters:
value- allowed object isBigInteger
-
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.
-