Hi Paulo, thank you very much for you suggestion, I've trying with
ColumnText with not so much luck, as I explained before, the document has a
signature at the end, and I can't place the signature alone in a page, if it
occurs, I must take the last paragraph and move it with the signature in the
last page; but moving the last paragraph will leave a empty space in the
page before so, I must fill that space with lines of asterisks (*****), for
example:
| text text text text text text text text text text text text |
| text text text text text text text text text text text text |
| *********************************************************** |
| *********************************************************** |
+-------------------------------------------------------------+
+-------------------------------------------------------------+
| other text other text other text other text other text othe |
| other text other text other text other text other text othe |
| other text other text other text other text other text othe |
| other text other text other text other text other text othe |
| |
| [signature] |
| |
I think, I must do that manually, but I need to know which is the number of
the current line afther inserting the next paragraph before the signature.
Is there any way to know how many lines will fill a pagraph before inserting
it? and get the current line?
Regards,
Andrés
You'll have to use ColumnText to have that kind of control.
Paulo
On 5/16/07, Andres Guerrero <[EMAIL PROTECTED]> wrote:
Hi, I'm working with iText to produce some kind of documents that has
very special requirements. One of those is that every document must have a
signature, I should load the image of the signature from the database and
place it at the end of document, the problem is that the signature can't be
placed alone in one page, if it happends, the last paragraph of the previous
page must be moved to the last page with the signature. My question is:
which event should I use and how? or how can I know which is the current
line or Y position before inserting the last paragraph and the signature.
Thank you very much for your attention.
Regards,
Andrés
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/