arsd.rtf

Some support for the RTF file format - rich text format, like produced by Windows WordPad.

Members

Functions

readRtfFromBytes
RtfDocument readRtfFromBytes(const(ubyte)[] s)
readRtfFromString
RtfDocument readRtfFromString(const(char)[] s)
toPlainText
string toPlainText(RtfDocument document)

Returns a plan text string that represents the jist of the document's content.

Structs

RtfControlWord
struct RtfControlWord

A control word directly from the RTF file format.

RtfDocument
struct RtfDocument
RtfGroup
struct RtfGroup

A group directly from the RTF file.

RtfPiece
struct RtfPiece

A union of entities you can see while parsing a RTF file.

RtfState
struct RtfState

Meta

History

Added February 13, 2025