Package com.itextpdf.text.pdf
Class PdfPages
java.lang.Object
com.itextpdf.text.pdf.PdfPages
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)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private ArrayList<PdfIndirectReference>
private ArrayList<PdfIndirectReference>
private PdfIndirectReference
private PdfWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
addPage
(PdfDictionary page) (package private) void
addPage
(PdfIndirectReference page) (package private) PdfIndirectReference
addPageRef
(PdfIndirectReference pageRef) (package private) PdfIndirectReference
(package private) int
reorderPages
(int[] order) (package private) void
setLinearMode
(PdfIndirectReference topParent) (package private) PdfIndirectReference
-
Field Details
-
pages
-
parents
-
leafSize
private int leafSize -
writer
-
topParent
-
-
Constructor Details
-
PdfPages
PdfPages(PdfWriter writer) Constructs aPdfPages
-object.
-
-
Method Details
-
addPage
-
addPageRef
-
writePageTree
- Throws:
IOException
-
getTopParent
PdfIndirectReference getTopParent() -
setLinearMode
-
addPage
-
reorderPages
- Throws:
DocumentException
-