com.lowagie.text.rtf.style
public class RtfColorList extends RtfElement implements RtfExtendedElement
Version: $Id: RtfColorList.java 3440 2008-05-25 18:16:48Z howard_s $
| Field Summary | |
|---|---|
| ArrayList | colorList
ArrayList containing all colors of this RtfColorList |
| static byte[] | COLOR_TABLE
Constant for the beginning of the color table |
| Constructor Summary | |
|---|---|
| RtfColorList(RtfDocument doc)
Constructs a new RtfColorList for the RtfDocument. | |
| Method Summary | |
|---|---|
| int | getColorNumber(RtfColor color)
Returns the index of the given RtfColor in the color list. |
| void | writeContent(OutputStream out)
unused |
| void | writeDefinition(OutputStream result)
Write the definition part of the color list. |
Parameters: doc The RtfDocument this RtfColorList belongs to
Parameters: color The RtfColor for which to get the index
Returns: The index of the RtfColor