JasperReports 3.5 for Java Developers.pdf - sigue
7:56 PMTable of Contents
Preface
Chapter
1: An Overview of JasperReports
A
brief history of JasperReports
What
exactly is JasperReports?
The
features of JasperReports
Flexible report layout
Multiple ways to present data
Multiple ways to supply data
Multiple datasources
Watermarks
Subreports
Exporting capabilities
Class
library dependencies
Typical
workfow
Where
to get help
Summary
Chapter 2: Adding Reporting Capabilities to
our Java Applications 19
Downloading
JasperReports
Setting up our environment
JasperReports
class library
Required libraries for report compilation
Apache Commons
Optional libraries and tools
Apache ANT
JDT compiler
JDBC driver
iText
JFreeChart
Table of Contents
JExcelApi
Summary
Chapter
3: Creating your First Report
Creating
a JRXML report template
Previewing the XML report template
Creating
a binary report template
Compiling a JRXML template programmatically
Previewing the compiled report template
Compiling a JRXML template through ANT
Generating
the report
Viewing the report
Displaying reports in a web browser
Elements
of a JRXML report template
<property>
<import>
<template>
<style>
<subDataset>
<parameter>
<queryString>
<feld>
<sortField>
<variable>
<flterExpression>
<group>
<background>
<title>
<pageHeader>
<columnHeader>
<detail>
<columnFooter>
<pageFooter>
<lastPageFooter>
<summary>
<noData>
Summary
Chapter
4: Creating Dynamic Reports from Databases
Database
for our reports
Generating
database reports
Embedding SQL queries into a report template
Generating the report
Modifying a report query through report parameters
Database reporting through a datasource
A comparison of database report methods
Summary
Chapter
5: Working with Other Datasources
Empty
datasources
Map
datasources
Java
objects as datasources
TableModels
as datasources
XML
datasources
CSV
datasources
Custom
datasources
Writing a custom JRDataSource implementation
Using the custom JRDataSource implementation
Summary
Chapter
6: Report Layout and Design
Controlling
report-wide layout properties
Setting
text properties
Styles
Setting
a report's background
Report
expressions
Adding
multiple columns to a report
Final notes about report columns
Grouping
report data
Report
variables
Built-in report variables
Stretching
text felds to accommodate data
Laying
out report elements
Setting the size and position of a report element
Setting
common element properties
Hiding
repeated values
Subreports
Summary
Chapter 7:
Adding Charts and Graphics to Reports
Adding
geometrical shapes to a report
Adding lines to a report
Adding rectangles to a report
Adding ellipses to a report
Adding
images to a report
Attributes of the <image> element
evaluationTime
evaluationGroup
hAlign
vAlign
IsLazy
isUsingCache
onErrorType
Adding
charts to a report
Attributes of the <chart> element
customizerClass
evaluationGroup
evaluationTime
isShowLegend
Chart customization
Chart datasets
Attributes of the <dataset>
element
Plotting charts
Attributes of the <plot>
element
Pie charts
Bar charts
XY line charts
Other types of charts
Summary
Chapter
8: Other JasperReports Features
Report
localization
Scriptlets
Crosstabs
Crosstab subelements
<columnGroup>
<crosstabCell>
<crosstabDataset>
<crosstabParameter>
<measure>
<parametersMapExpression>
<reportElement>
<rowGroup>
<whenNoDataCell>
Subdatasets
Adding
hyperlinks and anchors to reports
Turning chart items into hyperlinks
Bookmarks................
0 comments: