LinearizationPlan
Overview
LinearizationPlan is a class in Aspose.PDF FOSS for Java.
Holds the object ordering plan for writing a linearized PDF.
This class provides 11 methods for working with LinearizationPlan objects in Java programs.
Available methods include: LinearizationPlan, getDocumentLevel, getFirstPageIndex, getFirstPageObjects, getFirstPagePrivate, getFirstPageShared, getNumPages, getOtherPagePrivate, getPageKeys, getPagePrivateObjects, getSharedObjects.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: documentLevel, firstPageIndex, firstPageObjects, firstPagePrivate, firstPageShared, numPages, and 3 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
pageKeys | List<PdfObjectKey> | Read | Returns page object keys in document order. |
firstPageIndex | int | Read | Returns the index of the first page to display. |
firstPagePrivate | List<PdfObjectKey> | Read | Returns objects private to the first page (Part 6). |
firstPageShared | List<PdfObjectKey> | Read | Returns shared objects needed for the first page (Part 6). |
firstPageObjects | List<PdfObjectKey> | Read | Returns all objects for Part 6 (first page private + shared). |
otherPagePrivate | Map<Integer, List<PdfObjectKey>> | Read | Returns the per-page private objects map. |
sharedObjects | List<PdfObjectKey> | Read | Returns shared objects for non-first pages (Part 8). |
documentLevel | List<PdfObjectKey> | Read | Returns document-level objects (Parts 4/9). |
numPages | int | Read | Returns the total number of pages. |
Methods
| Signature | Description |
|---|---|
LinearizationPlan(pageKeys: List<PdfObjectKey>, firstPageIndex: int, firstPagePrivate: List<PdfObjectKey>, firstPageShared: List<PdfObjectKey>, otherPagePrivate: Map<Integer, List<PdfObjectKey>>, sharedObjects: List<PdfObjectKey>, documentLevel: List<PdfObjectKey>, numPages: int) | Creates a new linearization plan. |
getPageKeys() → List<PdfObjectKey> | Returns page object keys in document order. |
getFirstPageIndex() → int | Returns the index of the first page to display. |
getFirstPagePrivate() → List<PdfObjectKey> | Returns objects private to the first page (Part 6). |
getFirstPageShared() → List<PdfObjectKey> | Returns shared objects needed for the first page (Part 6). |
getFirstPageObjects() → List<PdfObjectKey> | Returns all objects for Part 6 (first page private + shared). |
getPagePrivateObjects(pageIndex: int) → List<PdfObjectKey> | Returns private objects for a given page index (Part 7). |
getOtherPagePrivate() → Map<Integer, List<PdfObjectKey>> | Returns the per-page private objects map. |
getSharedObjects() → List<PdfObjectKey> | Returns shared objects for non-first pages (Part 8). |
getDocumentLevel() → List<PdfObjectKey> | Returns document-level objects (Parts 4/9). |
getNumPages() → int | Returns the total number of pages. |