Jump to content
Changes to the Jaspersoft community edition download ×


  • Posts

  • Joined

  • Last visited

christiaan_se's Achievements


Contributor (5/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges



  1. Hi, I have a question whether the roadmap presented in http://jasperforge.org/projects/jasperreports/tracker/roadmap is still feasible? More specifically, I very much like the idea of JasperReports supporting a more flexible approach to page orientation and page size, which from my point of view is the one major feature currently lacking in this great report engine. Moreover, I would like to propose to include the following feature request to be included since it fits nicely into this theme: 0004368: Column spanning multiple pages (title should probably be column header spanning multiple pages) kind regards, Christiaan
  2. I agree, move to Java 6. For a product / developer the choice is straightforward I think, if you don't want to upgrade the jre version, you shouldn't upgrade your jasper version.
  3. Did you try: http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=41922 I have to admit, searching on this forum is not really ideal. kind regards, Christiaan
  4. The problem is the excel library you are using to produce the Excel. Are you using JExcelApi? In that case the Excel file is completely stored into memory (the virtualizer doesn't have effect on that). In more recent versions they have allowed you to use a temporary file so the Excel file is not completely stored into memory, but you should configure that explicitly. I've posted this before in a topic, so may be you can do a search on that. kind regards, Christiaan
  5. hi, I want to print an image where the image is using the full height of the detailband. I have solved this as follows: 1) creating an JRDesignImage with JRImage.SCALE_IMAGE_RETAIN_SHAPE 2) Creating a detail band which is has the actual height of the page minus header and footer band heights 3) Placing the JRDesignImage on the detail band, give it the same height as the detail band and setting the stretch type to STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT This works fine, however, if the header dynamically increases in height (eg. because it contains a text which is wrapped to the next line). JasperReports keeps on generating the report for ever since (of course) the detail band's height is too large. Is there another way to solve this? kind regards, Christiaan
  6. Hi, can someone elaborate on the feature: - generic component support to allow extending the functionality of the JasperReports engine by plugging-in custom-made visual components that would take data as input and produce content that is embedded into the resulting documents; What does it do and how can I use it? (eg. can I embed swing components in the report?) kind regards, Christiaan
  7. JExcelAPI has been made more memory-scalable in terms of writing Excel files. Starting from version 2.6.5 you can use useTemporaryFileDuringWrite. You probable need to subclass JExcelApiExporter in order to use this property. kind regards, Christiaan
  8. Hi Assaf, "You are saying that anyone who wishes to run reports must have java installed on their computer" Did I? I was just talking about the viewer you were talking about. As mentioned, in order to preview a report in the webbrowser you will probably need to export your report to pdf or html (which can be done without the viewer executed on the server) so it can be displayed in the browser. Anyway, Jasperreports is certainly used in J2EE applications. I am just not one of them, so may be someone else should respond on how they handle previewing a report. I am not aware of any Ajax viewer though. kind regards, Christiaan
  9. Hi, I notice when exporting to rtf, the bottom part of texts are not completely visible. Eg. "p", "q" or "g" are cut off whereas they are completely visible in the preview? kind regards, Christiaan
  10. Hi, see answers inline: 1. Is the Jasper Viewer only Swing based or is there an DHTML/Javascript viewer that can be incorperated into a J2EE application based on JSP/Struts ? The viewer (JasperViewer) is a subclass of a JFrame and thus Swing based (see http://jasperreports.sourceforge.net/api/net/sf/jasperreports/view/JasperViewer.html). As such you cannot use it to preview it in a J2EE application. You should either make it an applet (I think it is in one of the examples) or you probably need to export it to pdf, so it can be previewed in your explorer. 2. Can a viewer component of Jasper be incorporated into our application so we can achieve a single installation for application + report viewer ? yes, very easily. As mentioned the viewer is a JFrame which you can open in your application. Even better, you can use the JRViewer, which is a subclass of JPanel, to nicely embed a viewer into your application (htmlhttp://jasperreports.sourceforge.net/api/net/sf/jasperreports/view/JRViewer.html). 3. Does this viewer include the export capabilities (Word,PDF,Excel) ? I think the viewer is for previewing only. It is very easy to export a report in the format pdf, excel, xml, rtf (see Faq and examples). Again, since the viewer is a panel it is easy to integrate the export to whatever in the viewer. 4. Non DB Datasources – I would like to base the reports on a non DB dataSource – would like my java classes to fetch the data and see some Java object in the HTTP Session (or pass to report in any other way) -> this object should be the basis for the report. Is this possible ? yes, I think that is one of the strengths of jasperreports. You can create your own datasource as a java class an print whatever you want to print. In our application we even build up the report at runtime using the classes of JasperReports (instead of the xml layout). Note, to visually create a report design, use IReports. 5. RTL (right to left) direction – are there any open issues regarding rtl support (does the export formats support the rtl direction as well). Don't know about this one. I suppose it uses the same techniques as java does. 6. Can I use the open source edition for the above or do I need to purchase a professional edition? (how to I get the Jasper Studio for building the reports?) Yes the open source edition provides all the required capabilities. Someone from the Jaspersoft team can probably better elaborate on the professional edition. kind regards, Christiaan
  11. Hi, you have to use two separate textfields (instead of one) using the same variable PAGE_NUMBER, but setting different evaluation time current page: JRExpression.EVALUATION_TIME_NOW total page count: JRExpression.EVALUATION_TIME_REPORT Note, this has also been described in: http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=&func=view&catid=9&id=37662#37662 kind regards, Christiaan
  12. Hi, I have create a report for a single image. I notice that displaying this report in the JRViewer is quite slow when scrolling up or down. Especially when the report consists of multiple pages the viewer becomes quite inresponsive. Any ideas how to improve this? kind regards, Christiaan [file name=image.jrxml size=8856]
  13. Hi Michael, why don't you create a custom datasource so you can do whatever you want, including executing JDO queries to return the right objects for the report. I also work with JDO and have taken this approach and it works great. kind regards, Christiaan
  • Create New...