Class CTPageSetup
java.lang.Object
org.docx4j.com.microsoft.schemas.office.drawing.x2014.chartex.CTPageSetup
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>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGets the value of the copies property.longGets the value of the firstPageNumber property.intGets the value of the horizontalDpi property.Gets the value of the orientation property.longGets the value of the paperSize property.intGets 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.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(Integer value) Sets the value of the horizontalDpi property.voidsetOrientation(STPageOrientation value) Sets the value of the orientation property.voidsetPaperSize(Long value) Sets the value of the paperSize property.voidsetUseFirstPageNumber(Boolean value) Sets the value of the useFirstPageNumber property.voidsetVerticalDpi(Integer value) Sets the value of the verticalDpi property.
-
Field Details
-
paperSize
-
firstPageNumber
-
orientation
-
blackAndWhite
-
draft
-
useFirstPageNumber
-
horizontalDpi
-
verticalDpi
-
copies
-
-
Constructor Details
-
CTPageSetup
public CTPageSetup()
-
-
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
-
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
STPageOrientation
-
setOrientation
Sets the value of the orientation property.- Parameters:
value- allowed object isSTPageOrientation
-
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 int getHorizontalDpi()Gets the value of the horizontalDpi property.- Returns:
- possible object is
Integer
-
setHorizontalDpi
Sets the value of the horizontalDpi property.- Parameters:
value- allowed object isInteger
-
getVerticalDpi
public int getVerticalDpi()Gets the value of the verticalDpi property.- Returns:
- possible object is
Integer
-
setVerticalDpi
Sets the value of the verticalDpi property.- Parameters:
value- allowed object isInteger
-
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
-