public class PjPage extends PjPagesNode
_h| Constructor and Description |
|---|
PjPage()
Creates a new page dictionary.
|
PjPage(java.util.Hashtable h)
Creates a page dictionary as a wrapper around a Hashtable.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Returns a deep copy of this object.
|
PjObject |
getAnnots() |
PjObject |
getB() |
PjObject |
getContents() |
PjReference |
getThumb() |
static boolean |
isLike(PjDictionary dictionary)
Examines a dictionary to see if it is a PDF page.
|
void |
setAnnots(PjArray annots) |
void |
setAnnots(PjReference annots) |
void |
setB(PjArray b) |
void |
setB(PjReference b) |
void |
setContents(PjArray contents) |
void |
setContents(PjReference contents) |
void |
setThumb(PjReference thumb) |
getAA, getCropBox, getDur, getHid, getMediaBox, getParent, getResources, getRotate, getTrans, setAA, setAA, setCropBox, setCropBox, setDur, setDur, setHid, setHid, setMediaBox, setMediaBox, setParent, setResources, setResources, setRotate, setRotate, setTrans, setTranscloneHt, getHashtable, hget, hgetReference, renumber, writePdfpublic PjPage()
public PjPage(java.util.Hashtable h)
h - the Hashtable to use for this dictionary.public void setContents(PjArray contents)
public void setContents(PjReference contents)
public PjObject getContents() throws InvalidPdfObjectException
InvalidPdfObjectExceptionpublic void setThumb(PjReference thumb)
public PjReference getThumb() throws InvalidPdfObjectException
InvalidPdfObjectExceptionpublic void setAnnots(PjArray annots)
public void setAnnots(PjReference annots)
public PjObject getAnnots() throws InvalidPdfObjectException
InvalidPdfObjectExceptionpublic void setB(PjArray b)
public void setB(PjReference b)
public PjObject getB() throws InvalidPdfObjectException
InvalidPdfObjectExceptionpublic static boolean isLike(PjDictionary dictionary)
dictionary - the dictionary to examine.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class PjDictionaryjava.lang.CloneNotSupportedException - if the instance can not be cloned.