|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.rtf.rtflib.rtfdoc.RtfColorTable
public final class RtfColorTable
Singelton of the RTF color table.
This class was created for
This work was authored by Andreas Putz (a.putz@skynamics.com).
Method Summary | |
---|---|
java.lang.Integer |
getColorNumber(int red,
int green,
int blue)
Gets the number of color in the color table |
java.lang.Integer |
getColorNumber(java.lang.String name)
|
static RtfColorTable |
getInstance()
Singelton. |
void |
writeColors(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader header)
Writes the color table in the header. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RtfColorTable getInstance()
public java.lang.Integer getColorNumber(java.lang.String name)
name
- a named color
public java.lang.Integer getColorNumber(int red, int green, int blue)
red
- Color level redgreen
- Color level greenblue
- Color level blue
public void writeColors(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader header) throws java.io.IOException
header
- The header container to write in
java.io.IOException
- On error
|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |