RTFWriter.getColorIndex

Returns the index of the specified color in the RTF color table.

@param color the color @param defaultIndex return value if color is null @return the index of the specified color in the RTF color table or "defaultIndex" if "color" is null.

class RTFWriter
int
getColorIndex

Meta