RTFWriter.writeStyledLine

Appends the specified line text to the RTF data. <p> Use the colors and font styles specified in "styles" and "lineBackground". Formatting is written to reflect the text rendering by the text widget. Style background colors take precedence over the line background color. Background colors are written using the \highlight tag (vs. the \cb tag). </p>

@param line line text to write as RTF. Must not contain line breaks Line breaks should be written using writeLineDelimiter() @param lineOffset offset of the line. 0 based from the start of the widget document. Any text occurring before the start offset or after the end offset specified during object creation is ignored. @param styles styles to use for formatting. Must not be null. @param lineBackground line background color to use for formatting. May be null.

class RTFWriter
void
writeStyledLine

Meta