That's what I thought initially, but then I tried to use the iReport editor and it cannot handle more than real basic editing.
I am not sure I understand what you mean by > 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 Convert to what? iReport uses a proprietary format based on XML if I recall correctly. How would I convert a word document into an iReport template format? I looked also at using COM/OLE from Java, but the documentation for driving Word and Excel with COM is scarce, big risks involved. Thanks Fred On Mon, Feb 15, 2010 at 16:11, Markus Meyer <[email protected]> wrote: > 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 >> [email protected] >> 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 > [email protected] > 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 [email protected] 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/
