Home Page Icon
Home Page
Table of Contents for
JasperReports 3.6 Development Cookbook
Close
JasperReports 3.6 Development Cookbook
by Bilal Siddiqui
JasperReports 3.6 Development Cookbook
JasperReports 3.6 Development Cookbook
JasperReports 3.6 Development Cookbook
Credits
About the Author
About the Reviewers
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Creating Static and Dynamic Titles and Headers
Introduction
Downloading, installing, and running JasperReports and iReport
How to do it...
There's more...
Download and install iReport for Linux, Mac OS X, and Solaris
Download older versions of iReport for Windows, Linux, Mac OS X, or Solaris
Creating your first "Hello World" report
How to do it...
How it works...
Creating and sizing the title for your report
Getting ready
How to do it...
How it works...
There's more...
Aligning multiple components simultaneously
Using dynamic titles that can change during report processing
Getting ready
How to do it...
How it works...
Inserting a company logo in the title of your report
Getting ready
How to do it...
How it works...
Adding a simple header to your report
Getting ready
How to do it...
How it works...
There's more...
Setting margins for your report and aligning the report header relative to report margins
Getting ready
How to do it...
How it works...
2. Working with the Body and Footer of your Report
Introduction
Displaying a field along with its label in the body of your report and handling null values
Getting ready
How to do it...
How it works...
Creating a simple table of records along with labels for each column
Getting ready
How to do it...
How it works...
Inserting a heading for a group of records
Getting ready
How to do it...
How it works...
Using parameters to filter records during report processing
Getting ready
How to do it...
How it works...
Implementing groups within groups — a nested hierarchy
Getting ready
How to do it...
How it works...
Adding a simple footer to your report
How to do it...
How it works...
Displaying general information or summary at the end of your report
Getting ready
How to do it...
How it works...
3. Enhancing the Look and Feel of your Report
Introduction
Deploying and reusing styles in your report
Getting ready
How to do it...
How it works...
Setting background color for data
Getting ready
How to do it...
How it works...
Using HTML tags and bullet lists
Getting ready
How to do it...
How it works...
Expanding a field vertically to accommodate large text
Getting ready
How to do it...
How it works...
Applying formatting pattern to the value of a data field
Getting ready
How to do it...
Using background images and watermarks in your report
Getting ready
How to do it...
4. Working with a Variety of Data Sources
Introduction
Creating a report from relational data
Getting ready
How to do it...
There's more...
Connecting to an XML datasource
Getting ready
How to do it...
Creating a report from XML data using XPath
Getting ready
How to do it...
How it works...
Using multiple relational databases to generate a report
Getting ready
How to do it...
How it works...
Creating a report from model beans of Java applications
Getting ready
How to do it...
How it works...
5. Multi-page Reports
Introduction
Building a cover page for your multi-page report
Getting ready
How to do it...
How it works...
Creating a simple, one-page TOC for your report
Getting ready
How to do it...
How it works...
Applying a style to your simple TOC
Getting ready
How to do it...
How it works...
Resetting page numbering with the start of a particular record
Getting ready
How to do it...
How it works...
Implementing complex multi-dimensional page numbering
Getting ready
How to do it...
How it works...
Showing multiple types of data in the same report
Getting ready
How to do it...
How it works...
Managing pagination of multiple types of data in a report
Getting ready
How to do it...
How it works...
6. Multi-column Reports
Introduction
Dividing the body of a report into multiple columns
Getting ready
How to do it...
How it works...
Displaying groups of data in separate columns
Getting ready
How to do it...
Displaying data as name-value pairs in multiple columns
Getting ready
How to do it...
Filling your report horizontally in multiple columns
Getting ready
How to do it...
How it works...
Using subreports to design a multi-column report
Getting ready
How to do it...
How it works...
7. Summary Report, Crosstabs, and Graphs
Introduction
Designing a simple summary report
Getting ready
How to do it...
How it works...
Designing a multi-level summary report
Getting ready
How to do it...
How it works...
Designing a crosstab—a table with dynamic rows and columns
Getting ready
How to do it...
How it works...
Displaying data trends as a graph in your report
Getting ready
How to do it...
How it works...
There's more...
Embedding a bar graph inside a tabular view
Getting ready
How to do it...
8. Java Wrappers for your JasperReports
Introduction
Creating a Java wrapper for your report
Getting ready
How to do it...
How it works...
Compiling and viewing your report in a Java Swing application
Getting ready
How to do it...
How it works...
Printing the hardcopy of your report using a Java Swing application
Getting ready
How to do it...
Creating an Excel report from a Java Swing application
Getting ready
How to do it...
Creating a JasperReport on the fly in a Java web application
Getting ready
How to do it...
How it works...
There's more...
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
JasperReports 3.6 Development Cookbook
JasperReports 3.6 Development Cookbook
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset