public interface DocumentViewPrefs
Modifier and Type | Field and Description |
---|---|
static String |
APPDEFAULT
Setting for the Print Scaling viewer preference: Applications should use the current print scaling
|
static String |
DUPLEXFLIPLONGEDGE
Setting for the Duplex viewer preference: Duplex and flip on the long edge of the sheet
|
static String |
DUPLEXFLIPSHORTEDGE
Setting for the Duplex viewer preference: Duplex and flip on the short edge of the sheet
|
static String |
L2R
Setting for the Direction viewer preference: Left to right
|
static String |
NONE
Setting for the Print Scaling viewer preference: Print dialog should reflect no page scaling
|
static String |
R2L
Setting for the Direction viewer preference: Right to left
|
static String |
SIMPLEX
Setting for the Duplex viewer preference: Print single-sided
|
static String |
USENONE
Setting for the NonFullScreen Page Mode viewer preference: Neither document outline nor thumbnail images visible
|
static String |
USEOC
Setting for the NonFullScreen Page Mode viewer preference: Optional content group panel visible
|
static String |
USEOUTLINES
Setting for the NonFullScreen Page Mode viewer preference: Document outline visible
|
static String |
USETHUMBS
Setting for the NonFullScreen Page Mode viewer preference: Thumbnail images visible
|
Modifier and Type | Method and Description |
---|---|
boolean |
getCenterWindow()
Returns the Center Window viewer preference in the document.
|
String |
getDirection()
Returns the Direction viewer preference in the document.
|
boolean |
getDisplayDocTitle()
Returns the Display Doc Title viewer preference in the document.
|
String |
getDuplex()
Returns the Duplex viewer preference in the document.
|
boolean |
getFitWindow()
Returns the Fit Window viewer preference in the document.
|
boolean |
getHideMenubar()
Returns the Hide Menubar viewer preference in the document.
|
boolean |
getHideToolbar()
Returns the Hide Toolbar viewer preference in the document.
|
boolean |
getHideWindowUI()
Returns the Hide Window UI viewer preference in the document.
|
String |
getNonFullScreenPageMode()
Returns the NonFullscreen Page Mode viewer preference in the document.
|
int |
getNumCopies()
Returns the NumCopies viewer preference in the document.
|
boolean |
getPickTrayByPDFSize()
Returns the Pick Tray by PDF Size viewer preference in the document.
|
String |
getPrintScaling()
Returns the Print Scaling viewer preference in the document.
|
void |
setCenterWindow(boolean value)
Sets the Center Window viewer preference in the document.
|
void |
setDirection(String value)
Sets the Direction viewer preference in the document.
|
void |
setDisplayDocTitle(boolean value)
Sets the Display Doc Title viewer preference in the document.
|
void |
setDuplex(String value)
Sets the Duplex viewer preference in the document.
|
void |
setFitWindow(boolean value)
Sets the Fit Window viewer preference in the document.
|
void |
setHideMenubar(boolean value)
Sets the Hide Menubar viewer preference in the document.
|
void |
setHideToolbar(boolean value)
Sets the Hide Toolbar viewer preference in the document.
|
void |
setHideWindowUI(boolean value)
Sets the Hide Window UI viewer preference in the document.
|
void |
setNonFullScreenPageMode(String value)
Sets the NonFullScreen Page Mode viewer preference in the document.
|
void |
setNumCopies(int value)
Sets the NumCopies viewer preference in the document.
|
void |
setPickTrayByPDFSize(boolean value)
Sets the Pick Tray by PDF Size viewer preference in the document.
|
void |
setPrintScaling(String value)
Sets the Print Scaling viewer preference in the document.
|
static final String USENONE
static final String USEOUTLINES
static final String USETHUMBS
static final String USEOC
static final String L2R
static final String R2L
static final String NONE
static final String APPDEFAULT
static final String SIMPLEX
static final String DUPLEXFLIPSHORTEDGE
static final String DUPLEXFLIPLONGEDGE
boolean getHideToolbar()
void setHideToolbar(boolean value) throws PDFException
value
- The Hide Toolbar viewer preference.PDFException
boolean getHideMenubar()
void setHideMenubar(boolean value) throws PDFException
value
- The Hide Menubar viewer preference.PDFException
boolean getHideWindowUI()
void setHideWindowUI(boolean value) throws PDFException
value
- The Hide Window UI viewer preference.PDFException
boolean getFitWindow()
void setFitWindow(boolean value) throws PDFException
value
- The Fit Window viewer preference.PDFException
boolean getCenterWindow()
void setCenterWindow(boolean value) throws PDFException
value
- The Center Window viewer preference.PDFException
boolean getDisplayDocTitle()
void setDisplayDocTitle(boolean value) throws PDFException
value
- The Display Doc Title viewer preference.PDFException
String getNonFullScreenPageMode()
void setNonFullScreenPageMode(String value) throws PDFException
value
- The NonFullscreen Page Mode viewer preference.PDFException
String getDirection()
void setDirection(String value) throws PDFException
value
- The Direction viewer preference.PDFException
String getPrintScaling()
void setPrintScaling(String value) throws PDFException
value
- The Print Scaling viewer preference.PDFException
String getDuplex()
void setDuplex(String value) throws PDFException
value
- The Duplex viewer preference.PDFException
boolean getPickTrayByPDFSize()
void setPickTrayByPDFSize(boolean value) throws PDFException
value
- The Pick Tray by PDF Size viewer preference.PDFException
int getNumCopies()
void setNumCopies(int value) throws PDFException
value
- The NumCopies viewer preference.PDFException