EpubPageCountEstimationAlgorithm

Base type used for all algorithms that handle page count estimation of reflowable content documents. See IEpubReaderPublicationOptions.pageCountEstimationAlgorithm for more information.

Types

Link copied to clipboard
class Character(val options: EpubCharacterPageCountEstimationOptions = EpubCharacterPageCountEstimationOptions()) : EpubPageCountEstimationAlgorithm

Number of pages are estimated based on the number of characters in the content-documents. This algorithm is a bit slower than the FILE_SIZE algorithm, but will provide a more correct result.

Link copied to clipboard

Estimates the number of pages for documents by rendering one document and then use the document's height and file size to determine the number of pages for the other documents.

Functions

Link copied to clipboard
open fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

The type of page count estimation algorithm. Can be used to determine the subtype of IEpubPageCountEstimationAlgorithm.

Inheritors

Link copied to clipboard
Link copied to clipboard