>Try if this works as a workaround: > <attribute name="red" value="0"/> > <attribute name="green" value="0"/> > <attribute name="blue" value="0"/>
I tried your workaround, it doesn't Can you pass your code which you checked across.
http://itext.sourceforge.net/src/com/lowagie/text/Cell.java http://itext.sourceforge.net/src/com/lowagie/text/Table.java
public Cell(Properties attributes) {
...
String r = (String)attributes.remove(ElementTags.RED);
String g = (String)attributes.remove(ElementTags.GREEN);
String b = (String)attributes.remove(ElementTags.BLUE);
if (r != null || g != null || b != null) {
int red = 0;
int green = 0;
int blue = 0;
if (r != null) red = Integer.parseInt(r);
if (g != null) green = Integer.parseInt(g);
if (b != null) blue = Integer.parseInt(b);
setBorderColor(new Color(red, green, blue));
}
else if ((value = (String)attributes.remove(ElementTags.BORDERCOLOR)) != null) {
setBorderColor(MarkupParser.decodeColor(value));
}
...
}and the corresponding constructor in class Table.
br, Bruno
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
