public class CTPageSetup extends Object
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="firstPageNumber" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
<attribute name="orientation" type="{http://schemas.microsoft.com/office/drawing/2014/chartex}ST_PageOrientation" default="default" />
<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}int" default="600" />
<attribute name="verticalDpi" type="{http://www.w3.org/2001/XMLSchema}int" default="600" />
<attribute name="copies" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
blackAndWhite |
protected Long |
copies |
protected Boolean |
draft |
protected Long |
firstPageNumber |
protected Integer |
horizontalDpi |
protected STPageOrientation |
orientation |
protected Long |
paperSize |
protected Boolean |
useFirstPageNumber |
protected Integer |
verticalDpi |
| Constructor and Description |
|---|
CTPageSetup() |
| Modifier and Type | Method and Description |
|---|---|
long |
getCopies()
Gets the value of the copies property.
|
long |
getFirstPageNumber()
Gets the value of the firstPageNumber property.
|
int |
getHorizontalDpi()
Gets the value of the horizontalDpi property.
|
STPageOrientation |
getOrientation()
Gets the value of the orientation property.
|
long |
getPaperSize()
Gets the value of the paperSize property.
|
int |
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.
|
void |
setBlackAndWhite(Boolean value)
Sets the value of the blackAndWhite property.
|
void |
setCopies(Long value)
Sets the value of the copies property.
|
void |
setDraft(Boolean value)
Sets the value of the draft property.
|
void |
setFirstPageNumber(Long value)
Sets the value of the firstPageNumber property.
|
void |
setHorizontalDpi(Integer value)
Sets the value of the horizontalDpi property.
|
void |
setOrientation(STPageOrientation value)
Sets the value of the orientation property.
|
void |
setPaperSize(Long value)
Sets the value of the paperSize property.
|
void |
setUseFirstPageNumber(Boolean value)
Sets the value of the useFirstPageNumber property.
|
void |
setVerticalDpi(Integer value)
Sets the value of the verticalDpi property.
|
protected Long paperSize
protected Long firstPageNumber
protected STPageOrientation orientation
protected Boolean blackAndWhite
protected Boolean draft
protected Boolean useFirstPageNumber
protected Integer horizontalDpi
protected Integer verticalDpi
protected Long copies
public long getPaperSize()
Longpublic void setPaperSize(Long value)
value - allowed object is
Longpublic long getFirstPageNumber()
Longpublic void setFirstPageNumber(Long value)
value - allowed object is
Longpublic STPageOrientation getOrientation()
STPageOrientationpublic void setOrientation(STPageOrientation value)
value - allowed object is
STPageOrientationpublic boolean isBlackAndWhite()
Booleanpublic void setBlackAndWhite(Boolean value)
value - allowed object is
Booleanpublic boolean isDraft()
Booleanpublic void setDraft(Boolean value)
value - allowed object is
Booleanpublic boolean isUseFirstPageNumber()
Booleanpublic void setUseFirstPageNumber(Boolean value)
value - allowed object is
Booleanpublic int getHorizontalDpi()
Integerpublic void setHorizontalDpi(Integer value)
value - allowed object is
Integerpublic int getVerticalDpi()
Integerpublic void setVerticalDpi(Integer value)
value - allowed object is
Integerpublic long getCopies()
LongCopyright © 2007-2022. All Rights Reserved.