Class CTCsPageSetup

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

public class CTCsPageSetup
extends java.lang.Object
implements Child

Java class for CT_CsPageSetup complex type.

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

 <complexType name="CT_CsPageSetup">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="paperSize" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
       <attribute name="paperHeight" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_PositiveUniversalMeasure" />
       <attribute name="paperWidth" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_PositiveUniversalMeasure" />
       <attribute name="firstPageNumber" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
       <attribute name="orientation" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Orientation" default="default" />
       <attribute name="usePrinterDefaults" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="blackAndWhite" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="draft" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="useFirstPageNumber" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="horizontalDpi" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="600" />
       <attribute name="verticalDpi" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="600" />
       <attribute name="copies" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
       <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.Boolean blackAndWhite  
    protected java.lang.Long copies  
    protected java.lang.Boolean draft  
    protected java.lang.Long firstPageNumber  
    protected java.lang.Long horizontalDpi  
    protected java.lang.String id  
    protected STOrientation orientation  
    protected java.lang.String paperHeight  
    protected java.lang.Long paperSize  
    protected java.lang.String paperWidth  
    protected java.lang.Boolean useFirstPageNumber  
    protected java.lang.Boolean usePrinterDefaults  
    protected java.lang.Long verticalDpi  
  • Constructor Summary

    Constructors
    Constructor Description
    CTCsPageSetup()  
  • 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.
    long getCopies()
    Gets the value of the copies property.
    long getFirstPageNumber()
    Gets the value of the firstPageNumber property.
    long getHorizontalDpi()
    Gets the value of the horizontalDpi property.
    java.lang.String getId()
    Gets the value of the id property.
    STOrientation getOrientation()
    Gets the value of the orientation property.
    java.lang.String getPaperHeight()
    Gets the value of the paperHeight property.
    long getPaperSize()
    Gets the value of the paperSize property.
    java.lang.String getPaperWidth()
    Gets the value of the paperWidth property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    long getVerticalDpi()
    Gets the value of the verticalDpi property.
    boolean isBlackAndWhite()
    Gets the value of the blackAndWhite property.
    boolean isDraft()
    Gets the value of the draft property.
    boolean isUseFirstPageNumber()
    Gets the value of the useFirstPageNumber property.
    boolean isUsePrinterDefaults()
    Gets the value of the usePrinterDefaults property.
    void setBlackAndWhite​(java.lang.Boolean value)
    Sets the value of the blackAndWhite property.
    void setCopies​(java.lang.Long value)
    Sets the value of the copies property.
    void setDraft​(java.lang.Boolean value)
    Sets the value of the draft property.
    void setFirstPageNumber​(java.lang.Long value)
    Sets the value of the firstPageNumber property.
    void setHorizontalDpi​(java.lang.Long value)
    Sets the value of the horizontalDpi property.
    void setId​(java.lang.String value)
    Sets the value of the id property.
    void setOrientation​(STOrientation value)
    Sets the value of the orientation property.
    void setPaperHeight​(java.lang.String value)
    Sets the value of the paperHeight property.
    void setPaperSize​(java.lang.Long value)
    Sets the value of the paperSize property.
    void setPaperWidth​(java.lang.String value)
    Sets the value of the paperWidth property.
    void setParent​(java.lang.Object parent)  
    void setUseFirstPageNumber​(java.lang.Boolean value)
    Sets the value of the useFirstPageNumber property.
    void setUsePrinterDefaults​(java.lang.Boolean value)
    Sets the value of the usePrinterDefaults property.
    void setVerticalDpi​(java.lang.Long value)
    Sets the value of the verticalDpi property.

    Methods inherited from class java.lang.Object

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

    • paperSize

      protected java.lang.Long paperSize
    • paperHeight

      protected java.lang.String paperHeight
    • paperWidth

      protected java.lang.String paperWidth
    • firstPageNumber

      protected java.lang.Long firstPageNumber
    • orientation

      protected STOrientation orientation
    • usePrinterDefaults

      protected java.lang.Boolean usePrinterDefaults
    • blackAndWhite

      protected java.lang.Boolean blackAndWhite
    • draft

      protected java.lang.Boolean draft
    • useFirstPageNumber

      protected java.lang.Boolean useFirstPageNumber
    • horizontalDpi

      protected java.lang.Long horizontalDpi
    • verticalDpi

      protected java.lang.Long verticalDpi
    • copies

      protected java.lang.Long copies
    • id

      protected java.lang.String id
  • Constructor Details

    • CTCsPageSetup

      public CTCsPageSetup()
  • Method Details

    • getPaperSize

      public long getPaperSize()
      Gets the value of the paperSize property.
      Returns:
      possible object is Long
    • setPaperSize

      public void setPaperSize​(java.lang.Long value)
      Sets the value of the paperSize property.
      Parameters:
      value - allowed object is Long
    • getPaperHeight

      public java.lang.String getPaperHeight()
      Gets the value of the paperHeight property.
      Returns:
      possible object is String
    • setPaperHeight

      public void setPaperHeight​(java.lang.String value)
      Sets the value of the paperHeight property.
      Parameters:
      value - allowed object is String
    • getPaperWidth

      public java.lang.String getPaperWidth()
      Gets the value of the paperWidth property.
      Returns:
      possible object is String
    • setPaperWidth

      public void setPaperWidth​(java.lang.String value)
      Sets the value of the paperWidth property.
      Parameters:
      value - allowed object is String
    • getFirstPageNumber

      public long getFirstPageNumber()
      Gets the value of the firstPageNumber property.
      Returns:
      possible object is Long
    • setFirstPageNumber

      public void setFirstPageNumber​(java.lang.Long value)
      Sets the value of the firstPageNumber property.
      Parameters:
      value - allowed object is Long
    • getOrientation

      public STOrientation getOrientation()
      Gets the value of the orientation property.
      Returns:
      possible object is STOrientation
    • setOrientation

      public void setOrientation​(STOrientation value)
      Sets the value of the orientation property.
      Parameters:
      value - allowed object is STOrientation
    • isUsePrinterDefaults

      public boolean isUsePrinterDefaults()
      Gets the value of the usePrinterDefaults property.
      Returns:
      possible object is Boolean
    • setUsePrinterDefaults

      public void setUsePrinterDefaults​(java.lang.Boolean value)
      Sets the value of the usePrinterDefaults property.
      Parameters:
      value - allowed object is Boolean
    • isBlackAndWhite

      public boolean isBlackAndWhite()
      Gets the value of the blackAndWhite property.
      Returns:
      possible object is Boolean
    • setBlackAndWhite

      public void setBlackAndWhite​(java.lang.Boolean value)
      Sets the value of the blackAndWhite property.
      Parameters:
      value - allowed object is Boolean
    • isDraft

      public boolean isDraft()
      Gets the value of the draft property.
      Returns:
      possible object is Boolean
    • setDraft

      public void setDraft​(java.lang.Boolean value)
      Sets the value of the draft property.
      Parameters:
      value - allowed object is Boolean
    • isUseFirstPageNumber

      public boolean isUseFirstPageNumber()
      Gets the value of the useFirstPageNumber property.
      Returns:
      possible object is Boolean
    • setUseFirstPageNumber

      public void setUseFirstPageNumber​(java.lang.Boolean value)
      Sets the value of the useFirstPageNumber property.
      Parameters:
      value - allowed object is Boolean
    • getHorizontalDpi

      public long getHorizontalDpi()
      Gets the value of the horizontalDpi property.
      Returns:
      possible object is Long
    • setHorizontalDpi

      public void setHorizontalDpi​(java.lang.Long value)
      Sets the value of the horizontalDpi property.
      Parameters:
      value - allowed object is Long
    • getVerticalDpi

      public long getVerticalDpi()
      Gets the value of the verticalDpi property.
      Returns:
      possible object is Long
    • setVerticalDpi

      public void setVerticalDpi​(java.lang.Long value)
      Sets the value of the verticalDpi property.
      Parameters:
      value - allowed object is Long
    • getCopies

      public long getCopies()
      Gets the value of the copies property.
      Returns:
      possible object is Long
    • setCopies

      public void setCopies​(java.lang.Long value)
      Sets the value of the copies property.
      Parameters:
      value - allowed object is Long
    • getId

      public java.lang.String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId​(java.lang.String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • 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.