Package org.openpdf.text.pdf
Class PdfPages
java.lang.Object
org.openpdf.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 final ArrayList<PdfIndirectReference>private final ArrayList<PdfIndirectReference>private PdfIndirectReferenceprivate final PdfWriter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddPage(PdfDictionary page) (package private) PdfIndirectReferenceaddPageRef(PdfIndirectReference pageRef) (package private) intreorderPages(int[] order) (package private) voidsetLinearMode(PdfIndirectReference topParent) (package private) PdfIndirectReference
-
Field Details
-
pages
-
parents
-
writer
-
leafSize
private int leafSize -
topParent
-
-
Constructor Details
-
PdfPages
PdfPages(PdfWriter writer) Constructs aPdfPages-object.
-
-
Method Details
-
addPage
-
addPageRef
-
writePageTree
- Throws:
IOException
-
setLinearMode
-
reorderPages
- Throws:
DocumentException
-