public class PjPages extends PjPagesNode
_h
Constructor and Description |
---|
PjPages()
Creates a new Pages dictionary.
|
PjPages(java.util.Hashtable h)
Creates a Pages 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 |
getCount() |
PjObject |
getKids() |
static boolean |
isLike(PjDictionary dictionary)
Examines a dictionary to see if it is a PDF Pages object.
|
void |
setCount(PjNumber count) |
void |
setCount(PjReference count) |
void |
setKids(PjArray kids) |
void |
setKids(PjReference kids) |
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 PjPages()
public PjPages(java.util.Hashtable h)
h
- the Hashtable to use for this dictionary.public void setKids(PjArray kids)
public void setKids(PjReference kids)
public PjObject getKids() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setCount(PjNumber count)
public void setCount(PjReference count)
public PjObject getCount() 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.