Brian wrote:

When I run my application against a  single text file
to produce my pdf everything is great.

OK.

However I run
into issues when I have a multipart text file.

What is a multipart text file?
How are the different parts of the text file separated?
Is it like a multipart response, using a boundary string?

It
seems my margins get all messed up.

I don't understand, unless you are not talking about
the left and right border. Just about the page end.

Page 2 starts at
the bottom of page 1 and the top margins of page 2
seem to be ignored.

How are you adding the text?
With document.add(new Paragraph(txtcontent));
or with ColumnText?
And when you encounter the boundary between two
parts of text, do you call newPage?

So should I basically be writing
code that says something to the effect: "Start New
Page" ?
Yes.

And if yes, can you point me in the direction
of getting that started?
document.newPage();
br,
Bruno


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to