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, setTrans
cloneHt, getHashtable, hget, hgetReference, renumber, writePdf
public 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
InvalidPdfObjectException
public void setThumb(PjReference thumb)
public PjReference getThumb() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setAnnots(PjArray annots)
public void setAnnots(PjReference annots)
public PjObject getAnnots() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setB(PjArray b)
public void setB(PjReference b)
public PjObject getB() throws InvalidPdfObjectException
InvalidPdfObjectException
public static boolean isLike(PjDictionary dictionary)
dictionary
- the dictionary to examine.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class PjDictionary
java.lang.CloneNotSupportedException
- if the instance can not be cloned.