Method from org.apache.pdfbox.pdmodel.interactive.viewerpreferences.PDViewerPreferences Detail: |
public boolean centerWindow() {
return prefs.getBoolean( "CenterWindow", false );
}
Get the center window preference. |
public boolean displayDocTitle() {
return prefs.getBoolean( "DisplayDocTitle", false );
}
Get the display doc title preference. |
public boolean fitWindow() {
return prefs.getBoolean( "FitWindow", false );
}
Get the fit window preference. |
public COSBase getCOSObject() {
return prefs;
}
Convert this standard java object to a COS object. |
public COSDictionary getDictionary() {
return prefs;
}
This will get the underlying dictionary that this object wraps. |
public String getNonFullScreenPageMode() {
return prefs.getNameAsString( "NonFullScreenPageMode", NON_FULL_SCREEN_PAGE_MODE_USE_NONE);
}
Get the non full screen page mode preference. |
public String getPrintArea() {
return prefs.getNameAsString( "PrintArea", BOUNDARY_CROP_BOX);
}
Get the PrintArea preference. See BOUNDARY_XXX constants. |
public String getPrintClip() {
return prefs.getNameAsString( "PrintClip", BOUNDARY_CROP_BOX);
}
Get the PrintClip preference. See BOUNDARY_XXX constants. |
public String getReadingDirection() {
return prefs.getNameAsString( "Direction", READING_DIRECTION_L2R);
}
Get the reading direction preference. |
public String getViewArea() {
return prefs.getNameAsString( "ViewArea", BOUNDARY_CROP_BOX);
}
Get the ViewArea preference. See BOUNDARY_XXX constants. |
public String getViewClip() {
return prefs.getNameAsString( "ViewClip", BOUNDARY_CROP_BOX);
}
Get the ViewClip preference. See BOUNDARY_XXX constants. |
public boolean hideMenubar() {
return prefs.getBoolean( "HideMenubar", false );
}
Get the menubar preference. |
public boolean hideToolbar() {
return prefs.getBoolean( "HideToolbar", false );
}
Get the toolbar preference. |
public boolean hideWindowUI() {
return prefs.getBoolean( "HideWindowUI", false );
}
Get the window UI preference. |
public void setCenterWindow(boolean value) {
prefs.setBoolean( "CenterWindow", value );
}
Set the center window preference. |
public void setDisplayDocTitle(boolean value) {
prefs.setBoolean( "DisplayDocTitle", value );
}
Set the display doc title preference. |
public void setFitWindow(boolean value) {
prefs.setBoolean( "FitWindow", value );
}
Set the fit window preference. |
public void setHideMenubar(boolean value) {
prefs.setBoolean( "HideMenubar", value );
}
Set the menubar preference. |
public void setHideToolbar(boolean value) {
prefs.setBoolean( "HideToolbar", value );
}
Set the toolbar preference. |
public void setHideWindowUI(boolean value) {
prefs.setBoolean( "HideWindowUI", value );
}
Set the window UI preference. |
public void setNonFullScreenPageMode(String value) {
prefs.setName( "NonFullScreenPageMode", value );
}
Set the non full screen page mode preference. |
public void setPrintArea(String value) {
prefs.setName( "PrintArea", value );
}
Set the PrintArea preference. See BOUNDARY_XXX constants. |
public void setPrintClip(String value) {
prefs.setName( "PrintClip", value );
}
Set the PrintClip preference. See BOUNDARY_XXX constants. |
public void setReadingDirection(String value) {
prefs.setName( "Direction", value );
}
Set the reading direction preference. |
public void setViewArea(String value) {
prefs.setName( "ViewArea", value );
}
Set the ViewArea preference. See BOUNDARY_XXX constants. |
public void setViewClip(String value) {
prefs.setName( "ViewClip", value );
}
Set the ViewClip preference. See BOUNDARY_XXX constants. |