Hi,

I have the following problem  with the code below

     Table t=new Table(2);
     Cell c=new Cell("hola 00");
     c.setRowspan(2);
     t.addCell(c,0,0);
     c=new Cell("hola 01");
     t.addCell(c,0,1);
     c=new Cell("hola 12");
     t.addCell(c,1,1);
     c=new Cell("hola 21");
     c.setBackgroundColor(new Color(232,232,232));
     t.addCell(c,2,1);
     c=new Cell("hola 20");
     t.addCell(c,2,0);

in MS Word setBackgroundColor doesn't work and setRowspan works fine;
but in OpenOffice setBackgroundColor works and setRowspan doesn`t.

How can I solve this problem? Which rtf viewer must i use for itext?

I tested this example with itext releases 1.3 and 2.0, MS Word 97 and 2000
and Openofiice 1.1 and 2.0

Thanks in advance
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to