Hi All,

I want to generate report in a document format and the same should be converted in to pdf using JAVA. Can you please any one suggest me some libraries for the same.

Thanks in advance

Regards,
Anand

what do you mean by 'document format'?

Sorry I was ment ms word document format (.doc).

can any one help me

Apache POI is a pretty well known library for creating .doc and .docx files. If you do a search for "doc to pdf java" you'll come across few open source libraries (not well known) which can do this.

Assuming you are not doing any fancy coloring/formatting, I would recommend writing out documents in a famous format like "markdown" and converting it later to PDF/DOCX.

iText and Jasperreports are the best for this. I have been using them for years and I could tell you they are the best.

commented: Good one; assuming OP is ok with investing in a heavyweight solution +15

Thanks ~s.o.s~ and Raul Perez ,

I will explore those.

Thanks again
Cheers,
Anand

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.