jasper-reports

Lightweight Java reporting engine

I'm looking for a lightweight java reporting engine to be embedded in an applet application. My first option was Jasper Reports, but the jar is over 2Mb, a little too heavy (and too bloated) for my needs. I don't know if there is modular jasper distribution, with funcionalities split in several jars (like html rendering, pdf, excel, com...

Jasperreports markup attribute and PDF

I'm working with Jasperrerports 3.5.1 and I have a html-styled text that I need to be printed in a PDF with the proper styles. In the cell I want to print the styled text I have the markup property set to "HTML". I have created a this sample text: <p> <table border="0"> <tbody> <tr> <td>wewewe</td> <td>eeeee</td> </tr> <tr> <td>qwewewq...

Has anybody tried html2pdf in django?

Ok when im gonna make reports with Java I use iReport for JasperReports Template designs. But with python the alternative is html2pdf - pisa. It would be great to see an example of this. Any hint would be appreciated. Tks. ...

jasper grails parameters

I have jasper report which accepts Integer parameter . I am using g:jasperreport tag to call the report . body of this tag has input html which gets passed to report. But's the report is not working. It is giving invalid format exception. Pl. help Thanks in advance. Abe ...

Jasper Reports: Cover page

Hi! I have a Jasper Report and I want to create for this report a cover page. The cover page must contain some information coming from the DB, like Company name, etc. I am trying to do this using a subreport but I didn't succeed. I've created a main report which contains first the cover page as a subreport and then the whole report as a...

How can I extract and use images from an archive in a Jasper report?

I need to put images in my Jasper reports that match rows in a database. I have the image data in proprietary archive files which I can easily extract in Java code. I need to know how to connect my Java code to the Jasper report to make the extraction process happen, something like BIRT's onRowSets() method. (I need overview documentatio...

iReport: Error when compiling report with subreport

The following .jrxml: <?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="DTC-Campaigns-...

Create Excel with style with JasperReports

I'm working with JasperReports 3.2. I have a report that I export to PDF and Excel. The report uses custom styles introduced by the user. I parse the styles in Java as it's explained here. so a sample text from the report before being interpreted is Test<style isBold="true" pdfFontName="verdanab.ttf">Test Bold</style> Some text <style i...

JasperReports rendering problem

I have a very weird JasperReports rendering problem. I am using an old version of the free Java Reporting Tool JasperReports: 1.3.4. It's being heavily used on a Swing finance application. I use JasperViever class to show a preview of the report to print, and my weird problem is that the report shows perfectly fine on some computers wh...

Jasper report: disable save button when generating a pdf.

Hello, I would like to know if is posible to disable the "save as" button when I generate a pdf from a jasper report in a jsf page. Thanks in advance. ...

Rendering arbitrary XHTML with JasperReports

We have embedded JasperReports into our application to generate reports, but I've been rather dissatisfied with the way that the JEditorPaneHtmlMarkupProcessor handles writing arbitrary XHTML. For example, I needed to output a bulleted list at one point, which it does, but because it converts it to actual bullet characters and newlines, ...

How to query multiple SUMs into multiple columns of the same SQL query in iReport?

Is this efficient? How could it be improved? I was trying to get data from one set of columns into two sets of columns according to a condition. All the methods I tried ended up with multiple rows. This is very similar to this other question but a bit more complicated. Here's what I did: (Because this is for iReport/JasperReports, it...

Writing methods in jasper report?

I am creating a jasper report.In that I want to write one method which takes integer and does some process and returns a string.I dont know how to write methods in jasper report.Is it possible to write?Can any one help me in this I am using iReport3.6.0. Sample code : <textField> <reportElement x="400" y="10" width="80" height="15"...

Printing serial number in jasper report detail

I have created a jasper report.In that report in detail areaI have "serialNumber" column. That column wants to be auto incrementive and stats with "1".I am using hibernate for query. Sample code is : <detail> <band height="17" splitType="Stretch"> <textField isBlankWhenNull="true"> <reportElement x="12" y="0" width="27" height="15...

Newline Control for JasperReports 3.6.

I'm working with JasperReports 3.6 and trying to create a report with the PDF format which will meet our customer's needs. By exporting to PDF, I found that multi-byte characters (Japanese/Shift-JIS, EUC-JP, UTF-8, ISO-2022-JP) would be printed in the newline automatically without setting the "/n" code. The field would be expected to s...

How can I increment a variable with value of another variable in JasperReports?

I need to make a grand total of the items I'm counting in a subReport. To do that, I think I need to add the value of that variable to another variable for each iteration, or "increment" it by that value. The subReport gets called for each group, and I get a total for that group. I need to add the variable values, rather than database co...

Jasperreports and page numbering

Hi! I have a report implemented using JasperReports. This report is divided in chapters, where each chapter is a subreport. Unfortunately at each page the page-number is starting again from one. How can I avoid this? (I have also some conditional which are or are not including some reports). Thanks in advance, Luis ...

JRXML operator error

Hi everyone, I'm getting this error when compiling my JRXML file in iReport 3.1.2: com.jaspersoft.ireport.designer.errorhandler.ProblemItem@f1cdfb The operator > is undefined for the argument type(s) java.lang.Integer, java.lang.Integer net.sf.jasperreports.engine.design.JRDesignExpression@eb40fe The only place in my entire report wh...

Jasper report iterating on java.util.List

Hi,Can i iterate on Arraylist in jasperreport which is passed as a parameter and calculate the sum of some properties.Im using the ireport to create a jrxml. ...

how to hide column in Jasper runtime?

Hello, I am creating one jasper report by connecting it with database.In which I have to hide table column depending upon the data I get after executing the query.How to do that ? ...