About Me

My photo
Ernakulam, Kerala, India
I am Sajadh, author of this blog. I run this with loads of passion.
If you are into java, you may find lot of interesting things around ...
Advance thanks for your queries to sajadhaja90@gmail.com.

Wednesday, 6 March 2013

Jasper I report


Jasper-Reports is a free reporting engine that could be written to screen, or to a printer or as HTML, PDF, RTF, Microsoft Excel, XML files, CSV format and ODT files.

Jasper-Report is using in Java related applications, including Web and Enterprise applications, to develop dynamic reports. It reads its instructions from jasper file (compiled) or XML dynamically

Layout for a report page.

 
sajadhaja

            
Figure 1: General Report Template

·         title appears only once at the very beginning of the report. Title of the report is written in this part.
eg. “Employee Performance Report”

·         pageHeader appears at the top of each page. This part may contain date and time information and/or
organization name.

·         columnHeader lists names of those specific fields which you want to display. eg. “Employee Name”,
“Starting Hour”, “Finishing Hour”, “Hours Worked”, “Date”

·         detail is the part where those fields of the entries are shown. eg. “John Doe”, “09:00”, “18:00”, “9”,
“16.07.2004”

·         columnFooter may display summation of any of the fields. eg. “Total Hours Worked: 180”

·         pageFooter appears at the bottom of each page. This part may contain page count information like
“1/7”.

·         summary is the part where information inferred from the data in the “detail” part is displayed. For
example, after listing the worked hours for each employee in “detail” part, total hours worked for
each employee can be put in a pie to enable a better visual comparison between the employees.
                                                                                                                                 NEXT CHAPTER

No comments:

Post a Comment

You can enter queries here...