Upload
mindfire-solutions
View
565
Download
9
Tags:
Embed Size (px)
DESCRIPTION
In this presentation one will get to know more & more features and customization which could be brought about in Reports.
Citation preview
Introduction to Jasper Reports – Seminar 2Ankur Gupta
About MeSCJP/OCJP - Oracle Certified Java ProgrammerMCP:70-480 - Specialist certification in HTML5
with JavaScript and CSS3 ExamM101J: MongoDB for Java Developers
Skills : Servoy, Java, JavaScript, HTML, Jasper Reports , iReport, MongoDB, JavaFX
Connect Me :Facebook : https://www.facebook.com/ankur10augLinkedIn: http://www.linkedin.com/pub/ankur-gupta/51/895/910Twitter: https://twitter.com/ankur_augGoogle+ : https://plus.google.com/116451164261752827176
Blog: http://ankurthetechie.blogspot.in, http://community.jaspersoft.com/planet YouTube video Stream: http://www.youtube.com/user/ankurgupta46/videos
Contact Me :Email : [email protected]: mfsi_ankurg
Recap
Introduction to reporting What is Jasper Reports Tools that can be used to create Jasper Reports What is iReport Various editions of iReport (Community/Professional) Basic elements of the report. Introduction to usage of Parameters and variables . Demonstration in iReports (Using sample database). Peek into the next seminar.
Adgenda
Quick Recap of Previous Seminar
Datasources
Grouping
Importance of Evaluation Time
Charts
Sub- Reports
Lists
Sub-Reports Vs Lists
Scriptlets
Styles
Datasources in iReportDatasource Implementation Class
JDBC net.sf.jasperreports.engine.JRResultSetDataSource
JavaBean net.sf.jasperreports.engine.data.JRBeanCollectionDataSource, net.sf.jasperreports.engine.data.JRBeanArrayDataSource
Map-based net.sf.jasperreports.engine.data.JRMapArrayDataSource, net.sf.jasperreports.engine.data.JRMapCollectionDataSource
TableModel net.sf.jasperreports.engine.data.JRTableModelDataSource
XML net.sf.jasperreports.engine.data.JRXmlDataSource
CSV net.sf.jasperreports.engine.data.JRCsvDataSource
XLS net.sf.jasperreports.engine.data.JRXlsDataSource
Empty net.sf.jasperreports.engine.JREmptyDataSource
Grouping in Reports
Importance of Evaluation Time in ReportsTypes of Evaluation Time
1.None2.Report3.Group4.Column5.Page6.Now 7.Band8.Auto
Charts
Tools can be used to create charts in Jasper Reports
Inbuilt Chart item in Palette of iReport / JasperSoft Studio
Custom Charts using JFreeCharts (will be taken up in the next seminar)
Sub-report
Utility of using subreport:
1.Implements Report in Report Structure
2.Provides full structure of the subreport
3.Pass and Return values to provide dynamism to the main report
Lists
Lists Vs Sub Report
Advantages of using List:
1.No Extra resources
2.In Report calculation
Advantages of using Subreport
1.Pass and Return values to provide dynamism to the main report
2.Acts as completely new report with all the features of a individual report, like having title, header, footer, etc.
Scriptlet
How Scriptlets can be utilized.
Field Manipulation
Variable Manipulation
Report Data Manipulation
Integration with Java Foundation Components, such as SWING etc.
How to achieve customization using Scriptlets User Defined Functions
Predefined functions
Pre- Defined Functions
beforeReportInit()
afterReportInit()
beforePageInit()
afterPageInit()
beforeColumnInit()
afterColumnInit()
beforeGroupInit(String)
afterGroupInit(String groupName)
beforeDetailEval()
afterDetailEval()
User Defined Functions
Styles in Jasper Reports
How to include Styles in Jasper Reports
1. Creating Styles in the Report itself (More like local Style sheet)
2. Creating External jrtx File which could be linked with any Report (More like a global Style)
Demo
Peek into the next seminar.
Demonstration Of custom Datasource
Cascading Parameters
Drill Down Reports
Collection Parameters
Scheduling Reports
Utility of Print When Expession
and much more …
Questions
Thankyou