您好,欢迎光临本网站![请登录][注册会员]  
文件名称: iReport User Manual.pdf
  所属分类: Java
  开发工具:
  文件大小: 11mb
  下载次数: 0
  上传时间: 2010-02-07
  提 供 者: bobb****
 详细说明: 1 Introduction····························································································8 What is iReport?.............................................................................................8 Features ..........................................................................................................8 iReport Community........................................................................................9 Acknowledgements .......................................................................... ............10 2 Getting started·····················································································11 Requirements................................................................................................11 Download .....................................................................................................11 Compile iReport ...........................................................................................12 Start and base configuration.........................................................................12 Create a JDBC connection ...........................................................................14 The first report..............................................................................................15 Command line options .................................................................................19 3 Basic notions of JasperReports·························································21 JasperReports ...............................................................................................21 The report life cycle .....................................................................................21 Jrxml sources and jasper files ......................................................................22 Data sources and print formats.....................................................................25 Compatibility between versions...................................................................26 Expressions ..................................................................................................27 A simple program.........................................................................................28 4 Report structure ··················································································30 Bands............................................................................................................30 Title..........................................................................................................31 Page header..............................................................................................31 Column header.........................................................................................31 Group header ...........................................................................................31 Detail .......................................................................................................32 Group footer ............................................................................................32 Column footer..........................................................................................32 iReport User manual 4 Page footer...............................................................................................32 Last Page footer.......................................................................................32 Summary..................................................................................................32 Background..............................................................................................32 Report properties..........................................................................................33 Columns...................................................................................................34 Advanced options.........................................................................................36 Scriptlet....................................................................................................36 More… ....................................................................................................37 Title on a new page option ......................................................................37 Summary on a new page option...............................................................39 Floating column footer option.................................................................39 Print order...............................................................................................39 Print without data (when no data) ...........................................................40 i18n..........................................................................................................40 Resource Bundle Base name ...................................................................40 Characters encodings of the XML source files .......................................41 5 Report elements ··················································································42 Insert and select elements in the report ........................................................43 Positioning and elements order ....................................................................45 Manage elements with the elements tree .....................................................48 Basic attributes .............................................................................................49 Graphic elements..........................................................................................51 Line..........................................................................................................52 Rectangle .................................................................................................52 Ellipse ......................................................................................................52 Image .......................................................................................................53 Text elements ...............................................................................................56 Static text .................................................................................................57 Text field .................................................................................................57 Subreport ......................................................................................................61 Special elements...........................................................................................62 Chart ........................................................................................................62 Barcode....................................................................................................62 Hyper Links..................................................................................................63 Reference.................................................................................................64 LocalAnchor............................................................................................64 LocalPage ................................................................................................64 RemoteAnchor.........................................................................................64 6 Fonts·····································································································66 The font ........................................................................................................66 External font ............................................................................................67 Encoding..................................................................................................67 Use of Unicode characters.......................................................................68 Report font ...................................................................................................68 7 Fields, parameters and variables·······················································69 Fields ............................................................................................................69 Registration of fields of a SQL query......................................................70 Registration of the fields of a JavaBean ..................................................72 Introduction 5 Registration of the fields for a JRExtendedBeanDataSource..................72 Fields and textfield ..................................................................................73 Parameters ....................................................................................................74 Use of parameters in a query ...................................................................75 Passing parameters from a program ........................................................75 Built-in parameters ..................................................................................77 Variables ......................................................................................................77 Built-in variables .....................................................................................79 8 Bands and groups···············································································80 Bands............................................................................................................80 Groups ..........................................................................................................81 9 Subreport ·····························································································86 Create a subreport ........................................................................................86 Link of a subreport to the parent report .......................................................87 Passage of the parameters........................................................................87 To specify the datasource ........................................................................88 To specify the subreport ..........................................................................89 A step by step example ................................................................................89 Return parameters ........................................................................................96 10 Datasources·······················································································98 Datasources in iReport .................................................................................99 JDBC connection .......................................................................................100 ClassNotFoundException......................................................................101 URL not correct.....................................................................................102 Parameters not correct for the connection .............................................102 To work with the JDBC connection ......................................................102 Fields registration ..................................................................................102 The JRDataSource interface.......................................................................103 JavaBean set datasource.............................................................................104 Fields of a JavaBean set datasource ......................................................106 XML DataSource .......................................................................................108 Registration of the fields .......................................................................111 XML datasource and subreport .............................................................113 CSV DataSource ........................................................................................116 Registration of the fields .......................................................................117 JREmptyDataSource ..................................................................................117 To implement a new JRDataSource...........................................................118 To use a personalized JRDataSource with iReport ....................................120 JavaBean Extended datasource ..................................................................122 11 Internationalization··········································································124 Resource Bundle Base Name .....................................................................124 Retrieval of localized strings......................................................................126 Formatting messages..................................................................................127 Deploy of localized reports ........................................................................128 12 Scriptlet ····························································································129 The JRAbstractScriptlet class ....................................................................129 Scriptlet handling in iReport ......................................................................131 Deployment of reports that use scriptlets...................................................133 iReport User manual 6 13 Template···························································································134 Template structure......................................................................................134 Using a custom template ............................................................................137 14 Charts ·······························································································139 Creation of a simple chart ..........................................................................139 Series ..........................................................................................................144 Automatic series ....................................................................................146 Manual series.........................................................................................146 Types and properties of the charts .............................................................148 Pie Chart ................................................................................................150 Pie3D Chart ...........................................................................................150 Bar .........................................................................................................150 Bar3D ....................................................................................................153 Line........................................................................................................153 Area .......................................................................................................153 15 Plugins and additional tools···························································155 Plugin configuration XML file...................................................................156 The it.businesslogic.ireport.plugin.IReportPlugin class............................157 Plugin Massive compiler............................................................................160 Plugin Text Wizard ....................................................................................161 16 Solutions to common problems·····················································163 Printing a percentage..................................................................................163 Count occurrences of a group ....................................................................164 Split the detail ............................................................................................166 Insert a page break .....................................................................................167 Crosstab reports..........................................................................................169 Retrieving data using multiple connections ...............................................170 How to use a Stored Procedure ..................................................................171 Appendix A –GNU General Public License ········································172 The GNU General Public License..............................................................172 Preamble ................................................................................................172 Terms and Conditions for Copying, Distribution, and Modification ....173 NO WARRANTY .................................................................................176 Appendix: How to Apply These Terms to Your New Programs ..........177 Appendix B – DTD definitions ·····························································178 jaspereport.dtd............................................................................................178 iReportProperties.dtd .................................................................................181 iReportPlugin.dtd .......................................................................................181 iReportFilesList.dtd....................................................................................182 Appendix C – iReport and JasperReports versions ··························183 Index ······································································································184 Introduction ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: iReport User Manual
 输入关键字,在本站1000多万海量源码库中尽情搜索: