Java org.apache.poi.ss.usermodel PrintSetup fields, constructors, methods, implement or subclass

Example usage for Java org.apache.poi.ss.usermodel PrintSetup fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.poi.ss.usermodel PrintSetup.

The text is from its open source code.

Field

shortLETTER_PAPERSIZE
US Letter 8 1/2 x 11 in
shortTABLOID_PAPERSIZE
US Tabloid 11 x 17 in
shortLEDGER_PAPERSIZE
US Ledger 17 x 11 in
shortLEGAL_PAPERSIZE
US Legal 8 1/2 x 14 in
shortA3_PAPERSIZE
A3 - 297x420 mm
shortA4_PAPERSIZE
A4 - 210x297 mm
shortA5_PAPERSIZE
A5 - 148x210 mm

Method

shortgetCopies()
Returns the number of copies.
booleangetDraft()
Returns the draft mode.
shortgetFitHeight()
Returns the number of pages high to fit the sheet in.
shortgetFitWidth()
Returns the number of pages wide to fit sheet in.
doublegetFooterMargin()
Returns the footer margin.
doublegetHeaderMargin()
Returns the header margin.
shortgetHResolution()
Returns the horizontal resolution.
booleangetLandscape()
Returns the landscape mode.
booleangetLeftToRight()
Returns the left to right print order.
booleangetNoColor()
Returns the black and white setting.
booleangetNoOrientation()
Returns the no orientation.
booleangetNotes()
Returns the print notes.
shortgetPageStart()
Returns the page start.
shortgetPaperSize()
Returns the paper size.
shortgetScale()
Returns the scale.
booleangetUsePage()
Returns the use page numbers.
booleangetValidSettings()
Returns the valid settings.
shortgetVResolution()
Returns the vertical resolution.
voidsetCopies(short copies)
Sets the number of copies.
voidsetDraft(boolean d)
Set whether it is in draft mode
voidsetFitHeight(short height)
Set the number of pages high to fit the sheet in
voidsetFitWidth(short width)
Set the number of pages wide to fit the sheet in
voidsetFooterMargin(double footermargin)
Sets the footer margin.
voidsetHeaderMargin(double headermargin)
Sets the header margin.
voidsetHResolution(short resolution)
Sets the horizontal resolution.
voidsetLandscape(boolean ls)
Set whether to print in landscape
voidsetLeftToRight(boolean ltor)
Set whether to go left to right or top down in ordering
voidsetNoColor(boolean mono)
Set whether it is black and white
voidsetNoOrientation(boolean orientation)
Set no orientation.
voidsetNotes(boolean printnotes)
Print the include notes
voidsetPageStart(short start)
Set the page numbering start.
voidsetPaperSize(short size)
Set the paper size.
voidsetScale(short scale)
Set the scale.
voidsetUsePage(boolean page)
Set whether to use page start
voidsetValidSettings(boolean valid)
Valid settings.
voidsetVResolution(short resolution)
Sets the vertical resolution.