If the sample had 5 lines from the previous paragraph (it can't be the whole paragraph because there would be too much white space on the second page), it would be acceptable.
I look forward to any further suggestions -- I will start looking at ColumnText for now.
Thanks, Tom
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "Tom Kofford" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: Re: [iText-questions] Ideas to accomplish modified "keep together" and add background image?
Date: Wed, 16 Jul 2003 20:40:31 +0100
Usually when the layout requirements increase it's time to use ColumnText. It would be nice to see an image of the intended result.
Best Regards, Paulo Soares
----- Original Message ----- From: "Tom Kofford" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 16, 2003 17:38 Subject: [iText-questions] Ideas to accomplish modified "keep together" and add background image?
> I'm writing an app that produces legal documents. A legal requirement > for > the document is that the signature line must have at least 5 lines from > the > previous paragraph on the same page. I also need to put an image behind > the > signature line. > > The signature line text starts at about the center of the document. The > > image needs to be right-justified with the vertical center of the image > having the same y coordinate as the vertical center of the signature > line. > The image also needs to be "underlying" so the signature line prints > over > it. > > I know I can put the signature line in the same paragraph object with > the > previous "actual" paragraph and set keepTogether=true. Any suggestions > to > make this occur with only the last 5 lines of the previous paragraph? > The > text of the last paragraph is variable and is known only at run-time. > > Any suggestions on how to get the image in the right place? > > Any help is greatly appreciated. > > Thanks, > Tom > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions >
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
Attached is a sample of what I'm talking about. I created the sample from an html document using the pdf print driver. This sample is unacceptable because the signature line is on the 3rd page with no lines from the previous paragraph (sample order text) on the same page. Also, notice where the image is on the signature line. I need to do the same thing.
If the sample had 5 lines from the previous paragraph (it can't be the whole paragraph because there would be too much white space on the second page), it would be acceptable.
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "Tom Kofford" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: Re: [iText-questions] Ideas to accomplish modified "keep together" and add background image?
Date: Wed, 16 Jul 2003 20:40:31 +0100
Usually when the layout requirements increase it's time to use ColumnText. It would be nice to see an image of the intended result.
Best Regards, Paulo Soares
----- Original Message ----- From: "Tom Kofford" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 16, 2003 17:38 Subject: [iText-questions] Ideas to accomplish modified "keep together" and add background image?
> I'm writing an app that produces legal documents. A legal requirement > for > the document is that the signature line must have at least 5 lines from > the > previous paragraph on the same page. I also need to put an image behind > the > signature line. > > The signature line text starts at about the center of the document. The > > image needs to be right-justified with the vertical center of the image > having the same y coordinate as the vertical center of the signature > line. > The image also needs to be "underlying" so the signature line prints > over > it. > > I know I can put the signature line in the same paragraph object with > the > previous "actual" paragraph and set keepTogether=true. Any suggestions > to > make this occur with only the last 5 lines of the previous paragraph? > The > text of the last paragraph is variable and is known only at run-time. > > Any suggestions on how to get the image in the right place? > > Any help is greatly appreciated. > > Thanks, > Tom > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions >
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
sample.pdf
Description: Adobe PDF document