Yet I will give it one more try:
I don't have any columns on my document, so ColumnText is out. (I tried it, but wasn't satisfied with the results)
I just have some paragraphs, tables and chunks. These elements shall all be added to some main-paragraphs, which should be kept together. I don't know how big any of the given main-paragraphs is going to be, nor how many or which elements I have to add beforehand. It depends completely on the data of the Input-File I have to work on.
If I could find out how big the main-paragraph has grown before I add it to the document, I could live with calculating myself, if it still fits on the page or not. Is there a possibility to get the actual size of a Paragraph-Object (preferably in points) before adding it?
Or is there a way to "test-add" objects to a Document?
Both solutions would also help me very much.
2006/5/29, bruno <
[EMAIL PROTECTED]>:
Michael Caletka wrote:
> ??
> How do I keep track of the y-coordinate when adding Chunks and
> Paragraphs to a document?
Don't add Chunks and Paragraphs directly.
Use ColumnText for everything you are adding.
(Chances are that I don't understand your requirements.)
br,
Bruno
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions