Re: [iText-questions] PdfPTable.setKeepTogether(true)

2006-09-04 Thread itext . gd
OK, Bruno. I see. Thanks for the extra explanation. Keep up the good work! Geert > >Hi Paulo, > > > > > > > >>You can know the size the table will have by setting the setTotalWidth() > >>but you'll have to calculate the effective space by subtracting the > >>margins from the page size. > >>

Re: [iText-questions] PdfPTable.setKeepTogether(true)

2006-09-04 Thread itext . gd
Hi Paulo, > You can know the size the table will have by setting the setTotalWidth() > but you'll have to calculate the effective space by subtracting the > margins from the page size. I'm not interested in the WIDTH but in the LENGTH a table will have, the number of pages it will occupy. (one or

[iText-questions] PdfPTable.setKeepTogether(true)

2006-09-01 Thread itext . gd
Hi, I wrote a small app to check the behaviour of iText when you add a PdfPTable to a document via document.add() on which setKeepTogether(true); is set. These are my experiences: I add a first table of 60 rows. (So the last row is in the upper half of the 2nd page) Then - when I add a 2nd tabl

Re: [iText-questions] Bug HtmlWorker

2006-09-01 Thread itext . gd
> Yes, that's a bug. I'm doing a lot of changes in HTMLWorker to support > CSS styles and I'll change this too. > > Paulo Thanks a lot! So that'll be in the official iText v1.4.5 then? > > > From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] > Sent: Fri 01-S

[iText-questions] Bug HtmlWorker

2006-09-01 Thread itext . gd
Hi Paulo, When you feed HtmlWorker an HTML string containing to HTML-tags and use HTMLWorker.parseToList(), the resulting text in the PDF document uses a very big font for the text that was between the tags and the smallest font for the text that was between the tags. I think this is exactly

Re: [iText-questions] HTML-formatted text

2006-08-29 Thread itext . gd
>> You have to use the html 3.2 . It's a pitty to tell the users they have to use that outdated tag, but OK it works so they'll have to live with it. A bug I think: The tags to work in the reverse order they should. H1 should be rendered in the largest font and H6 in the smallest. HtmlWorker d

Re: [iText-questions] HTML-formatted text

2006-08-29 Thread itext . gd
Hi Paulo, Thanks for taking the time to answer me. OK. I searched the mailing list archives on "HTMLWorker". But as far as I can see, you have to define/know your style beforehand: StyleSheet style = new StyleSheet(); style.loadTagStyle("div", "color", "red"); java.io.StringReader sr = ne