Class CTPageMargins

java.lang.Object
org.docx4j.dml.chart.CTPageMargins
All Implemented Interfaces:
Child

public class CTPageMargins
extends java.lang.Object
implements Child

Java class for CT_PageMargins complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_PageMargins">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="l" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="r" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="t" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="b" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="header" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="footer" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected double b  
    protected double footer  
    protected double header  
    protected double l  
    protected double r  
    protected double t  
  • Constructor Summary

    Constructors
    Constructor Description
    CTPageMargins()  
  • 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.
    double getB()
    Gets the value of the b property.
    double getFooter()
    Gets the value of the footer property.
    double getHeader()
    Gets the value of the header property.
    double getL()
    Gets the value of the l property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    double getR()
    Gets the value of the r property.
    double getT()
    Gets the value of the t property.
    void setB​(double value)
    Sets the value of the b property.
    void setFooter​(double value)
    Sets the value of the footer property.
    void setHeader​(double value)
    Sets the value of the header property.
    void setL​(double value)
    Sets the value of the l property.
    void setParent​(java.lang.Object parent)  
    void setR​(double value)
    Sets the value of the r property.
    void setT​(double value)
    Sets the value of the t property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • l

      protected double l
    • r

      protected double r
    • t

      protected double t
    • b

      protected double b
  • Constructor Details

    • CTPageMargins

      public CTPageMargins()
  • Method Details

    • getL

      public double getL()
      Gets the value of the l property.
    • setL

      public void setL​(double value)
      Sets the value of the l property.
    • getR

      public double getR()
      Gets the value of the r property.
    • setR

      public void setR​(double value)
      Sets the value of the r property.
    • getT

      public double getT()
      Gets the value of the t property.
    • setT

      public void setT​(double value)
      Sets the value of the t property.
    • getB

      public double getB()
      Gets the value of the b property.
    • setB

      public void setB​(double value)
      Sets the value of the b property.
    • getHeader

      public double getHeader()
      Gets the value of the header property.
    • setHeader

      public void setHeader​(double value)
      Sets the value of the header property.
    • getFooter

      public double getFooter()
      Gets the value of the footer property.
    • setFooter

      public void setFooter​(double value)
      Sets the value of the footer property.
    • 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.