dpmihai wrote:
> I have following simple example :
>        |  X   |   -> X cell has colspan=3 
>        |Y|  Z|   -> Z cell has colspan=2
> 
> If i use rowSpan = 2 for first cell the output is wrong : like  |  X  |  Y |  

You're right. It was a bug. The fix is in the SVN repository:

@@ -540,7 +538,7 @@
        if (aboveCell == null) {
                int col = currCol - 1;
                aboveCell = (PdfPCell)aboveRow.getCells()[col];
-               while ((aboveCell == null) && (row > 0))
+               while (aboveCell == null)
                        aboveCell = (PdfPCell)aboveRow.getCells()[--col];
                return aboveCell != null && aboveCell.getRowspan() > distance;
        }
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to