Posts

Showing posts from September, 2015

Generating PDF Report using Apache FOP, MS word (for template) and JAVA

Image
Generating PDF Report using Apache FOP, MS word (for template) and JAVA We often encounter the requirement for generating the custom PDF report. There are many open source tools like iText, Jasper etc. I was looking for some approach that ease the formatting task for the report. Will follow below steps to generate the report: For further understanding, we will take a task to generate the sample report. We will generate user bank account statement PDF. As this is the sample PDF, we will include limited details. The logo is We will follow the above mentioned steps: Prepare the report template using MS word. As a part of the bank statement report we will need to include below information in report. Name Address Account Number Bank Name Month Transaction List-> Desc, Credit/Debit, Amount Based on the above mentioned parameter we generated the below PDF template in MS word. Generating this template in MS word and formatting it does not take long time