Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.interactive.viewerpreferences » [javadoc | source]
org.apache.pdfbox.pdmodel.interactive.viewerpreferences
public class: PDViewerPreferences [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdmodel.interactive.viewerpreferences.PDViewerPreferences

All Implemented Interfaces:
    COSObjectable

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