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 intprivate ArrayList<PdfIndirectReference> private ArrayList<PdfIndirectReference> private PdfIndirectReferenceprivate PdfWriter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddPage(PdfDictionary page) (package private) voidaddPage(PdfIndirectReference page) (package private) PdfIndirectReferenceaddPageRef(PdfIndirectReference pageRef) (package private) PdfIndirectReference(package private) intreorderPages(int[] order) (package private) voidsetLinearMode(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
-