Releases: Darkrock-Studios/RtfParserKmp
Releases · Darkrock-Studios/RtfParserKmp
v0.2.2
v0.2.1
v0.2.1
rtf-writer: collect the font and color tables in a single pass over the
document instead of two separate tree walks. Internal cleanup — no API
or output change from v0.2.0.
v0.2.0
v0.2.0
rtf-writer: rich RTF authoring model
A new strongly-typed, immutable document model for generating arbitrarily
complex RTF, alongside the existing minimal StyledDocument round-trip path:
- RtfDocument + RtfDocumentWriter (writeRtfDocument)
- Fonts and colors referenced by value; the writer builds the font/color
tables and resolves the \fN / \cfN indices - Paragraph layout: alignment, spacing, first-line/left indents,
keep-with-next, bottom borders - Inline content: styled runs (bold/italic/underline/strike/super/sub,
font, size, color), line breaks, tabs, hyperlinks (external URL and
in-document bookmark), bookmarks - Page breaks; {\info} metadata and {*\generator}
- 7-bit ASCII output (\uN escapes); round-trips through the reader
Additive and backward-compatible: rtf-core and the StyledDocument / RtfWriter
path are unchanged. See docs/WRITING-RICH-RTF.md.