I'm a new user of iText (moved to it from the commercial XMLPDF), and I'm really happy with how it works, except for the "infinite loop triggered by cells > 1 page in size, with cellsfitpage=true" bug, which still seems to be present even in the latest CSV pull, which I just compiled a few days ago. At least the XML attachment to this message can still trigger the behaviour, anyway.
Although I'm not at all new to development, I am rather inexperienced with java, so it will take me a bit of time until I can understand enough of the iText source to be able to help find a fix for that bug. In the meantime, though, can we expose the "maxlines" table property in the DTD, so that it can be set via the XML interface? That's the way I'm producing PDF with iText, and I think I see where the change needs to be made. I can make the changes at my site and send the diffs to the list if you like. Thanks again for iText! ...Steve -- Steve van der Burg Information Management London Health Sciences Centre & St. Joseph's Health Care London (519) 685-8300 ext 35559 [EMAIL PROTECTED]
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE ITEXT SYSTEM "http://itext.sourceforge.net/itext.dtd"> <itext creationdate="Tue Oct 21 09:41:37 2003" producer="Testing..."> <table columns="3" width="100.0%" align="Center" cellpadding="3.0" cellspacing="0.0" lastHeaderRow="0" cellsfitpage="true" widths="50.0;25.0;25.0" borderwidth="0.5" left="true" right="true" top="true" bottom="true" red="0" green="0" blue="0"> <row header="1"> <cell bgred="192" bggreen="192" bgblue="192" header="1" borderwidth="0.5" left="true" right="true" top="true" bottom="true">One</cell> <cell bgred="192" bggreen="192" bgblue="192" header="1" borderwidth="0.5" left="true" right="true" top="true" bottom="true">Two</cell> <cell bgred="192" bggreen="192" bgblue="192" header="1" borderwidth="0.5" left="true" right="true" top="true" bottom="true">Three</cell> </row> <row> <cell borderwidth="0.5" left="true" right="true" top="true" bottom="true">Small row</cell> <cell borderwidth="0.5" left="true" right="true" top="true" bottom="true">Small</cell> <cell borderwidth="0.5" left="true" right="true" top="true" bottom="true">Fairly<newline/>small</cell> </row> <row> <cell borderwidth="0.5" left="true" right="true" top="true" bottom="true">Medium row</cell> <cell borderwidth="0.5" left="true" right="true" top="true" bottom="true">Medium</cell> <cell borderwidth="0.5" left="true" right="true" top="true" bottom="true">A bit taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller </cell> </row> <row> <cell borderwidth="0.5" left="true" right="true" top="true" bottom="true">Tall row</cell> <cell borderwidth="0.5" left="true" right="true" top="true" bottom="true">Tall</cell> <cell borderwidth="0.5" left="true" right="true" top="true" bottom="true">A lot taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller <newline/>taller </cell> </row> </table> </itext>
