|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.qoppa.pdf.PrintSettings
This object controls the behaviour of the library when sending a PDF document
to the printer. The object has four flags that can be set:
m_AutoRotate - Will rotate the printout to match the width and length with the paper.
When this flag is on, the library will ignore the portrait / landscape setting set by
the user.
m_ShrinkToPage - Will shrink pages so that they fit in the paper. This flag has no
effect if the pages in a document are smaller than the paper they are being printed on.
m_ExpandToPage - Will expand pages to fill the paper they are being printed on. This flag
has no effect if the pages in a document are larger than the paper they are being
printed on.
m_CenterInPage - Will center the page in the paper. This flag has no effect if the pages
in a document are larger than the paper they are being printed on.
| Field Summary | |
boolean |
m_AutoRotate
|
boolean |
m_CenterInPage
|
boolean |
m_ExpandToPage
|
boolean |
m_ShrinkToPage
|
| Constructor Summary | |
PrintSettings()
Constructs a default PrintSettings object. |
|
PrintSettings(boolean autoRotate,
boolean shrinkToPage,
boolean expandToPage,
boolean centerInPage)
Constructs a new PrintSettings object and initializes each of its variables to the parameters. |
|
PrintSettings(PrintSettings init)
Constructs a new PrintSettings object and initializes to init. |
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public boolean m_AutoRotate
public boolean m_ShrinkToPage
public boolean m_ExpandToPage
public boolean m_CenterInPage
| Constructor Detail |
public PrintSettings()
public PrintSettings(boolean autoRotate,
boolean shrinkToPage,
boolean expandToPage,
boolean centerInPage)
autoRotate - Sets the auto rotate flag.shrinkToPage - Sets the shrink to page flag.expandToPage - Sets the expand to page flag.centerInPage - Sets the center in page flag.public PrintSettings(PrintSettings init)
init - Object to use to initialize the new PrintSettings.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||