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.


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.

Best regards

Nicolas Lenoire
 

 

Reply via email to