Selector
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.
Constructors
Link copied to clipboard
constructor(disableSectioningInsideSelector: String = "aside, blockquote, details, dialog, dl, figure, form, math, menu, nav, ol, pre, svg, table, ul", minimumCharactersPerSection: Int = 10000, selectors: List<EpubDocumentSectioningSelector>? = null)
Properties
Link copied to clipboard
Disable sectioning inside elements that match this selector.
Link copied to clipboard
The minimum number of characters (Unicode code-points) per section.
Link copied to clipboard
An ordered list of IEpubDocumentSectioningSelector used to find section breaks.
Link copied to clipboard
The type of document sectioning algorithm. Can be used to determine the subtype of IEpubDocumentSectioningAlgorithm.