Class CTPageMargins

java.lang.Object
org.xlsx4j.sml.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="left" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="right" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="top" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="bottom" 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 bottom  
    protected double footer  
    protected double header  
    protected double left  
    protected double right  
    protected double top  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTPageMargins()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    double getBottom()
    Gets the value of the bottom property.
    double getFooter()
    Gets the value of the footer property.
    double getHeader()
    Gets the value of the header property.
    double getLeft()
    Gets the value of the left property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    double getRight()
    Gets the value of the right property.
    double getTop()
    Gets the value of the top property.
    void setBottom​(double value)
    Sets the value of the bottom property.
    void setFooter​(double value)
    Sets the value of the footer property.
    void setHeader​(double value)
    Sets the value of the header property.
    void setLeft​(double value)
    Sets the value of the left property.
    void setParent​(java.lang.Object parent)  
    void setRight​(double value)
    Sets the value of the right property.
    void setTop​(double value)
    Sets the value of the top property.

    Methods inherited from class java.lang.Object

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

    • left

      protected double left
    • right

      protected double right
    • top

      protected double top
    • bottom

      protected double bottom
    • header

      protected double header
    • footer

      protected double footer
  • Constructor Details

  • Method Details

    • getLeft

      public double getLeft()
      Gets the value of the left property.
    • setLeft

      public void setLeft​(double value)
      Sets the value of the left property.
    • getRight

      public double getRight()
      Gets the value of the right property.
    • setRight

      public void setRight​(double value)
      Sets the value of the right property.
    • getTop

      public double getTop()
      Gets the value of the top property.
    • setTop

      public void setTop​(double value)
      Sets the value of the top property.
    • getBottom

      public double getBottom()
      Gets the value of the bottom property.
    • setBottom

      public void setBottom​(double value)
      Sets the value of the bottom 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​(javax.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.