|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
it.stefanochizzolini.clown.documents.Document
public class Document
PDF document [PDF:1.6:3.6.1].
Field Summary | |
---|---|
Hashtable<PdfReference,Object> |
cache
For internal use only. |
Constructor Summary | |
---|---|
Document(File context)
For internal use only. |
|
Document(PdfDirectObject baseObject)
For internal use only. |
Method Summary | ||
---|---|---|
Document |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
|
Collection<? extends PdfObjectWrapper<?>> |
contextualize(Collection<? extends PdfObjectWrapper<?>> objects)
Clones the collection's objects within this document context. |
|
Object |
contextualize(PdfObjectWrapper<?> object)
Clones the object within this document context. |
|
void |
decontextualize(Collection<? extends PdfObjectWrapper<?>> objects)
Drops the collection's objects from this document context. |
|
void |
decontextualize(PdfObjectWrapper<?> object)
Drops the object from this document context. |
|
DocumentActions |
getActions()
Gets the document's behavior in response to trigger events. |
|
Bookmarks |
getBookmarks()
Gets the bookmark collection [PDF:1.6:8.2.2]. |
|
Form |
getForm()
Gets the interactive form (AcroForm) [PDF:1.6:8.6.1]. |
|
Information |
getInformation()
Gets the document information dictionary [PDF:1.6:10.2.1]. |
|
Names |
getNames()
Gets the name dictionary [PDF:1.6:3.6.3]. |
|
PageLayoutEnum |
getPageLayout()
Gets the page layout to be used when the document is opened. |
|
PageModeEnum |
getPageMode()
Gets the page mode, that is how the document should be displayed when is opened. |
|
Pages |
getPages()
Gets the page collection [PDF:1.6:3.6.2]. |
|
Dimension2D |
getPageSize()
Gets the default page size [PDF:1.6:3.6.2]. |
|
Resources |
getResources()
Gets the default resource collection [PDF:1.6:3.6.2]. |
|
Dimension2D |
getSize()
Gets the document size, that is the maximum page dimensions across the whole document. |
|
String |
getVersion()
Gets the version of the PDF specification to which the document conforms [PDF:1.6:3.6.1]. |
|
ViewerPreferences |
getViewerPreferences()
Gets the way the document is to be presented [PDF:1.6:8.1]. |
|
static
|
resolve(Class<T> type,
PdfDirectObject baseObject,
PdfIndirectObject container)
|
|
static
|
resolveName(Class<T> type,
PdfDirectObject namedBaseObject,
PdfIndirectObject container)
Forces a named base object to be expressed as its corresponding high-level representation. |
|
void |
setActions(DocumentActions value)
|
|
void |
setBookmarks(Bookmarks value)
|
|
void |
setForm(Form value)
|
|
void |
setInformation(Information value)
|
|
void |
setNames(Names value)
|
|
void |
setPageLayout(PageLayoutEnum value)
|
|
void |
setPageMode(PageModeEnum value)
|
|
void |
setPages(Pages value)
|
|
void |
setPageSize(Dimension2D value)
|
|
void |
setResources(Resources value)
|
|
void |
setVersion(String value)
|
|
void |
setViewerPreferences(ViewerPreferences value)
|
Methods inherited from class it.stefanochizzolini.clown.objects.PdfObjectWrapper |
---|
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Hashtable<PdfReference,Object> cache
Constructor Detail |
---|
public Document(File context)
public Document(PdfDirectObject baseObject)
Method Detail |
---|
public static <T extends PdfObjectWrapper<?>> T resolve(Class<T> type, PdfDirectObject baseObject, PdfIndirectObject container)
public static <T extends PdfObjectWrapper<?>> T resolveName(Class<T> type, PdfDirectObject namedBaseObject, PdfIndirectObject container)
public Document clone(Document context)
PdfObjectWrapper
clone
in class PdfObjectWrapper<PdfDictionary>
context
- Which document the clone has to be registered in.public Object contextualize(PdfObjectWrapper<?> object)
public Collection<? extends PdfObjectWrapper<?>> contextualize(Collection<? extends PdfObjectWrapper<?>> objects)
public void decontextualize(PdfObjectWrapper<?> object)
public void decontextualize(Collection<? extends PdfObjectWrapper<?>> objects)
public DocumentActions getActions()
public Bookmarks getBookmarks()
public Form getForm()
public Information getInformation()
public Names getNames()
public PageLayoutEnum getPageLayout()
public PageModeEnum getPageMode()
public Pages getPages()
public Dimension2D getPageSize()
public Resources getResources()
The default resource collection is used as last resort by every page that doesn't reference one explicitly (and doesn't reference an intermediate one implicitly).
public Dimension2D getSize()
public String getVersion()
public ViewerPreferences getViewerPreferences()
public void setActions(DocumentActions value)
getActions()
public void setBookmarks(Bookmarks value)
getBookmarks()
public void setForm(Form value)
getForm()
public void setInformation(Information value)
getInformation()
public void setNames(Names value)
getNames()
public void setPageLayout(PageLayoutEnum value)
getPageLayout()
public void setPageMode(PageModeEnum value)
getPageMode()
public void setPages(Pages value)
getPages()
public void setPageSize(Dimension2D value)
getPageSize()
public void setResources(Resources value)
getResources()
public void setVersion(String value)
getVersion()
public void setViewerPreferences(ViewerPreferences value)
getViewerPreferences()
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |