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.BigInteger code  
    protected java.math.BigInteger h  
    protected STPageOrientation orient  
    protected java.math.BigInteger w  
  • Constructor Summary

    Constructors
    Constructor Description
    PgSz()  
  • Method Summary

    Modifier and Type Method Description
    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.
    java.math.BigInteger getCode()
    Gets the value of the code property.
    java.math.BigInteger getH()
    Gets the value of the h property.
    STPageOrientation getOrient()
    Gets the value of the orient property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    java.math.BigInteger getW()
    Gets the value of the w property.
    void setCode​(java.math.BigInteger value)
    Sets the value of the code property.
    void setH​(java.math.BigInteger value)
    Sets the value of the h property.
    void setOrient​(STPageOrientation value)
    Sets the value of the orient property.
    void setParent​(java.lang.Object parent)  
    void setW​(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

      protected STPageOrientation 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 is BigInteger
    • 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 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 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 is BigInteger
    • getParent

      public java.lang.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​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • 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.