Package org.xlsx4j.sml
Class CTCsPageSetup
java.lang.Object
org.xlsx4j.sml.CTCsPageSetup
- All Implemented Interfaces:
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.longGets the value of the copies property.longGets the value of the firstPageNumber property.longGets the value of the horizontalDpi property.getId()Gets the value of the id property.Gets the value of the orientation property.Gets the value of the paperHeight property.longGets the value of the paperSize property.Gets the value of the paperWidth property.Gets the parent object in the object tree representing the unmarshalled xml document.longGets the value of the verticalDpi property.booleanGets the value of the blackAndWhite property.booleanisDraft()Gets the value of the draft property.booleanGets the value of the useFirstPageNumber property.booleanGets the value of the usePrinterDefaults property.voidsetBlackAndWhite(Boolean value) Sets the value of the blackAndWhite property.voidSets the value of the copies property.voidSets the value of the draft property.voidsetFirstPageNumber(Long value) Sets the value of the firstPageNumber property.voidsetHorizontalDpi(Long value) Sets the value of the horizontalDpi property.voidSets the value of the id property.voidsetOrientation(STOrientation value) Sets the value of the orientation property.voidsetPaperHeight(String value) Sets the value of the paperHeight property.voidsetPaperSize(Long value) Sets the value of the paperSize property.voidsetPaperWidth(String value) Sets the value of the paperWidth property.voidvoidsetUseFirstPageNumber(Boolean value) Sets the value of the useFirstPageNumber property.voidsetUsePrinterDefaults(Boolean value) Sets the value of the usePrinterDefaults property.voidsetVerticalDpi(Long value) Sets the value of the verticalDpi property.
-
Field Details
-
paperSize
-
paperHeight
-
paperWidth
-
firstPageNumber
-
orientation
-
usePrinterDefaults
-
blackAndWhite
-
draft
-
useFirstPageNumber
-
horizontalDpi
-
verticalDpi
-
copies
-
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
Sets the value of the paperSize property.- Parameters:
value- allowed object isLong
-
getPaperHeight
Gets the value of the paperHeight property.- Returns:
- possible object is
String
-
setPaperHeight
Sets the value of the paperHeight property.- Parameters:
value- allowed object isString
-
getPaperWidth
Gets the value of the paperWidth property.- Returns:
- possible object is
String
-
setPaperWidth
Sets the value of the paperWidth property.- Parameters:
value- allowed object isString
-
getFirstPageNumber
public long getFirstPageNumber()Gets the value of the firstPageNumber property.- Returns:
- possible object is
Long
-
setFirstPageNumber
Sets the value of the firstPageNumber property.- Parameters:
value- allowed object isLong
-
getOrientation
Gets the value of the orientation property.- Returns:
- possible object is
STOrientation
-
setOrientation
Sets the value of the orientation property.- Parameters:
value- allowed object isSTOrientation
-
isUsePrinterDefaults
public boolean isUsePrinterDefaults()Gets the value of the usePrinterDefaults property.- Returns:
- possible object is
Boolean
-
setUsePrinterDefaults
Sets the value of the usePrinterDefaults property.- Parameters:
value- allowed object isBoolean
-
isBlackAndWhite
public boolean isBlackAndWhite()Gets the value of the blackAndWhite property.- Returns:
- possible object is
Boolean
-
setBlackAndWhite
Sets the value of the blackAndWhite property.- Parameters:
value- allowed object isBoolean
-
isDraft
public boolean isDraft()Gets the value of the draft property.- Returns:
- possible object is
Boolean
-
setDraft
Sets the value of the draft property.- Parameters:
value- allowed object isBoolean
-
isUseFirstPageNumber
public boolean isUseFirstPageNumber()Gets the value of the useFirstPageNumber property.- Returns:
- possible object is
Boolean
-
setUseFirstPageNumber
Sets the value of the useFirstPageNumber property.- Parameters:
value- allowed object isBoolean
-
getHorizontalDpi
public long getHorizontalDpi()Gets the value of the horizontalDpi property.- Returns:
- possible object is
Long
-
setHorizontalDpi
Sets the value of the horizontalDpi property.- Parameters:
value- allowed object isLong
-
getVerticalDpi
public long getVerticalDpi()Gets the value of the verticalDpi property.- Returns:
- possible object is
Long
-
setVerticalDpi
Sets the value of the verticalDpi property.- Parameters:
value- allowed object isLong
-
getCopies
public long getCopies()Gets the value of the copies property.- Returns:
- possible object is
Long
-
setCopies
Sets the value of the copies property.- Parameters:
value- allowed object isLong
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-