Hi,

In the RTF Writer/Parser, iText/iTextSharp does not appear to be able to handle 
the following during import or during creation of a document

{\colortbl;\red0\green0\blue0;\red255\green0\blue0;}

The RTF Specs state that a \colortbl entry missing definition indicates the 
color "auto" color.

RTF Spec - 
"Each definition must be delimited by a semicolon, even if the definition is 
omitted. If a color definition is omitted, the RTF reader uses its default 
color. The following example defines the default color table used by Word. The 
first color is omitted, as shown by the semicolon following the \colortbl 
control word. The missing definition indicates that color 0 is the ‘’auto’’ 
color."

When doing an import, the "auto-color" entry is ignored and does not use any 
default.
When creating a document, I cannot locate a method for creating an "auto" color 
entry in the table.

Is this able to be done?

Thanks!
Howard

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to