Example usage for Java org.apache.poi.ss.usermodel PrintSetup fields, constructors, methods, implement or subclass
The text is from its open source code.
short | LETTER_PAPERSIZE US Letter 8 1/2 x 11 in |
short | TABLOID_PAPERSIZE US Tabloid 11 x 17 in |
short | LEDGER_PAPERSIZE US Ledger 17 x 11 in |
short | LEGAL_PAPERSIZE US Legal 8 1/2 x 14 in |
short | A3_PAPERSIZE A3 - 297x420 mm |
short | A4_PAPERSIZE A4 - 210x297 mm |
short | A5_PAPERSIZE A5 - 148x210 mm |
short | getCopies() Returns the number of copies. |
boolean | getDraft() Returns the draft mode. |
short | getFitHeight() Returns the number of pages high to fit the sheet in. |
short | getFitWidth() Returns the number of pages wide to fit sheet in. |
double | getFooterMargin() Returns the footer margin. |
double | getHeaderMargin() Returns the header margin. |
short | getHResolution() Returns the horizontal resolution. |
boolean | getLandscape() Returns the landscape mode. |
boolean | getLeftToRight() Returns the left to right print order. |
boolean | getNoColor() Returns the black and white setting. |
boolean | getNoOrientation() Returns the no orientation. |
boolean | getNotes() Returns the print notes. |
short | getPageStart() Returns the page start. |
short | getPaperSize() Returns the paper size. |
short | getScale() Returns the scale. |
boolean | getUsePage() Returns the use page numbers. |
boolean | getValidSettings() Returns the valid settings. |
short | getVResolution() Returns the vertical resolution. |
void | setCopies(short copies) Sets the number of copies. |
void | setDraft(boolean d) Set whether it is in draft mode |
void | setFitHeight(short height) Set the number of pages high to fit the sheet in |
void | setFitWidth(short width) Set the number of pages wide to fit the sheet in |
void | setFooterMargin(double footermargin) Sets the footer margin. |
void | setHeaderMargin(double headermargin) Sets the header margin. |
void | setHResolution(short resolution) Sets the horizontal resolution. |
void | setLandscape(boolean ls) Set whether to print in landscape |
void | setLeftToRight(boolean ltor) Set whether to go left to right or top down in ordering |
void | setNoColor(boolean mono) Set whether it is black and white |
void | setNoOrientation(boolean orientation) Set no orientation. |
void | setNotes(boolean printnotes) Print the include notes |
void | setPageStart(short start) Set the page numbering start. |
void | setPaperSize(short size) Set the paper size. |
void | setScale(short scale) Set the scale. |
void | setUsePage(boolean page) Set whether to use page start |
void | setValidSettings(boolean valid) Valid settings. |
void | setVResolution(short resolution) Sets the vertical resolution. |