com.lowagie.text.rtf.direct
public class RtfColorTableParser extends Object
Version: $Revision: 1.6 $
| Field Summary | |
|---|---|
| int | blue
The blue component of the current color being parsed. |
| int | colorNr
The number of the current color being parsed. |
| int | green
The green component of the current color being parsed. |
| RtfImportHeader | importHeader
The RtfImportHeader to add color mappings to. |
| int | red
The red component of the current color being parsed. |
| Constructor Summary | |
|---|---|
| RtfColorTableParser(RtfImportHeader importHeader)
Constructs a new RtfColorTableParser.
| |
| Method Summary | |
|---|---|
| void | handleCtrlWord(String ctrlWord, int groupLevel)
Handle RTF control words. |
| void | handleText(String text, int groupLevel)
Handle text content. |
| static boolean | stringMatches(String text, String start) |
Parameters: importHeader The RtfImportHeader to add the color mappings to.
Parameters: ctrlWord The control word to handle. groupLevel Unused
Parameters: text The text to handle. groupLevel Unused.