RtfTextExtractor

Extracts plain text from an RTF document. Text is accumulated only while the current destination is one of the body destinations (Command.rtf, Command.pntext, Command.fldrslt); content in destinations such as fonttbl, stylesheet or info is ignored.

Command.par, Command.line and Command.row map to a newline; Command.tab and Command.cell map to a tab.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The plain text accumulated so far.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun processCommand(command: Command, parameter: Int, hasParameter: Boolean, optional: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun processGroupEnd()
Link copied to clipboard
open override fun processGroupStart()
Link copied to clipboard
open override fun processString(string: String)