I have several model contracts in Microsoft Word files with as many as 20 pages per file). I would like to use Jasper Reports to fill out these contracts.
I tried importing the doc file into iReport, but that is not working.
Is there a way to convert a Microsoft Word file to a JasperReport template?
Try to convert the doc into excel and than use the excel as datasource in ireport.
Edit: Based on OP's comment.
You can not use a Microsoft word file as a JasperReport template. You will need to create a JRXML file for JasperReports. It is possible to use rtf or html as source for text fields but the final formating of such field is rather pure.
Your other option is to not user JasperReports and manipulate the Microsoft Word files directly using Apache Poi.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With