HintTableGenerator

HintTableGenerator

Overview

HintTableGenerator is a class in Aspose.PDF FOSS for Java.

Generates hint tables for linearized PDF.

This class provides 2 methods for working with HintTableGenerator objects in Java programs. Available methods include: bitsNeeded, generate. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.

Methods

SignatureDescription
generate(plan: LinearizationPlan, pageOffsets: long[], pageLengths: int[], pageObjectCounts: int[], sharedOffsets: long[], sharedLengths: int[], sharedObjRefs: List<List<Integer>>)byte[]Generates the combined hint stream data (page offset table + shared object table).
bitsNeeded(value: int)intReturns the number of bits needed to represent the given non-negative value.

See Also

 English