RTFWriter
class is used to write widget content as rich text. The implementation complies with the RTF specification version 1.5. toString() is guaranteed to return a valid RTF string only after close() has been called.
Whole and partial lines and line breaks can be written. Lines will be formatted using the styles queried from the LineStyleListener, if set, or those set directly in the widget. All styles are applied to the RTF stream like they are rendered by the widget. In addition, the widget font name and size is used for the whole text.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|