Search and Find

Book Title

Author/Publisher

Table of Contents

Show eBooks for my device only:

 

The Definitive Guide to iReport

The Definitive Guide to iReport

of: Giulio Toffoli

Apress, 2008

ISBN: 9781430205234 , 352 Pages

Format: PDF, Read online

Copy protection: DRM

Windows PC,Mac OSX,Windows PC,Mac OSX geeignet für alle DRM-fähigen eReader Apple iPad, Android Tablet PC's Read Online for: Windows PC,Mac OSX,Linux

Price: 52,99 EUR



More of the content

The Definitive Guide to iReport


 

Contents at a Glance

5

Contents

6

Foreword

13

About the Author

14

Acknowledgments

15

Introduction

16

Features of iReport

16

iReport Community

17

Downloading the Code

17

Getting Started

18

Requirements

18

Downloading iReport

18

Compiling iReport

19

Setting Up the Start and Base Configuration

19

Creating a JDBC Connection

24

Creating Your First Report

26

Specifying Startup Command-Line Options

30

Basic Notions of JasperReports

32

Understanding the Report Life Cycle

32

JRXML Sources and Jasper Files

33

Datasources and Print Formats

36

Compatibility Between Versions

37

Report Expressions

38

Using Groovy As a Language for Expressions

39

A Simple Program Using JasperReports

39

Report Structure

41

Document Sections (Bands) Overview

41

Specifying Report Properties

43

Report Elements

56

Inserting and Selecting Elements in a Report

57

Managing Elements with the Elements Tree

64

Basic Element Attributes

65

Graphic Element Attributes

67

Text Element Attributes

74

A Brief Look at Subreports

80

Working with Frames

82

Special Elements

83

Adding Hyperlinks to Elements

85

Fonts and Styles

88

Working with Fonts

88

Working with Styles

91

A Word About Report Fonts

96

Fields, Parameters, and Variables

97

Working with Fields

98

Working with Parameters

103

Working with Variables

108

Bands and Groups

111

Modifying Bands

111

Working with Groups

113

Subreports

122

Creating a Subreport

122

Linking a Subreport to the Parent Report

122

A Step-by-Step Example

125

Returning Values from a Subreport

133

Using the Subreport Wizard

135

Datasources and Query Executers

139

How a JasperReports Datasource Works

139

Understanding Datasources and Connections in iReport

140

Creating and Using JDBC Connections

142

Fields Registration

145

Sorting and Filtering Records

146

Using JavaBeans Set Datasources

146

Using XML Datasources

150

Using Remote XML File Datasources

160

Using CSV Datasources

161

Using JREmptyDataSource

163

Using HQL and Hibernate Connections

163

Understanding the JRDataSource Interface

167

How to Implement a New JRDataSource

167

Using a Personalized JRDataSource with iReport

169

Using MDX and OLAP (Mondrian) Connections

172

Working with an XML/A Connection

178

Using an EJBQL Connection

182

Importing and Exporting Datasources

187

JasperReports Datasource Providers

188

Creating Custom Languages and Query Executers

190

Working with a Fields Provider

195

Creating Custom iReport Connections

199

Internationalization

203

Using a Resource Bundle Base Name

203

Retrieving Localized Strings

205

Formatting Messages

206

Deploying Localized Reports

206

Running a Report Using a Specific Locale and Time Zone

206

Scriptlets

208

Understanding the JRAbstractScriptlet Class

208

Scriptlet Handling in iReport

210

Deploying Reports That Use Scriptlets

212

Templates

213

Template Structure Overview

213

Using a Custom Template

216

Putting Templates into JAR Files

218

Charts

220

Creating a Simple Chart

220

Using Datasets

227

Value Hyperlinks

227

Properties of Charts

227

Subdatasets

229

Creating a Subdataset

229

Creating Dataset Runs

232

Working Through an Example Subdataset

233

Crosstabs

240

Using the Crosstab Wizard

240

Working with Columns, Rows, and Cells

245

Understanding Measures

252

Modifying Crosstab Element Properties

253

Working with Crosstab Data

255

Using Crosstab Total Variables

256

Other Interface Components

259

Using the Document Structure Panel and the Object Library

260

Understanding the Log Window

264

Understanding the Thread List

264

Using Rules and Magnetic Guidelines

265

Plug-Ins and Additional Tools

267

Plug-In Configuration XML File Overview

268

Working with the it.businesslogic.ireport.plugin.IReportPlugin Class

270

Deploying a Plug-In As a JAR File

273

Using the Massive Compiler Plug-In

273

Using the Text Wizard Plug-In

274

Using the Oracle Options Plug-In

275

Using the Check for iReport Updates Plug-In

275

Using the Translation Status Plug-In

276

Solutions to Common Problems

280

Error Handling

280

Printing Large Reports Using Report Virtualizer

280

Printing a Percentage

281

Counting Occurrences of a Group

282

Splitting the Detail Band

285

Inserting Additional Pages

285

Retrieving Data Using Multiple Connections

288

Using Stored Procedures

289

iReport Options

292

Configuring General Options

292

Configuring Compiler Options

293

Configuring Backup Options

294

Configuring External Programs

295

Extending the Classpath

295

Configuring Export Options

296

Creating Custom Expressions (Formulas)

297

GNU General Public License

298

The GNU General Public License

298

DTD Definitions

303

jaspereport.dtd (v.1.3.4)

303

iReportProperties.dtd

317

iReportPlugin.dtd

317

iReportFilesList.dtd

318

iReport and JasperReports Versions

319

Index

320