EpubFixedLayoutStyleOptions

data class EpubFixedLayoutStyleOptions(val allowFontSetCustomization: Boolean = false, val allowPaletteCustomization: Boolean = false)

By default, publicationStyleOptions set by calling ReaderView.setOptions() only applies to reflowable documents and are ignored by fixed-layout documents.

This options object can be used to allow certain publication style options to be applied to fixed-layout documents as well.

Constructors

Link copied to clipboard
fun EpubFixedLayoutStyleOptions(allowFontSetCustomization: Boolean = false, allowPaletteCustomization: Boolean = false)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

By setting this option to true, font set configurations set with publicationStyleOptions.fontSet will also be applied to fixed-layout documents.

Link copied to clipboard

By setting this option to true, palettes set with publicationStyleOptions.palette will also apply to fixed-layout documents.