What you want will not work. You can't do reflow in PDF (only in tagged
but that's not applicable here) and furthermore once you do a newPage
the previous page is lost for changes, be it annotation or content. It
works with templates because the page has a reference to a template but
that's all you can do. Maybe you can use a template that covers  all the
text, not just the VARIABLE portion.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Steve Appling
> Sent: Friday, October 08, 2004 3:42 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Variable size form XObjects
> 
> I have a very limited understanding of the PDF specification, 
> so please be patient with me.
> 
> I would like to output text in the form of "This has VARIABLE 
> stuff", where VARIABLE is text content
> that will not be known until the end of document processing.  
> This would seem to be the place to use
> a PdfTemplate (generating a form XObject), but I'm not sure 
> that the examples I've seen can handle a
> template of variable width.  The examples I have seen are of 
> the form "Page X of Y" where Y is the
> template part and it's length really doesn't matter.  I don't 
> know how to place my text down such
> that the word "stuff" would adjust position to handle the 
> width of the VARIABLE part.
> 
> It looked like perhaps a "Free Text Annotation" could do this 
> from the discussion of Variable Text
> on page 617 of the PDF Reference (version 1.5), but I have 
> not figured out how to make use of this
> yet.  I saw PdfAnnotation.createFreeText, but am not sure how 
> to use it to form Variable Text as
> discussed in the reference.
> 
> Does anyone have an example of something like this?  Any help 
> would be appreciated.
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on 
> ITManagersJournal
> Use IT products in your business? Tell us what you think of 
> them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to 
> find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to