Hi All,

I'm a new iText user and have a very simple PDF with an odd problem.

The PDF is nothing more than a repetition of a simple block:

[2 row table]
[horizontal line]

repeat N times

[2 Paragraph summary]


All works fine if the document fits on the 1st page.  The problem occurs
when the document extends to a 2nd page or beyond.  The horizontal lines
repeat for no apparent reason, and appear where they just shouldn't be.  I
may for instance see:

[2 row table]
[horizontal line]
[summary]
[horizontal line]
[horizontal line]
[horizontal line]

Matching the pages up side by side, it is apparent that the lines are the
same lines from the first page.

I created the Horizontal line and use it as follows:

        Graphic horizontalLine = new Graphic();
        horizontalLine.setHorizontalLine(4f, 90f,
InstiHirePdfDocument.HORIZONTAL_LINE_COLOR);
        document.add(horizontalLine);

Do I need something to clear a graphics buffer when switching to the next
page?

Thanks in advance



Tony Nelson
Director of IT Operations
Starpoint Solutions
115 Broadway, 20th Fl.
New York, NY 10006



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to