Epub Words Content Position Timeline Mapping Options
data class EpubWordsContentPositionTimelineMappingOptions(val audioElementWeight: Int = 10, val iframeElementWeight: Int = 10, val imageElementWeight: Int = 10, val videoElementWeight: Int = 10)
Options used when creating EPUB ContentPositionTimeline objects with WORDS as unit of measurement.
In publications with lots of media, it might be desirable to count media elements (or other replaced elements) as X number of words to get a better estimation of the "length" of the rendered publication. By default each replaced element is counted as 10 words.
Constructors
Link copied to clipboard
fun EpubWordsContentPositionTimelineMappingOptions(audioElementWeight: Int = 10, iframeElementWeight: Int = 10, imageElementWeight: Int = 10, videoElementWeight: Int = 10)