|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lowagie.text.rtf.RtfElement com.lowagie.text.rtf.style.RtfColorList
public class RtfColorList
The RtfColorList stores all colors that appear in the document. Black and White are always added
Field Summary |
---|
Fields inherited from class com.lowagie.text.rtf.RtfElement |
---|
document, inHeader, inTable |
Fields inherited from interface com.lowagie.text.rtf.RtfBasicElement |
---|
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR |
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(java.io.OutputStream out)
unused |
void |
writeDefinition(java.io.OutputStream result)
Write the definition part of the color list. |
Methods inherited from class com.lowagie.text.rtf.RtfElement |
---|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.lowagie.text.rtf.RtfBasicElement |
---|
setInHeader, setInTable, setRtfDocument |
Constructor Detail |
---|
public RtfColorList(RtfDocument doc)
doc
- The RtfDocument this RtfColorList belongs toMethod Detail |
---|
public int getColorNumber(RtfColor color)
color
- The RtfColor for which to get the index
public void writeContent(java.io.OutputStream out) throws java.io.IOException
writeContent
in interface RtfBasicElement
writeContent
in class RtfElement
out
- The OutputStream
to write the content to
java.io.IOException
public void writeDefinition(java.io.OutputStream result) throws java.io.IOException
writeDefinition
in interface RtfExtendedElement
result
- The OutputStream
to write the element definition to
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |