> -----Original Message-----
> From: Nicolas Lenoire [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, September 10, 2002 9:41
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] iText and Table, Chapter, Section
> 
> Hello,
> 
> I have downloaded the iText v0.92, v0.93b and v0.94 and 
> I would to report you some bugs and a change that I 
> have done in the com.lowagie.text.pdf.PdfDocument 
> class.
> I think there is one thing we can't do with iText : setting 
> the distance (gap) between chapters and sections 
> (between a chapter and its sub-chapters and between 
> sub-chapters themselves).
> I made reports using iText and I thought that the gap 
> between chapters and sub-chapters (i.e. section) is too 
> large.
> So I had to make a modification that simply adds a 
> carriage return instead of a new line when adding a 
> Section element.
> 
> if (section.isChapter()) {
>     newPage();
> }
> // otherwise, we begin a new line
> else {
>    /** modified by Sunopsis - 12/08/02 **/
>    /*newLine();*/
>    carriageReturn();
> }
> 
> I think this would be a great improvement if we could set 
> this gap through the iText API.
> 
        Maybe but in my opinion if more costumization is needed then you
should use ColumnText. Chapters and sections are to be used as they are;
it's impossible to cater for all the formating tastes for classes that are
supposed to be simple to use.
> 
> Now the little bugs I have encountered :
> 
> - the class com.lowagie.text.Table has several bugs : 
> * when setting a background color for a cell, 
> this background is often larger than the cell border and 
> overrides it,
> 
>                 * sometimes when a table has to be splitted 
> on another page, some cells of the splitted row appear 
> on the preceding page while the others apprear on the 
> next one.
> 
> - since the version 0.93 bookmarks don't appear properly 
> in PDF document when declaring chapters and 
> sections : the titles don't appear.
> 
        This is a bug with jdk 1.2. It works with jdk 1.1.8, 1.3 and 1.4. In
the next release I'll do the convertion myself to avoid this.

        Best Regards,
        Paulo Soares
> 
> Best regards 
> 
> Nicolas Lenoire
>  <mailto:[EMAIL PROTECTED]> 
> 
>  


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to