|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfbox.pdmodel.interactive.viewerpreferences.PDViewerPreferences
This is the document viewing preferences.
Field Summary | |
static String |
BOUNDARY_ART_BOX
Boundary constant. |
static String |
BOUNDARY_BLEED_BOX
Boundary constant. |
static String |
BOUNDARY_CROP_BOX
Boundary constant. |
static String |
BOUNDARY_MEDIA_BOX
Boundary constant. |
static String |
BOUNDARY_TRIM_BOX
Boundary constant. |
static String |
NON_FULL_SCREEN_PAGE_MODE_USE_NONE
From PDF Reference: "Neither document outline nor thumbnail images visible". |
static String |
NON_FULL_SCREEN_PAGE_MODE_USE_OPTIONAL_CONTENT
From PDF Reference: "Optional content group panel visible". |
static String |
NON_FULL_SCREEN_PAGE_MODE_USE_OUTLINES
From PDF Reference: "Document outline visible". |
static String |
NON_FULL_SCREEN_PAGE_MODE_USE_THUMBS
From PDF Reference: "Thumbnail images visible". |
static String |
READING_DIRECTION_L2R
Reading direction. |
static String |
READING_DIRECTION_R2L
Reading direction. |
Constructor Summary | |
PDViewerPreferences(COSDictionary dic)
Constructor that is used for a preexisting dictionary. |
Method Summary | |
boolean |
centerWindow()
Get the center window preference. |
boolean |
displayDocTitle()
Get the display doc title preference. |
boolean |
fitWindow()
Get the fit window preference. |
COSBase |
getCOSObject()
Convert this standard java object to a COS object. |
COSDictionary |
getDictionary()
This will get the underlying dictionary that this object wraps. |
String |
getNonFullScreenPageMode()
Get the non full screen page mode preference. |
String |
getPrintArea()
Get the PrintArea preference. |
String |
getPrintClip()
Get the PrintClip preference. |
String |
getReadingDirection()
Get the reading direction preference. |
String |
getViewArea()
Get the ViewArea preference. |
String |
getViewClip()
Get the ViewClip preference. |
boolean |
hideMenubar()
Get the menubar preference. |
boolean |
hideToolbar()
Get the toolbar preference. |
boolean |
hideWindowUI()
Get the window UI preference. |
void |
setCenterWindow(boolean value)
Set the center window preference. |
void |
setDisplayDocTitle(boolean value)
Set the display doc title preference. |
void |
setFitWindow(boolean value)
Set the fit window preference. |
void |
setHideMenubar(boolean value)
Set the menubar preference. |
void |
setHideToolbar(boolean value)
Set the toolbar preference. |
void |
setHideWindowUI(boolean value)
Set the window UI preference. |
void |
setNonFullScreenPageMode(String value)
Set the non full screen page mode preference. |
void |
setPrintArea(String value)
Set the PrintArea preference. |
void |
setPrintClip(String value)
Set the PrintClip preference. |
void |
setReadingDirection(String value)
Set the reading direction preference. |
void |
setViewArea(String value)
Set the ViewArea preference. |
void |
setViewClip(String value)
Set the ViewClip preference. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String NON_FULL_SCREEN_PAGE_MODE_USE_NONE
public static final String NON_FULL_SCREEN_PAGE_MODE_USE_OUTLINES
public static final String NON_FULL_SCREEN_PAGE_MODE_USE_THUMBS
public static final String NON_FULL_SCREEN_PAGE_MODE_USE_OPTIONAL_CONTENT
public static final String READING_DIRECTION_L2R
public static final String READING_DIRECTION_R2L
public static final String BOUNDARY_MEDIA_BOX
public static final String BOUNDARY_CROP_BOX
public static final String BOUNDARY_BLEED_BOX
public static final String BOUNDARY_TRIM_BOX
public static final String BOUNDARY_ART_BOX
Constructor Detail |
public PDViewerPreferences(COSDictionary dic)
dic
- The underlying dictionary.Method Detail |
public COSDictionary getDictionary()
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public boolean hideToolbar()
public void setHideToolbar(boolean value)
value
- Set the toolbar preference.public boolean hideMenubar()
public void setHideMenubar(boolean value)
value
- Set the menubar preference.public boolean hideWindowUI()
public void setHideWindowUI(boolean value)
value
- Set the window UI preference.public boolean fitWindow()
public void setFitWindow(boolean value)
value
- Set the fit window preference.public boolean centerWindow()
public void setCenterWindow(boolean value)
value
- Set the center window preference.public boolean displayDocTitle()
public void setDisplayDocTitle(boolean value)
value
- Set the display doc title preference.public String getNonFullScreenPageMode()
public void setNonFullScreenPageMode(String value)
value
- Set the non full screen page mode preference.public String getReadingDirection()
public void setReadingDirection(String value)
value
- Set the reading direction preference.public String getViewArea()
public void setViewArea(String value)
value
- Set the ViewArea preference.public String getViewClip()
public void setViewClip(String value)
value
- Set the ViewClip preference.public String getPrintArea()
public void setPrintArea(String value)
value
- Set the PrintArea preference.public String getPrintClip()
public void setPrintClip(String value)
value
- Set the PrintClip preference.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |