Class SectPr.PgSz

java.lang.Object
org.docx4j.wml.SectPr.PgSz
All Implemented Interfaces:
Child
Enclosing class:
SectPr

public static class SectPr.PgSz extends 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 Details

  • Constructor Details

    • PgSz

      public PgSz()
  • Method Details

    • getW

      public BigInteger getW()
      Gets the value of the w property.
      Returns:
      possible object is BigInteger
    • setW

      public void setW(BigInteger value)
      Sets the value of the w property.
      Parameters:
      value - allowed object is BigInteger
    • getH

      public BigInteger getH()
      Gets the value of the h property.
      Returns:
      possible object is BigInteger
    • setH

      public void setH(BigInteger value)
      Sets the value of the h property.
      Parameters:
      value - allowed object is BigInteger
    • getOrient

      public STPageOrientation getOrient()
      Gets the value of the orient property.
      Returns:
      possible object is STPageOrientation
    • setOrient

      public void setOrient(STPageOrientation value)
      Sets the value of the orient property.
      Parameters:
      value - allowed object is STPageOrientation
    • getCode

      public BigInteger getCode()
      Gets the value of the code property.
      Returns:
      possible object is BigInteger
    • setCode

      public void setCode(BigInteger value)
      Sets the value of the code property.
      Parameters:
      value - allowed object is BigInteger
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.