EpubPreferencesEditor

Editor for a set of EpubPreferences.

Use EpubPreferencesEditor to assist you in building a preferences user interface or modifying existing preferences. It includes rules for adjusting preferences, such as the supported values or ranges.

Properties

Link copied to clipboard

Default background color.

Link copied to clipboard

Number of reflowable columns to display (one-page view or two-page spread).

Link copied to clipboard

Default typeface for the text.

Link copied to clipboard

Base text font size as a percentage. Default to 100%.

Link copied to clipboard

Default boldness for the text as a percentage.

Link copied to clipboard

Enable hyphenation for latin languages.

Link copied to clipboard

Filter applied to images in dark theme.

Link copied to clipboard

Language of the publication content.

Link copied to clipboard
Link copied to clipboard

Space between letters.

Link copied to clipboard

Enable ligatures in Arabic.

Link copied to clipboard

Leading line height.

Link copied to clipboard

Factor applied to horizontal margins. Default to 1.

Link copied to clipboard

Text indentation for paragraphs.

Link copied to clipboard

Vertical margins for paragraphs.

Link copied to clipboard
open override val preferences: EpubPreferences

The current preferences.

Link copied to clipboard

Indicates whether the original publisher styles should be observed. Many advanced settings require this to be off.

Link copied to clipboard

Direction of the reading progression across resources.

Link copied to clipboard

Indicates if the overflow of resources should be handled using scrolling instead of synthetic pagination.

Link copied to clipboard

Indicates if the fixed-layout publication should be rendered with a synthetic spread (dual-page).

Link copied to clipboard

Page text alignment.

Link copied to clipboard

Default page text color.

Link copied to clipboard

Normalize text styles to increase accessibility.

Link copied to clipboard

Reader theme (light, dark, sepia).

Link copied to clipboard

Scale applied to all element font sizes.

Link copied to clipboard

Indicates whether the text should be laid out vertically. This is used for example with CJK languages. This setting is automatically derived from the language if no preference is given.

Link copied to clipboard

Space between words.

Functions

Link copied to clipboard
open override fun clear()

Reset all preferences.