Package-level declarations
The styled-text document model — StyledDocument, Paragraph, TextRun, CharacterStyle, ParagraphStyle — shared by the reader and writer.
Types
Link copied to clipboard
data class CharacterStyle(val bold: Boolean = false, val italic: Boolean = false, val underline: Boolean = false, val strikethrough: Boolean = false, val superscript: Boolean = false, val subscript: Boolean = false)
The character-level formatting carried by a TextRun. This is the shared vocabulary the reader produces and the writer consumes.
Link copied to clipboard
Paragraph-level formatting. styleRef is the \sN stylesheet index, used for heading detection.
Link copied to clipboard
The image encoding of an RTF \pict group, named after the control word that declares it.
Link copied to clipboard
A styled document: an ordered list of paragraphs.
Link copied to clipboard
A contiguous run of text sharing a single CharacterStyle.