Fred, JasperReports (with its iReport editor) sounds perfect for that task. Note that JasperReports uses iText internally, but creates the PDFs from scratch. However if you have lots of Word documents and would need to convert them by hand something like a Word VBA macro is probably the easiest/fastest solution. There are ways to automate Word from Java using COM automation, but I'm not sure this makes sense for your project.
Markus Am 15.02.2010 03:48, schrieb Fred Janon: > I need to generate different multi-page documents from some templates. > I need to replace or insert some text and charts at specific locations > in the template and then generate the final document. At the moment > the templates are Microsoft Word documents. We use Windows as our OS > and Java as the development technology. I looked at iReports but > because the editor has limited capabilities, I cannot convert the Word > templates into iReport documents. > > I looked at using COM/OLE or other Microsoft technologies but I don't > have enough knowledge of them to embark on that journey, specially > calling them from Java. We want to use Java to be able to create a > desktop app and a web app as well. > > I used iText before to generate a chart in PDF format that needs to be > in some of the reports. It worked beautifully. I own the first edition > of the iText book and it clearly states that iText is not designed for > editing pdf documents. I'd like to know if there is a way to create > the pdf templates and use iText to replace some of the text and charts > (images) to produce the real documents. I thought about using form > fields, but it probably would not work for replacing images (charts). > > Any suggestion would be appreciated. > > Thanks > > Fred > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php > Check the site with examples before you ask questions: > http://www.1t3xt.info/examples/ > You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ > ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/