Package org.xlsx4j.sml
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
-
Constructor Summary
Constructors Constructor Description CTPageMargins() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.doublegetBottom()Gets the value of the bottom property.doublegetFooter()Gets the value of the footer property.doublegetHeader()Gets the value of the header property.doublegetLeft()Gets the value of the left property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.doublegetRight()Gets the value of the right property.doublegetTop()Gets the value of the top property.voidsetBottom(double value)Sets the value of the bottom property.voidsetFooter(double value)Sets the value of the footer property.voidsetHeader(double value)Sets the value of the header property.voidsetLeft(double value)Sets the value of the left property.voidsetParent(java.lang.Object parent)voidsetRight(double value)Sets the value of the right property.voidsetTop(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
-
-
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. -
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
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.
-