com.lowagie.text.rtf.parser
public class RtfImportMappings extends Object
Since: 2.1.0
| Field Summary | |
|---|---|
| HashMap | colorMappings
The colorNr to Color mappings. |
| HashMap | fontMappings
The fontNr to fontName mappings. |
| HashMap | listMappings
The listNr to List mappings. |
| HashMap | stylesheetListMappings
The sytlesheetListNr to Stylesheet mappings. |
| Constructor Summary | |
|---|---|
| RtfImportMappings()
Constructs a new RtfImportMappings initialising the mappings. | |
| Method Summary | |
|---|---|
| void | addColor(String colorNr, Color color)
Add a color to the list of mappings.
|
| void | addFont(String fontNr, String fontName)
Add a font to the list of mappings.
|
| void | addList(String listNr, String list)
Add a List to the list of mappings.
|
| void | addStylesheetList(String stylesheetListNr, String list)
Add a Stylesheet List to the list of mappings.
|
| HashMap | getColorMappings()
Gets the list of color mappings. |
| HashMap | getFontMappings()
Gets the list of font mappings. |
| HashMap | getListMappings()
Gets the list of List mappings.
|
| HashMap | getStylesheetListMappings()
Gets the list of Stylesheet mappings. |
Parameters: colorNr The color number. color The Color.
Parameters: fontNr The font number. fontName The font name.
Parameters: listNr The List number. list The List.
Parameters: stylesheetListNr The Stylesheet List number. list The StylesheetList.
Returns: The color mappings.
Returns: The font mappings.
Returns: The List mappings.
Returns: The Stylesheet List mappings.