it.stefanochizzolini.clown.documents.interaction.viewer
Class ViewerPreferences
java.lang.Object
it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
it.stefanochizzolini.clown.documents.interaction.viewer.ViewerPreferences
public class ViewerPreferences
- extends PdfObjectWrapper<PdfDictionary>
Viewer preferences [PDF:1.6:8.1].
- Version:
- 0.0.7
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewerPreferences
public ViewerPreferences(Document context)
ViewerPreferences
public ViewerPreferences(PdfDirectObject baseObject,
PdfIndirectObject container)
- For internal use only.
clone
public ViewerPreferences clone(Document context)
- Description copied from class:
PdfObjectWrapper
- Gets a clone of the object, registered inside the given document context.
- Specified by:
clone
in class PdfObjectWrapper<PdfDictionary>
- Parameters:
context
- Which document the clone has to be registered in.
getDirection
public ViewerPreferences.DirectionEnum getDirection()
isCenterWindow
public boolean isCenterWindow()
isDisplayDocTitle
public boolean isDisplayDocTitle()
isFitWindow
public boolean isFitWindow()
isHideMenubar
public boolean isHideMenubar()
isHideToolbar
public boolean isHideToolbar()
isHideWindowUI
public boolean isHideWindowUI()
setCenterWindow
public void setCenterWindow(boolean value)
setDirection
public void setDirection(ViewerPreferences.DirectionEnum value)
setDisplayDocTitle
public void setDisplayDocTitle(boolean value)
setFitWindow
public void setFitWindow(boolean value)
setHideMenubar
public void setHideMenubar(boolean value)
setHideToolbar
public void setHideToolbar(boolean value)
setHideWindowUI
public void setHideWindowUI(boolean value)
getEntry
protected <T,TPdf extends PdfAtomicObject<T>> T getEntry(PdfName key)
setEntry
protected <T,TPdf extends PdfAtomicObject<T>> void setEntry(PdfName key,
T value,
Class<TPdf> entryType)
Project home page
Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.