public final class PdfFormattingOptions extends ValueObject implements Serializable
Defines Pdf formatting options.
Constructor and Description |
---|
PdfFormattingOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
getCenterWindow()
Specifies whether position of the document's window will be centered on the screen.
|
PdfDirection |
getDirection()
Sets reading order of text: L2R (left to right) or R2L (right to left).
|
boolean |
getDisplayDocTitle()
Specifies whether document's window title bar should display document title.
|
boolean |
getFitWindow()
Specifies whether document window must be resized to fit the first displayed page.
|
boolean |
getHideMenuBar()
Specifies whether menu bar should be hidden when document is active.
|
boolean |
getHideToolBar()
Specifies whether toolbar should be hidden when document is active.
|
boolean |
getHideWindowUI()
Specifies whether user interface elements should be hidden when document is active.
|
PdfPageMode |
getNonFullScreenPageMode()
Sets page mode, specifying how to display the document on exiting full-screen mode.
|
PdfPageLayout |
getPageLayout()
Sets page layout which shall be used when the document is opened.
|
PdfPageMode |
getPageMode()
Sets page mode, specifying how document should be displayed when opened.
|
void |
setCenterWindow(boolean value)
Specifies whether position of the document's window will be centered on the screen.
|
void |
setDirection(PdfDirection value)
Sets reading order of text: L2R (left to right) or R2L (right to left).
|
void |
setDisplayDocTitle(boolean value)
Specifies whether document's window title bar should display document title.
|
void |
setFitWindow(boolean value)
Specifies whether document window must be resized to fit the first displayed page.
|
void |
setHideMenuBar(boolean value)
Specifies whether menu bar should be hidden when document is active.
|
void |
setHideToolBar(boolean value)
Specifies whether toolbar should be hidden when document is active.
|
void |
setHideWindowUI(boolean value)
Specifies whether user interface elements should be hidden when document is active.
|
void |
setNonFullScreenPageMode(PdfPageMode value)
Sets page mode, specifying how to display the document on exiting full-screen mode.
|
void |
setPageLayout(PdfPageLayout value)
Sets page layout which shall be used when the document is opened.
|
void |
setPageMode(PdfPageMode value)
Sets page mode, specifying how document should be displayed when opened.
|
equals, equals, hashCode, op_Equality, op_Inequality
public final boolean getCenterWindow()
Specifies whether position of the document's window will be centered on the screen. Default: false.
public final void setCenterWindow(boolean value)
Specifies whether position of the document's window will be centered on the screen. Default: false.
public final PdfDirection getDirection()
Sets reading order of text: L2R (left to right) or R2L (right to left). Default: L2R.
public final void setDirection(PdfDirection value)
Sets reading order of text: L2R (left to right) or R2L (right to left). Default: L2R.
public final boolean getDisplayDocTitle()
Specifies whether document's window title bar should display document title. Default: false.
public final void setDisplayDocTitle(boolean value)
Specifies whether document's window title bar should display document title. Default: false.
public final boolean getFitWindow()
Specifies whether document window must be resized to fit the first displayed page. Default: false.
public final void setFitWindow(boolean value)
Specifies whether document window must be resized to fit the first displayed page. Default: false.
public final boolean getHideMenuBar()
Specifies whether menu bar should be hidden when document is active. Default: false.
public final void setHideMenuBar(boolean value)
Specifies whether menu bar should be hidden when document is active. Default: false.
public final boolean getHideToolBar()
Specifies whether toolbar should be hidden when document is active. Default: false.
public final void setHideToolBar(boolean value)
Specifies whether toolbar should be hidden when document is active. Default: false.
public final boolean getHideWindowUI()
Specifies whether user interface elements should be hidden when document is active. Default: false.
public final void setHideWindowUI(boolean value)
Specifies whether user interface elements should be hidden when document is active. Default: false.
public final PdfPageMode getNonFullScreenPageMode()
Sets page mode, specifying how to display the document on exiting full-screen mode.
public final void setNonFullScreenPageMode(PdfPageMode value)
Sets page mode, specifying how to display the document on exiting full-screen mode.
public final PdfPageLayout getPageLayout()
Sets page layout which shall be used when the document is opened.
public final void setPageLayout(PdfPageLayout value)
Sets page layout which shall be used when the document is opened.
public final PdfPageMode getPageMode()
Sets page mode, specifying how document should be displayed when opened.
public final void setPageMode(PdfPageMode value)
Sets page mode, specifying how document should be displayed when opened.