EpubDocumentSectioningAlgorithm

The base type for all algorithms that can be used with EPUB document sectioning.

See IEpubDocumentSectioningOptions for more information.

Inheritors

Types

Link copied to clipboard
class Selector(val disableSectioningInsideSelector: String = "aside, blockquote, details, dialog, dl, figure, form, math, menu, nav, ol, pre, svg, table, ul", val minimumCharactersPerSection: Int = 10000, val selectors: List<EpubDocumentSectioningSelector>? = null) : EpubDocumentSectioningAlgorithm

Split into sections based on CSS selectors. For example, it can be used to create a new section before <h1> and <h2> elements.

Properties

Link copied to clipboard

The type of document sectioning algorithm. Can be used to determine the subtype of IEpubDocumentSectioningAlgorithm.

Functions

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