public class PdfPages extends Object
PdfPages
is the PDF Pages-object.
The Pages of a document are accessible through a tree of nodes known as the Pages tree.
This tree defines the ordering of the pages in the document.
This object is described in the 'Portable Document Format Reference Manual version 1.3'
section 6.3 (page 71-73)
PdfPage
Modifier and Type | Field and Description |
---|---|
private int |
leafSize |
private ArrayList<PdfIndirectReference> |
pages |
private ArrayList<PdfIndirectReference> |
parents |
private PdfIndirectReference |
topParent |
private PdfWriter |
writer |
Constructor and Description |
---|
PdfPages(PdfWriter writer)
Constructs a
PdfPages -object. |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addPage(PdfDictionary page) |
(package private) void |
addPage(PdfIndirectReference page) |
(package private) PdfIndirectReference |
addPageRef(PdfIndirectReference pageRef) |
(package private) PdfIndirectReference |
getTopParent() |
(package private) int |
reorderPages(int[] order) |
(package private) void |
setLinearMode(PdfIndirectReference topParent) |
(package private) PdfIndirectReference |
writePageTree() |
private ArrayList<PdfIndirectReference> pages
private ArrayList<PdfIndirectReference> parents
private int leafSize
private PdfIndirectReference topParent
void addPage(PdfDictionary page)
PdfIndirectReference addPageRef(PdfIndirectReference pageRef)
PdfIndirectReference writePageTree() throws IOException
IOException
PdfIndirectReference getTopParent()
void setLinearMode(PdfIndirectReference topParent)
void addPage(PdfIndirectReference page)
int reorderPages(int[] order) throws DocumentException
DocumentException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses