LinearizationPlan

LinearizationPlan

Overview

LinearizationPlan is a class in Aspose.Pdf FOSS for Java.

Holds the object ordering plan for writing a linearized PDF.

Properties

NameTypeAccessDescription
pageKeysList<COSObjectKey>ReadReturns page object keys in document order.
firstPageIndexintReadReturns the index of the first page to display.
firstPagePrivateList<COSObjectKey>ReadReturns objects private to the first page (Part 6).
firstPageSharedList<COSObjectKey>ReadReturns shared objects needed for the first page (Part 6).
firstPageObjectsList<COSObjectKey>ReadReturns all objects for Part 6 (first page private + shared).
otherPagePrivateMap<Integer, List<COSObjectKey>>ReadReturns the per-page private objects map.
sharedObjectsList<COSObjectKey>ReadReturns shared objects for non-first pages (Part 8).
documentLevelList<COSObjectKey>ReadReturns document-level objects (Parts 4/9).
numPagesintReadReturns the total number of pages.

Methods

SignatureDescription
LinearizationPlan(pageKeys: List<COSObjectKey>, firstPageIndex: int, firstPagePrivate: List<COSObjectKey>, firstPageShared: List<COSObjectKey>, otherPagePrivate: Map<Integer, List<COSObjectKey>>, sharedObjects: List<COSObjectKey>, documentLevel: List<COSObjectKey>, numPages: int)Creates a new linearization plan.
getPageKeys()List<COSObjectKey>Returns page object keys in document order.
getFirstPageIndex()intReturns the index of the first page to display.
getFirstPagePrivate()List<COSObjectKey>Returns objects private to the first page (Part 6).
getFirstPageShared()List<COSObjectKey>Returns shared objects needed for the first page (Part 6).
getFirstPageObjects()List<COSObjectKey>Returns all objects for Part 6 (first page private + shared).
getPagePrivateObjects(pageIndex: int)List<COSObjectKey>Returns private objects for a given page index (Part 7).
getOtherPagePrivate()Map<Integer, List<COSObjectKey>>Returns the per-page private objects map.
getSharedObjects()List<COSObjectKey>Returns shared objects for non-first pages (Part 8).
getDocumentLevel()List<COSObjectKey>Returns document-level objects (Parts 4/9).
getNumPages()intReturns the total number of pages.

See Also