public class CTPageSetup extends Object implements Child
Java class for CT_PageSetup complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_PageSetup"> <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="scale" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="100" /> <attribute name="firstPageNumber" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" /> <attribute name="fitToWidth" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" /> <attribute name="fitToHeight" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" /> <attribute name="pageOrder" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_PageOrder" default="downThenOver" /> <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="cellComments" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellComments" default="none" /> <attribute name="useFirstPageNumber" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="errors" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_PrintError" default="displayed" /> <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>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
blackAndWhite |
protected STCellComments |
cellComments |
protected Long |
copies |
protected Boolean |
draft |
protected STPrintError |
errors |
protected Long |
firstPageNumber |
protected Long |
fitToHeight |
protected Long |
fitToWidth |
protected Long |
horizontalDpi |
protected String |
id |
protected STOrientation |
orientation |
protected STPageOrder |
pageOrder |
protected String |
paperHeight |
protected Long |
paperSize |
protected String |
paperWidth |
protected Long |
scale |
protected Boolean |
useFirstPageNumber |
protected Boolean |
usePrinterDefaults |
protected Long |
verticalDpi |
Constructor and Description |
---|
CTPageSetup() |
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
STCellComments |
getCellComments()
Gets the value of the cellComments property.
|
long |
getCopies()
Gets the value of the copies property.
|
STPrintError |
getErrors()
Gets the value of the errors property.
|
long |
getFirstPageNumber()
Gets the value of the firstPageNumber property.
|
long |
getFitToHeight()
Gets the value of the fitToHeight property.
|
long |
getFitToWidth()
Gets the value of the fitToWidth property.
|
long |
getHorizontalDpi()
Gets the value of the horizontalDpi property.
|
String |
getId()
Gets the value of the id property.
|
STOrientation |
getOrientation()
Gets the value of the orientation property.
|
STPageOrder |
getPageOrder()
Gets the value of the pageOrder property.
|
String |
getPaperHeight()
Gets the value of the paperHeight property.
|
long |
getPaperSize()
Gets the value of the paperSize property.
|
String |
getPaperWidth()
Gets the value of the paperWidth property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
long |
getScale()
Gets the value of the scale property.
|
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(Boolean value)
Sets the value of the blackAndWhite property.
|
void |
setCellComments(STCellComments value)
Sets the value of the cellComments property.
|
void |
setCopies(Long value)
Sets the value of the copies property.
|
void |
setDraft(Boolean value)
Sets the value of the draft property.
|
void |
setErrors(STPrintError value)
Sets the value of the errors property.
|
void |
setFirstPageNumber(Long value)
Sets the value of the firstPageNumber property.
|
void |
setFitToHeight(Long value)
Sets the value of the fitToHeight property.
|
void |
setFitToWidth(Long value)
Sets the value of the fitToWidth property.
|
void |
setHorizontalDpi(Long value)
Sets the value of the horizontalDpi property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setOrientation(STOrientation value)
Sets the value of the orientation property.
|
void |
setPageOrder(STPageOrder value)
Sets the value of the pageOrder property.
|
void |
setPaperHeight(String value)
Sets the value of the paperHeight property.
|
void |
setPaperSize(Long value)
Sets the value of the paperSize property.
|
void |
setPaperWidth(String value)
Sets the value of the paperWidth property.
|
void |
setParent(Object parent) |
void |
setScale(Long value)
Sets the value of the scale property.
|
void |
setUseFirstPageNumber(Boolean value)
Sets the value of the useFirstPageNumber property.
|
void |
setUsePrinterDefaults(Boolean value)
Sets the value of the usePrinterDefaults property.
|
void |
setVerticalDpi(Long value)
Sets the value of the verticalDpi property.
|
protected Long paperSize
protected String paperHeight
protected String paperWidth
protected Long scale
protected Long firstPageNumber
protected Long fitToWidth
protected Long fitToHeight
protected STPageOrder pageOrder
protected STOrientation orientation
protected Boolean usePrinterDefaults
protected Boolean blackAndWhite
protected Boolean draft
protected STCellComments cellComments
protected Boolean useFirstPageNumber
protected STPrintError errors
protected Long horizontalDpi
protected Long verticalDpi
protected Long copies
protected String id
public long getPaperSize()
Long
public void setPaperSize(Long value)
value
- allowed object is
Long
public String getPaperHeight()
String
public void setPaperHeight(String value)
value
- allowed object is
String
public String getPaperWidth()
String
public void setPaperWidth(String value)
value
- allowed object is
String
public long getScale()
Long
public void setScale(Long value)
value
- allowed object is
Long
public long getFirstPageNumber()
Long
public void setFirstPageNumber(Long value)
value
- allowed object is
Long
public long getFitToWidth()
Long
public void setFitToWidth(Long value)
value
- allowed object is
Long
public long getFitToHeight()
Long
public void setFitToHeight(Long value)
value
- allowed object is
Long
public STPageOrder getPageOrder()
STPageOrder
public void setPageOrder(STPageOrder value)
value
- allowed object is
STPageOrder
public STOrientation getOrientation()
STOrientation
public void setOrientation(STOrientation value)
value
- allowed object is
STOrientation
public boolean isUsePrinterDefaults()
Boolean
public void setUsePrinterDefaults(Boolean value)
value
- allowed object is
Boolean
public boolean isBlackAndWhite()
Boolean
public void setBlackAndWhite(Boolean value)
value
- allowed object is
Boolean
public boolean isDraft()
Boolean
public void setDraft(Boolean value)
value
- allowed object is
Boolean
public STCellComments getCellComments()
STCellComments
public void setCellComments(STCellComments value)
value
- allowed object is
STCellComments
public boolean isUseFirstPageNumber()
Boolean
public void setUseFirstPageNumber(Boolean value)
value
- allowed object is
Boolean
public STPrintError getErrors()
STPrintError
public void setErrors(STPrintError value)
value
- allowed object is
STPrintError
public long getHorizontalDpi()
Long
public void setHorizontalDpi(Long value)
value
- allowed object is
Long
public long getVerticalDpi()
Long
public void setVerticalDpi(Long value)
value
- allowed object is
Long
public long getCopies()
Long
public void setCopies(Long value)
value
- allowed object is
Long
public void setId(String value)
value
- allowed object is
String
public Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent
- The parent object in the object tree.unmarshaller
- The unmarshaller that generated the instance.Copyright © 2007-2018. All Rights Reserved.