Package org.docx4j.wml
Class SectPr.PgSz
java.lang.Object
org.docx4j.wml.SectPr.PgSz
- All Implemented Interfaces:
Child
- Enclosing class:
- SectPr
public static class SectPr.PgSz 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="w" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
<attribute name="h" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
<attribute name="orient" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_PageOrientation" />
<attribute name="code" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.math.BigIntegercodeprotected java.math.BigIntegerhprotected STPageOrientationorientprotected java.math.BigIntegerw -
Constructor Summary
Constructors Constructor Description PgSz() -
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.BigIntegergetCode()Gets the value of the code property.java.math.BigIntegergetH()Gets the value of the h property.STPageOrientationgetOrient()Gets the value of the orient property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.math.BigIntegergetW()Gets the value of the w property.voidsetCode(java.math.BigInteger value)Sets the value of the code property.voidsetH(java.math.BigInteger value)Sets the value of the h property.voidsetOrient(STPageOrientation value)Sets the value of the orient property.voidsetParent(java.lang.Object parent)voidsetW(java.math.BigInteger value)Sets the value of the w property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
w
protected java.math.BigInteger w -
h
protected java.math.BigInteger h -
orient
-
code
protected java.math.BigInteger code
-
-
Constructor Details
-
PgSz
public PgSz()
-
-
Method Details
-
getW
public java.math.BigInteger getW()Gets the value of the w property.- Returns:
- possible object is
BigInteger
-
setW
public void setW(java.math.BigInteger value)Sets the value of the w property.- Parameters:
value- allowed object isBigInteger
-
getH
public java.math.BigInteger getH()Gets the value of the h property.- Returns:
- possible object is
BigInteger
-
setH
public void setH(java.math.BigInteger value)Sets the value of the h property.- Parameters:
value- allowed object isBigInteger
-
getOrient
Gets the value of the orient property.- Returns:
- possible object is
STPageOrientation
-
setOrient
Sets the value of the orient property.- Parameters:
value- allowed object isSTPageOrientation
-
getCode
public java.math.BigInteger getCode()Gets the value of the code property.- Returns:
- possible object is
BigInteger
-
setCode
public void setCode(java.math.BigInteger value)Sets the value of the code 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.
-