com.lowagie.text.rtf.style
public class RtfColorList extends RtfElement implements RtfExtendedElement
Version: $Version:$
| Field Summary | |
|---|---|
| ArrayList | colorList
ArrayList containing all colours of this RtfColorList |
| static byte[] | COLOR_TABLE
Constant for the beginning of the colour 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 colour list. |
| byte[] | writeDefinition()
Write the definition part of the colour 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
Returns: A byte array with the definition colour list