public class PdfPageObjects extends PdfReferencedObjects
Modifier and Type | Field and Description |
---|---|
protected PdfManager |
_mgr
The manager to use for resolving references.
|
protected static PdfName |
PDFNAME_ANNOT
A
PdfName object representing the name
Annot . |
protected static PdfName |
PDFNAME_P
A
PdfName object representing the name
P . |
protected static PdfName |
PDFNAME_PAGE
A
PdfName object representing the name
Page . |
protected static PdfName |
PDFNAME_PARENT
A
PdfName object representing the name
Parent . |
protected static PdfName |
PDFNAME_TYPE
A
PdfName object representing the name
Type . |
_m, _ref, _ref_master
Constructor and Description |
---|
PdfPageObjects(PdfManager manager)
Constructs a
PdfPageObjects instance. |
Modifier and Type | Method and Description |
---|---|
java.util.Set |
getReferenced(PdfObject obj)
Returns the set of all objects referenced by the specified
page object that are required for the page to be extracted
from the document.
|
PdfObject |
preFilter(PdfObject obj)
This method is used by
getReferenced(PdfObject) and should not be called
externally. |
postFilter
protected PdfManager _mgr
protected static final PdfName PDFNAME_ANNOT
PdfName
object representing the name
Annot
.protected static final PdfName PDFNAME_P
PdfName
object representing the name
P
.protected static final PdfName PDFNAME_PAGE
PdfName
object representing the name
Page
.protected static final PdfName PDFNAME_PARENT
PdfName
object representing the name
Parent
.protected static final PdfName PDFNAME_TYPE
PdfName
object representing the name
Type
.public PdfPageObjects(PdfManager manager)
PdfPageObjects
instance.manager
- the manager associated with the document.public java.util.Set getReferenced(PdfObject obj) throws java.io.IOException, PdfFormatException
getReferenced
in class PdfReferencedObjects
obj
- the object to examine.PdfFormatException
java.io.IOException
public PdfObject preFilter(PdfObject obj) throws PdfFormatException
getReferenced(PdfObject)
and should not be called
externally. (It is not synchronized.)preFilter
in interface PdfObjectFilter
preFilter
in class PdfReferencedObjects
obj
- the object to filter.PdfFormatException