PdfPublicationOptions

data class PdfPublicationOptions(val chunkSize: Int = 128000, val disableFontFace: Boolean = false, val enableDeterministicChunkRequests: Boolean = false, val password: String? = null)

Options used when creating a PdfPublication instance.

Constructors

Link copied to clipboard
fun PdfPublicationOptions(chunkSize: Int = 128000, disableFontFace: Boolean = false, enableDeterministicChunkRequests: Boolean = false, password: String? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard
val chunkSize: Int = 128000

Sets which chunk size to use when requesting chunks from the IRandomAccessDataSource instance.

Link copied to clipboard

By default fonts are converted to OpenType fonts and loaded via font face rules. If disabled, fonts will be rendered using a built-in font renderer that constructs the glyphs with primitive path commands. The default value is false.

Link copied to clipboard

Enables deterministic chunk sizes and offsets when streaming the PDF file using an IRandomAccessDataSource instance.

Link copied to clipboard
val password: String? = null

Used to decrypt a password-protected publication