Stanton Fisque <sfisque <at> chrome.com> writes:

> 
> You might want to look at FOP by the apache group.  Its great for taking
> transformed XML and creating PDFs.
> 
> == stanton
> 
> -----Original Message-----
> From: itext-questions-bounces <at> lists.sourceforge.net
> [mailto:itext-questions-bounces <at> lists.sourceforge.net] On Behalf Of 
> Zenith
> Sent: Wednesday, September 20, 2006 8:33 AM
> To: itext-questions <at> lists.sourceforge.net
> Subject: Re: [iText-questions] Creating form fields in a paragraph
> 
> Bruno Lowagie <bruno <at> lowagie.com> writes:
> 
> 
> Sorry for the confusion. The original idea is to insert values into a
> template
> from a datasource which can be xml or csv. But the first task is to create
> that
> template using itext. For that reason I asked the question about form fields
> in
> a paragraph. 
> 
> But the only problem that I encountered after going through the data is that
> some values to inserted are huge and would have problem filling in the space
> assigned in the template. 
> 
> So The other option what I have in my mind is to parse through csv and then
> generate a pdf, dropping the idea of generating a template.
> 
> Zenith 
> 

Thanks for the suggestion Stanton. 

Bruno,

I was testing my code on the basis of the example you gave. I have actually
written a servlet of my own which tries to achieve the task. The XML provided is
saved at a specified location on my disk. But on running the code, after it
creates the basic template, it gives an error on reading the XML file saying
that too many files are open and java io exception on the line

writer.setPageEvent(new SimpleLetter()) 

the file path is all correct since it successfully creates a template in the
specified directory.

Zenith 






-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to