At 07:36 AM 4/7/2006, [EMAIL PROTECTED] wrote:
As i understand things, one can programmatically, using itext, insert various formatting (as bullets, fonts, etc) directly onto the "canvas"/document.

        Correct.


Are you saying that it is indeed possible to have the same kind of formatting in a flattened field?

Sure. Just treat the field as a "placeholder rectangle" of where you are you to place your formatted data. Then just draw it like you would anything else and get rid of the field when done.

Like for example if i copy the visual output from a browser window (with links, tables, etc) and then paste this clipboard buffer into a PDF (with a rtf-enabled field), then the formatting is preserved.

Not all of it - Acrobat rich text (NOT RTF) fields are limited in what they support. But conceptually, sure.


Could i also take the html representation (the basis of the visual output) and insert this into a rtf-enabled field and then flatten the whole thing to get the same result?

        Again, you don't insert and flatten.  But the concept is the same.


Leonard

---------------------------------------------------------------------------
Leonard Rosenthol                            <mailto:[EMAIL PROTECTED]>
Chief Technical Officer                      <http://www.pdfsages.com>
PDF Sages, Inc.                              215-938-7080 (voice)
                                             215-938-0880 (fax)



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to