登录 注册
当前位置:主页 > 资源下载 > 9 > JasperReports_UltimateGuide.1.2.5.pdf下载

JasperReports_UltimateGuide.1.2.5.pdf下载

  • 更新:2024-12-02 11:41:20
  • 大小:1.03MB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:Java - 后端
  • 格式:PDF

资源介绍

Tables of contents 1 Introduction...................................................................................................................................................6 2 Getting started...............................................................................................................................................7 2.1 Installing JasperReports........................................................................................................................7 2.2 Requirements........................................................................................................................................ 7 2.3 X11 / Headless Java..............................................................................................................................8 2.4 Build the source files and run the samples.............................................................................................9 3 Working with report templates.................................................................................................................... 11 3.1 Creating report templates.....................................................................................................................11 3.2 Report design preview........................................................................................................................ 12 3.3 Loading and storing report template files............................................................................................ 13 3.4 Compiling report templates..................................................................................................................14 3.5 Expressions scripting language............................................................................................................14 3.6 Report compilers.................................................................................................................................15 3.7 Ant tasks for compiling reports............................................................................................................17 4 Filling report templates...............................................................................................................................19 4.1 Reporting data.....................................................................................................................................19 4.2 Generated reports................................................................................................................................20 4.3 Filling order (vertical / horizontal filling)............................................................................................21 4.4 Asynchronous report filling................................................................................................................. 22 5 Handling generated reports.........................................................................................................................23 5.1 Loading and saving generated reports................................................................................................. 23 5.2 Viewing reports...................................................................................................................................23 5.3 Printing reports....................................................................................................................................25 5.4 Exporting reports................................................................................................................................ 26 6 Large files support...................................................................................................................................... 27 6.1 File virtualizer.....................................................................................................................................27 6.2 Swap file virtualizer............................................................................................................................28 6.3 In-memory GZIP virtualizer................................................................................................................ 28 7 API Overview............................................................................................................................................. 29 8 Report templates......................................................................................................................................... 34 8.1 JRXML............................................................................................................................................... 34 8.2 DTD reference.................................................................................................................................... 34 8.3 JRXML encoding................................................................................................................................35 8.4 Report template properties...................................................................................................................36 8.5 Custom properties............................................................................................................................... 40 8.6 Importing packages.............................................................................................................................40 8.7 Styles...................................................................................................................................................41 9 Reporting data.............................................................................................................................................44 9.1 Expressions......................................................................................................................................... 44 9.1.1 Syntax..........................................................................................................................................44 9.1.2 Calculator.................................................................................................................................... 46 9.1.3 Built-in functions........................................................................................................................ 46 9.1.4 Conditional expressions............................................................................................................... 47 9.2 Parameters...........................................................................................................................................47 9.2.1 Built-in report parameters............................................................................................................ 49 9.3 Data sources........................................................................................................................................52 9.3.1 JDBC data source.........................................................................................................................52 9.3.2 JavaBeans data sources................................................................................................................ 53 9.3.3 Map-based data sources............................................................................................................... 54 9.3.4 TableModel data source............................................................................................................... 54 9.3.5 XML data sources........................................................................................................................ 55 9.3.6 CSV data sources........................................................................................................................ 56 9.3.7 Empty data sources...................................................................................................................... 57 9.3.8 Rewindable data sources..............................................................................................................57 Page