Questions tagged [dynamic-jasper]

DynamicJasper (DJ) is an open source free library that hides the complexity of Jasper Reports.

DynamicJasper (DJ) is an open source free library that hides the complexity of Jasper Reports, it helps developers to save time when designing simple/medium complexity reports generating the layout of the report elements automatically. (Source: Manufacturer's page)

175 questions
103
votes
20 answers

Font is not available to the JVM with Jasper Reports

I'm trying to generate report with DynamicJasper, but I'm getting the following error: net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'Arial' is not available to the JVM. msttcorefonts is…
Andrew
  • 2,663
  • 6
  • 28
  • 50
17
votes
5 answers

jasper text field getting truncated

I'm having a font issue with my jasper report where one of my more wordy text fields (the last one in a detail band) is getting cut off in the PDF and PDF Preview but not in the Internal Preview. e.g. Internal Preview: Here is a fake description.…
inanutshellus
  • 9,683
  • 9
  • 53
  • 71
9
votes
2 answers

Is it possible to generate reports dynamically using Jasper Reports without generating a jasper for each report?

I have to generate reports based on various parameters which would be provided dynamically. In certain contexts, the parameters may be null. For example, from the table Person with id, name, age, sex and maritalStatus as fields, I would have to…
Naveed S
  • 5,106
  • 4
  • 34
  • 52
5
votes
3 answers

Show Chart with no Table

I'm trying to generate a Jasper Report using DynamicJasper which is just a chart, with no table appearing above it. There doesn't seem to be a method for hiding a column or for suppressing the table. What are my options for generating just a chart?…
Eric Stein
  • 13,209
  • 3
  • 37
  • 52
4
votes
3 answers

Using a CustomExpression in a DynamicJasper chart

I have a project using DynamicJasper to create reports. It works fine so far, but when I wanted to add a chart to a previously functional report I run into issues. I keep getting this: net.sf.jasperreports.engine.design.JRValidationException:…
Johnco
  • 4,037
  • 4
  • 34
  • 43
4
votes
1 answer

How to generate PDF reports that spans multiple pages horizontally

I have to generate PDF reports with many (defined at runtime) columns. These reports may span multiple pages horizontally when user selects many fields to show. I'm using DynamicJasper and could successfully generate dynamic reports when all the…
Leo Lobeto
  • 364
  • 3
  • 14
4
votes
2 answers

Set border of a jasper subreport having a title and a detail band

I am working on a grails project that use jasper plugin for downloading a document in pdf and doc format. I have several jasper subreports and using these subreports in dynamic jasper to download the document in pdf and docx format. I am using…
MKB
  • 7,587
  • 9
  • 45
  • 71
3
votes
2 answers

Generating dynamic jasper report from tabledatamodel

I am trying to generate a jasper report using a tabledatamodel, as JRDataSource dataSource = new JRTableModelDataSource(model); JasperPrint jp = DynamicJasperHelper.generateJasperPrint(dr, new ClassicLayoutManager(), dataSource); …
Harsha
  • 3,548
  • 20
  • 52
  • 75
3
votes
1 answer

DynamicJasper: accessing values for dynamic columns in a concatenated report

I have a need to create a report in DynamicJasper that has multiple "subreports" which contain different columns. The data for the columns is stored in a HashMap on each row Object. I have not found any way in DynamicJasper to specify that a…
Steve
  • 1,605
  • 1
  • 18
  • 29
3
votes
1 answer

How to set value of list in DynamicJasper

I need to generate dynamic count of columns in me report. So I set to my JasperPrint the massive of Object: Object[] obj = new Object[selectedUsers.size()]; //fill the massive JasperPrint jp = DynamicJasperHelper.generateJasperPrint(dr, new…
Anuhastik
  • 261
  • 1
  • 2
  • 14
3
votes
1 answer

DynamicJasper - How to add a subreport as columns?

Overview I have a Java class which has an ArrayList that must be printed to the jasperReport as a subreport. I'm using DynamicJasper library. The example on this question has been modified so it can be reproduced. However the data is different on…
KenobiBastila
  • 539
  • 4
  • 16
  • 52
3
votes
1 answer

Missing data when creating report with DynamicJasper

has anyone had problems with words missing when using dynamicJasper? More detail on problem is this: Let say that in certain field i want to print out rather large String: "HOUSE NUMBER" so if width for that column is set to 30, it is printed out…
NubAtar
  • 111
  • 1
  • 5
3
votes
1 answer

grouping over multiple columns in DynamicJasper

I have a problem of creating 1 group that "spand" over multiple colums in DynamicJasper. Example would be something like this: i get data from base, which i can not change: id1 id2 id3 id4 id5 1 Vega Steve …
NubAtar
  • 111
  • 1
  • 5
3
votes
3 answers

Cannot set landscape orientation in dynamic jasper report

DynamicReport firstDynaRep = new DynamicReport(); firstDynaRep.setTemplateFileName("./landscape.jrxml"); firstDynaRep = firstReport.build(); DynamicReport not taking it as a template. So the width of the page is not increased. So is there any way…
chetan
  • 3,175
  • 20
  • 72
  • 113
3
votes
1 answer

dynamically set column width in DynamicJasper

what I need to do is dynamically set column width: something like ColumnBuilder builder = ColumnBuilder.getNew().setWidth(x); but I actually don't know what x is when report is build. This "report template" will be used on many different queries…
NubAtar
  • 111
  • 1
  • 5
1
2 3
11 12