At 10:46 AM 11/21/2005, Caron van Schalkwyk wrote:
To summarise:
1. I need to generate a PDF document.
OK.
2. Currently I don't have an AcroForm
Do you have Adobe Acrobat 6/7 Professional?
just two HTML designs (a blank
invoice with empty colums and adress area); one design
for the first page and one design for the rest
Do these HTML document have form fields or do they "just
look like forms"?
5. I don't know how many invoice lines there will be.
In that case, AcroForms aren't an option. You'll want to
work with HTML/XML.
6. I need an optimal solution to demo. a prototype tomorrow.
Better start coding yesterday then - this isn't a 1 day project...
I would look at using something like XSLT (or an explicit
HTML parser/modifier, or even RegEx) to do search/replace of tokens
in the HTML data with info from your database...
Then take the output HTML/XML and run it through iText with
a custom TagMap...
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 the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions