public class CTPageSetup extends java.lang.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="firstPageNumber" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
<attribute name="orientation" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}ST_PageSetupOrientation" 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 java.lang.Boolean |
blackAndWhite |
protected java.lang.Long |
copies |
protected java.lang.Boolean |
draft |
protected java.lang.Long |
firstPageNumber |
protected java.lang.Integer |
horizontalDpi |
protected STPageSetupOrientation |
orientation |
protected java.lang.Long |
paperSize |
protected java.lang.Boolean |
useFirstPageNumber |
protected java.lang.Integer |
verticalDpi |
| Constructor and Description |
|---|
CTPageSetup() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(javax.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.
|
int |
getHorizontalDpi()
Gets the value of the horizontalDpi property.
|
STPageSetupOrientation |
getOrientation()
Gets the value of the orientation property.
|
long |
getPaperSize()
Gets the value of the paperSize property.
|
java.lang.Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
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(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.Integer value)
Sets the value of the horizontalDpi property.
|
void |
setOrientation(STPageSetupOrientation value)
Sets the value of the orientation property.
|
void |
setPaperSize(java.lang.Long value)
Sets the value of the paperSize property.
|
void |
setParent(java.lang.Object parent) |
void |
setUseFirstPageNumber(java.lang.Boolean value)
Sets the value of the useFirstPageNumber property.
|
void |
setVerticalDpi(java.lang.Integer value)
Sets the value of the verticalDpi property.
|
protected java.lang.Long paperSize
protected java.lang.Long firstPageNumber
protected STPageSetupOrientation orientation
protected java.lang.Boolean blackAndWhite
protected java.lang.Boolean draft
protected java.lang.Boolean useFirstPageNumber
protected java.lang.Integer horizontalDpi
protected java.lang.Integer verticalDpi
protected java.lang.Long copies
public long getPaperSize()
Longpublic void setPaperSize(java.lang.Long value)
value - allowed object is
Longpublic long getFirstPageNumber()
Longpublic void setFirstPageNumber(java.lang.Long value)
value - allowed object is
Longpublic STPageSetupOrientation getOrientation()
STPageSetupOrientationpublic void setOrientation(STPageSetupOrientation value)
value - allowed object is
STPageSetupOrientationpublic boolean isBlackAndWhite()
Booleanpublic void setBlackAndWhite(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isDraft()
Booleanpublic void setDraft(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isUseFirstPageNumber()
Booleanpublic void setUseFirstPageNumber(java.lang.Boolean value)
value - allowed object is
Booleanpublic int getHorizontalDpi()
Integerpublic void setHorizontalDpi(java.lang.Integer value)
value - allowed object is
Integerpublic int getVerticalDpi()
Integerpublic void setVerticalDpi(java.lang.Integer value)
value - allowed object is
Integerpublic long getCopies()
Longpublic void setCopies(java.lang.Long value)
value - allowed object is
Longpublic java.lang.Object getParent()
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007–2025. All rights reserved.