public class RtfImportMappings extends Object
Constructor and Description |
---|
RtfImportMappings()
Constructs a new RtfImportMappings initialising the mappings.
|
Modifier and Type | Method and Description |
---|---|
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. .
|
public RtfImportMappings()
public void addFont(String fontNr, String fontName)
fontNr
- The font number.fontName
- The font name.public void addColor(String colorNr, Color color)
colorNr
- The color number.color
- The Color.public void addList(String listNr, String list)
listNr
- The List number.list
- The List.public void addStylesheetList(String stylesheetListNr, String list)
stylesheetListNr
- The Stylesheet List number.list
- The StylesheetList.public HashMap getFontMappings()
public HashMap getColorMappings()
public HashMap getListMappings()
public HashMap getStylesheetListMappings()
Copyright © 2015. All rights reserved.