com.lowagie.text.rtf.style
public class RtfColorList extends RtfElement implements RtfExtendedElement
Version: $Id: RtfColorList.java 2776 2007-05-23 20:01:40Z hallm $
| 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[] | write()
unused |
| void | writeContent(OutputStream out)
unused |
| byte[] | writeDefinition()
Write the definition part of the colour list. |
| void | writeDefinition(OutputStream result)
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
Deprecated: replaced by writeContent
unusedDeprecated: replaced by writeDefinition
Write the definition part of the colour list. Calls the writeDefinition methods of the RtfColors in the colour list.Returns: A byte array with the definition colour list