Class ChartSheetPageSetupSettings
java.lang.Object
com.independentsoft.office.spreadsheet.ChartSheetPageSetupSettings
The Class ChartSheetPageSetupSettings.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new chart sheet page setup settings. -
Method Summary
Modifier and TypeMethodDescriptionclone()intGets the copies.intGets the first page number.longGets the horizontal dpi.Gets the orientation.Gets the paper size.Gets the relationship id.longGets the vertical dpi.booleanChecks if is black and white.booleanisDraft()Checks if is draft.voidsetBlackAndWhite(boolean blackAndWhite)Sets the black and white.voidsetCopies(int copies)Sets the copies.voidsetDraft(boolean draft)Sets the draft.voidsetFirstPageNumber(int firstPageNumber)Sets the first page number.voidsetHorizontalDpi(long horizontalDpi)Sets the horizontal dpi.voidsetOrientation(Orientation orientation)Sets the orientation.voidsetPaperSize(PaperSize paperSize)Sets the paper size.voidsetRelationshipID(String relationshipID)Sets the relationship id.voidsetUseFirstPageNumber(boolean useFirstPageNumber)Sets the use first page number.voidsetUsePrinterDefaults(boolean usePrinterDefaults)Sets the use printer defaults.voidsetVerticalDpi(long verticalDpi)Sets the vertical dpi.toString()booleanUse first page number.booleanUse printer defaults.
-
Constructor Details
-
ChartSheetPageSetupSettings
public ChartSheetPageSetupSettings()Instantiates a new chart sheet page setup settings.
-
-
Method Details
-
clone
-
toString
-
isBlackAndWhite
public boolean isBlackAndWhite()Checks if is black and white.- Returns:
- true, if is black and white
-
setBlackAndWhite
public void setBlackAndWhite(boolean blackAndWhite)Sets the black and white.- Parameters:
blackAndWhite- the new black and white
-
getCopies
public int getCopies()Gets the copies.- Returns:
- the copies
-
setCopies
public void setCopies(int copies)Sets the copies.- Parameters:
copies- the new copies
-
isDraft
public boolean isDraft()Checks if is draft.- Returns:
- true, if is draft
-
setDraft
public void setDraft(boolean draft)Sets the draft.- Parameters:
draft- the new draft
-
getFirstPageNumber
public int getFirstPageNumber()Gets the first page number.- Returns:
- the first page number
-
setFirstPageNumber
public void setFirstPageNumber(int firstPageNumber)Sets the first page number.- Parameters:
firstPageNumber- the new first page number
-
getHorizontalDpi
public long getHorizontalDpi()Gets the horizontal dpi.- Returns:
- the horizontal dpi
-
setHorizontalDpi
public void setHorizontalDpi(long horizontalDpi)Sets the horizontal dpi.- Parameters:
horizontalDpi- the new horizontal dpi
-
getOrientation
Gets the orientation.- Returns:
- the orientation
-
setOrientation
Sets the orientation.- Parameters:
orientation- the new orientation
-
getPaperSize
Gets the paper size.- Returns:
- the paper size
-
setPaperSize
Sets the paper size.- Parameters:
paperSize- the new paper size
-
getRelationshipID
Gets the relationship id.- Returns:
- the relationship id
-
setRelationshipID
Sets the relationship id.- Parameters:
relationshipID- the new relationship id
-
useFirstPageNumber
public boolean useFirstPageNumber()Use first page number.- Returns:
- true, if successful
-
setUseFirstPageNumber
public void setUseFirstPageNumber(boolean useFirstPageNumber)Sets the use first page number.- Parameters:
useFirstPageNumber- the new use first page number
-
usePrinterDefaults
public boolean usePrinterDefaults()Use printer defaults.- Returns:
- true, if successful
-
setUsePrinterDefaults
public void setUsePrinterDefaults(boolean usePrinterDefaults)Sets the use printer defaults.- Parameters:
usePrinterDefaults- the new use printer defaults
-
getVerticalDpi
public long getVerticalDpi()Gets the vertical dpi.- Returns:
- the vertical dpi
-
setVerticalDpi
public void setVerticalDpi(long verticalDpi)Sets the vertical dpi.- Parameters:
verticalDpi- the new vertical dpi
-