Skip to content

Releases: Darkrock-Studios/RtfParserKmp

v0.2.2

26 Jun 01:00

Choose a tag to compare

v0.2.2

rtf-writer: escape double-quotes (and backslashes) in HYPERLINK field
targets so a quote in a URL no longer terminates the field argument and
breaks the link. URLs without those characters are unaffected.

v0.2.1

26 Jun 00:33

Choose a tag to compare

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

25 Jun 22:20

Choose a tag to compare

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.