Hi all,
I tried to read the related questions and didn't find any new tool. Here is my problem : i generate some PDF files for an insurance from the data in my app. Stuff like, contracts, certificates, bills etc. The insurance guy gives me the templates files as .docs with fields in them and I have to fill in the fields with my data and generate the PDF. Quite a simple problem.
I don't have word, I'm in java swing.
I don't feel like re-creating he word doc in a report system (like BIRT or iReport) because it's long, painful and they often can't even do the same layout as word does.
I tried converting the .doc in .odt (OpenOffice), changing the field in form field, generating the PDF as a PDF form (non-decorated disabled fields, to look like normal text) and filing them with iText, but I get cheap results (I can't choose the font in the fields, width is fixed, I can't properly line up the baseline in the field and in the surrounding text etc.)
Do you have ideas/tools I can use for filling those fields without re-creating the doc file in a template editor ?
This question is quite open, I'm looking for ideas more than you doing my homework.