Class CTPageMargins

java.lang.Object
org.xlsx4j.sml.CTPageMargins
All Implemented Interfaces:
Child

public class CTPageMargins extends 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
     
    protected double
     
    protected double
     
    protected double
     
    protected double
     
    protected double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    double
    Gets the value of the bottom property.
    double
    Gets the value of the footer property.
    double
    Gets the value of the header property.
    double
    Gets the value of the left property.
    Gets the parent object in the object tree representing the unmarshalled xml document.
    double
    Gets the value of the right property.
    double
    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(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
    • top

      protected double top
    • bottom

      protected double bottom
  • Constructor Details

    • CTPageMargins

      public CTPageMargins()
  • 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 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.