EpubReflowOptions

data class EpubReflowOptions(val plugins: EpubReflowPluginOptions = EpubReflowPluginOptions(), val removeBottomMarginsOnFragmentedElements: Boolean = true, val removeTopMarginsOnFragmentedElements: Boolean = true)

Options configuring how the reflow engine divide content documents into pages. These options will be further documented in a future version of the framework.

Constructors

Link copied to clipboard
constructor(plugins: EpubReflowPluginOptions = EpubReflowPluginOptions(), removeBottomMarginsOnFragmentedElements: Boolean = true, removeTopMarginsOnFragmentedElements: Boolean = true)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

When an element is fragmented across pages, this option control if the bottom margin on the fragmented element should be kept.

Link copied to clipboard

When an element is fragmented across pages, this option control if the top margin on the fragmented element should be carried over to subsequent pages.

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)