| java.lang.Object org.apache.fop.render.rtf.rtflib.rtfdoc.RtfColorTable
RtfColorTable | final public class RtfColorTable (Code) | | Singelton of the RTF color table.
This class was created for tag processing.
author: Andreas Putz |
getColorNumber | public Integer getColorNumber(String name)(Code) | | Parameters: name - a named color the RTF number of a named color, or null if name not found |
getColorNumber | public Integer getColorNumber(int red, int green, int blue)(Code) | | Gets the number of color in the color table
Parameters: red - Color level red Parameters: green - Color level green Parameters: blue - Color level blue The number of the color in the table |
getInstance | public static RtfColorTable getInstance()(Code) | | Singelton.
The instance of RTFColorTable |
writeColors | public void writeColors(RtfHeader header) throws IOException(Code) | | Writes the color table in the header.
Parameters: header - The header container to write in throws: IOException - On error |
|
|