|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lowagie.text.rtf.direct.RtfFontTableParser
public class RtfFontTableParser
The RtfFontTableParser handles the events generated by the RtfTokeniser while the RTF font table is parsed.
| Field Summary | |
|---|---|
private String |
fontName
The name of the font being parsed. |
private String |
fontNr
The number of the font being parsed. |
private RtfImportHeader |
importHeader
The RtfImportHeader to add font mappings to. |
| Constructor Summary | |
|---|---|
RtfFontTableParser(RtfImportHeader importHeader)
Constructs a new RtfFontTableParser. |
|
| Method Summary | |
|---|---|
void |
handleCloseGroup(int groupLevel)
Handles closing of a group during parsing. |
void |
handleCtrlWord(String ctrlWord,
int groupLevel)
Handles the font number control word. |
void |
handleText(String text,
int groupLevel)
Handles the font name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private RtfImportHeader importHeader
private String fontNr
private String fontName
| Constructor Detail |
|---|
public RtfFontTableParser(RtfImportHeader importHeader)
importHeader - The RtfImportHeader to add font mappings to.| Method Detail |
|---|
public void handleCloseGroup(int groupLevel)
groupLevel - The current group nesting level.
public void handleCtrlWord(String ctrlWord,
int groupLevel)
ctrlWord - The control word to handle.groupLevel - The current group nesting level.
public void handleText(String text,
int groupLevel)
text - The font name to handle.groupLevel - The current group nesting level.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||