更新时间:2021-04-29 19:07:53
封面
书名页
JasperReports for Java Developers
Credits
About the Author
Preface
What This Book Covers
What You Need for This Book
Conventions
Reader Feedback
Customer Support
Chapter 1. An Overview of JasperReports
Brief History of JasperReports
What is JasperReports?
The JasperReports Open-Source License
Features of JasperReports
Class Library Dependencies
Typical Workflow
Where to Get Help?
Summary
Chapter 2. Adding Reporting Capabilities to Java Applications
Downloading JasperReports
JasperReports Class Library
Chapter 3. Creating Your First Report
Creating a JRXML Report Template
Generating the Report
Displaying Reports on a Web Browser
Elements of a JRXML Report Template
Chapter 4. Creating Dynamic Database Reports
Database for Our Reports
Generating Database Reports
Chapter 5. Working with Other Datasources
Empty Datasources
Map Datasources
Java Objects as Datasources
TableModels as Datasources
XML as Datasource
Custom Datasources
Chapter 6. Report Layout and Design
Controlling Report-Wide Layout Properties
Setting Text Properties
Setting a Report's Background
Adding Multiple Columns to a Report
Grouping Report Data
Report Expressions
Report Variables
Stretching Text Fields to Accommodate Data
Laying Out Report Elements
Using the <frame> Element
Hiding Repeated Values
Subreports
Chapter 7. Adding Charts and Graphics to Reports
Adding Geometrical Shapes to a Report
Adding Images to a Report
Adding Charts to a Report
Chapter 8. Other JasperReports Features
Report Localization
Scriptlets
Crosstabs
Subdatasets
Adding Hyperlinks and Anchors to Reports
Handling Very Large Reports
Chapter 9. Exporting to Other Formats
Exporting Overview
Exporting to PDF
Exporting to RTF
Exporting to Excel
Exporting to HTML
Exporting to XML
Exporting to CSV
Exporting to Plain Text
Directing HTML Reports to a Browser
Chapter 10. Graphical Report Design with iReport
Obtaining iReport
Creating a Database Report in Record Time
Creating a Report "From Scratch"
Creating More Elaborate Reports
Help and Support
Chapter 11. Integrating JasperReports with other Frameworks
Integrating JasperReports with Hibernate
Integrating JasperReports with Spring
Integrating JasperReports with JavaServer Faces
Integrating JasperReports with Struts
Index