Package org.docx4j.wml
Class SectPr.PgSz
java.lang.Object
org.docx4j.wml.SectPr.PgSz
- All Implemented Interfaces:
Child
- Enclosing class:
- SectPr
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
FieldsModifier and TypeFieldDescriptionprotected BigIntegerprotected BigIntegerprotected STPageOrientationprotected BigInteger -
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.getCode()Gets the value of the code property.getH()Gets the value of the h property.Gets the value of the orient property.Gets the parent object in the object tree representing the unmarshalled xml document.getW()Gets the value of the w property.voidsetCode(BigInteger value) Sets the value of the code property.voidsetH(BigInteger value) Sets the value of the h property.voidsetOrient(STPageOrientation value) Sets the value of the orient property.voidvoidsetW(BigInteger value) Sets the value of the w property.
-
Field Details
-
w
-
h
-
orient
-
code
-
-
Constructor Details
-
PgSz
public PgSz()
-
-
Method Details
-
getW
Gets the value of the w property.- Returns:
- possible object is
BigInteger
-
setW
Sets the value of the w property.- Parameters:
value- allowed object isBigInteger
-
getH
Gets the value of the h property.- Returns:
- possible object is
BigInteger
-
setH
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
Gets the value of the code property.- Returns:
- possible object is
BigInteger
-
setCode
Sets the value of the code property.- Parameters:
value- allowed object isBigInteger
-
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.
-