|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.cete.dynamicpdf.ViewerPreferences
Represents the viewer preferences for a document.
View Example
| Method Summary | |
void |
draw(DocumentWriter writer)
Draws the encrypter viewer preferences dictionary to the given DocumentWriter object. |
boolean |
getCenterWindow()
A flag specifying whether the document’s window will be positioned in the center of the screen. |
boolean |
getDisplayDocTitle()
A flag specifying whether the window’s title bar will display the document title taken from the Title entry of the document of the PDF file containing the document. |
boolean |
getFitWindow()
A flag specifying whether the document’s window will be resized to fit the size of the first displayed page. |
boolean |
getHideMenubar()
A flag specifying whether the viewer application’s menu bar is hidden when the document is active. |
boolean |
getHideToolbar()
A flag specifying whether the viewer application’s tool bars were hidden when the document is active. |
boolean |
getHideWindowUI()
A flag specifying whether the user interface elements in the document’s window (such as scrollbars and navigation controls), were hidden leaving only the document’s contents displayed. |
void |
setCenterWindow(boolean centerWindow)
A flag to position the document’s window in the center of the screen. |
void |
setDisplayDocTitle(boolean displayDocTitle)
A flag to specify the window’s title bar should display the document title taken from the Title entry of the document of the PDF file containing the document. |
void |
setFitWindow(boolean fitWindow)
A flag to resize the document’s window to fit the size of the first displayed page. |
void |
setHideMenubar(boolean hideMenubar)
A flag to hide the viewer application’s menu bar when the document is active. |
void |
setHideToolbar(boolean hideToolbar)
A flag to hide the viewer application’s tool bars when the document is active. |
void |
setHideWindowUI(boolean hideWindowUI)
A flag to hide user interface elements in the document’s window (such as scrollbars and navigation controls), leaving only the document’s contents displayed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void draw(DocumentWriter writer)
DocumentWriter object.
writer - the DocumentWriter object to receive the output.DocumentWriterpublic void setHideToolbar(boolean hideToolbar)
hideToolbar - the boolean value indicating whether to hide
the viewer application's toolbar.public boolean getHideToolbar()
public void setHideMenubar(boolean hideMenubar)
hideMenubar - the boolean value indicating whether to hide the
viewer application's menubar.public boolean getHideMenubar()
public void setHideWindowUI(boolean hideWindowUI)
hideWindowUI - the boolean value indicating whether to hide the
user interface elements in the document’s window.public boolean getHideWindowUI()
public void setFitWindow(boolean fitWindow)
fitWindow - the boolean value to resize the document’s window to
fit the size of the first displayed page.fitpublic boolean getFitWindow()
public void setCenterWindow(boolean centerWindow)
centerWindow - the boolean value to position the document’s window
in the center of the screen.public boolean getCenterWindow()
public void setDisplayDocTitle(boolean displayDocTitle)
displayDocTitle - the boolean value to specify the window’s
title bar should display the document title .public boolean getDisplayDocTitle()
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||