Outline Element
data class OutlineElement(val title: String, val color: Int = DEFAULT_COLOR, val style: Int = Typeface.NORMAL, val typeface: Typeface? = Typeface.DEFAULT, val isExpanded: Boolean = false, val action: Action? = null, val pageLabel: String? = null, val children: List<OutlineElement> = emptyList())
A document outline element (or "table of contents entry"), usually the header of a chapter. Outline elements can be retrieved via PdfDocument.getOutline. They can carry an Action and thus allow quick navigation to document pages, or even external resources.
Types
Link copied to clipboard
class Builder
Builder for OutlineElement.
Link copied to clipboard
annotation class OutlineElementStyle
Style of outline element text.