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

Reply via email to