Questions tagged [dynamic-jasper]

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

dynamic-jasper
Filter by
Sorted by
Tagged with
112 votes
20 answers
305k views

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 ...
Andrew's user avatar
  • 2,763
17 votes
5 answers
23k views

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....
inanutshellus's user avatar
9 votes
2 answers
15k views

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 ...
Naveed S's user avatar
  • 5,156
5 votes
3 answers
1k views

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. ...
Eric Stein's user avatar
  • 13.5k
4 votes
1 answer
2k views

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 ...
Leo Lobeto's user avatar
4 votes
2 answers
9k views

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 ...
MKB's user avatar
  • 7,589
4 votes
3 answers
5k views

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....
Johnco's user avatar
  • 4,067
3 votes
1 answer
3k views

How to set background color for row with dynamic jasper report?

I am new to jasper, i know its a basic question. I spent lot of time to get a solution for this , but didn't get a solution for this so far. I am working a module where i have to generate report by ...
Ajil Mohan's user avatar
  • 7,369
3 votes
2 answers
3k views

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 ...
Harsha's user avatar
  • 3,548
3 votes
1 answer
5k views

DynamicJasper: How to remove line when blank

I am generating a report with the DynamicJasper, I want to remove a report line, when line is blank. I know how to do in JasperReports. But can anyone suggest me how to remove blank line through ...
jaxb's user avatar
  • 2,077
3 votes
1 answer
858 views

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 ...
KenobiBastila's user avatar
3 votes
1 answer
3k views

(Dynamic Jasper Reports) Importing parameters from a custom .jrxml fil

I'm developing a Java project with JasperReports(v.4.0.6) and DynamicJasperReports(v.4.0.1). I have generated a custom .jrxml with the most recent iReport plugin for Eclipse. In my .jrxml report, I ...
lyreil's user avatar
  • 31
3 votes
3 answers
4k views

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 ...
chetan's user avatar
  • 3,205
3 votes
1 answer
510 views

Is there an easy way to use JasperReports from Clojure?

I see there is a Scala wrapper for JasperReports, and I found a Clojure library for Scala interoperability, as well as a snippet of example code by a beginner from this discussion but I can't find any ...
sventechie's user avatar
  • 1,851
3 votes
1 answer
2k views

How to set column width dynamicaly in dynamic jasper excel report?

I am developing excel report using DynamicJasper API. I am able to generate the report from the given datasource, but the columns in the report still appeared very narrow. I searched to get a solution ...
Ajil Mohan's user avatar
  • 7,369
3 votes
2 answers
926 views

display a report for collection of different beans

Suppose I have 2 beans: Award Employee I add both of them in a collection. Based on this collection I want to generate a report using DynamicJasper using JRBeanCollectionDataSource. I'm able to ...
Chetan Pulate's user avatar
3 votes
1 answer
2k views

How to set value of list<String> 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 = ...
Anuhastik's user avatar
  • 261
3 votes
1 answer
525 views

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 ...
NubAtar's user avatar
  • 111
3 votes
1 answer
2k views

Dynamic-jasper: column height with configuration.setWrapText(true)

I'm using dynamic jasper 5.0.3 to generate xlsx file. When I set in SimpleXlsxReportConfiguration to wrap text like this: configuration.setWrapText(true) I have problem with column height in rows ...
Jan Kowalski's user avatar
3 votes
1 answer
2k views

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 ...
Steve's user avatar
  • 1,615
3 votes
1 answer
5k views

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 ...
NubAtar's user avatar
  • 111
3 votes
1 answer
2k views

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 ...
NubAtar's user avatar
  • 111
2 votes
2 answers
3k views

DynamicJasper and Asian characters

My PDF generated by DynamicJasper now looking exactly as it's supposed to, I am facing only one more problem: Asian characters are not displayed at all in the resulting PDF. Any other characters work ...
Pascal Kesseli's user avatar
2 votes
2 answers
4k views

How can I add horizontal line to bar chart in Jasper Report?

I'm trying to designing a report with bar chart, in which I need to add a threshold. I have tried with multi-axis chart, in which the scale in different axis is always different. Is there any other ...
Raysen Jia's user avatar
2 votes
1 answer
2k views

How to add page number option in footer with DynamicJasper API?

I am creating report with help of code: FastReportBuilder fr = new FastReportBuilder(); I want to add page number in footer of each page like. page 1/3 page 2/3
Muhammad Imran Tariq's user avatar
2 votes
2 answers
2k views

Dynamic Alignment based on cell value (Content) in Jasper Reports

I am using DynamicJasper (3.0.13) API for generating PDF. Is it possible to keep field value alignment center if value is "-" otherwise horizontal. My current jrxml field is as given follow. <...
Vishal Zanzrukia's user avatar
2 votes
1 answer
3k views

How to render Bangla SolaimanLipi Font in Jasper PDF report

We are using Jasper report 4.x. It working fine with Unicode char set like arabic, Bangla with SolaimanLipi in Jasper Viewer after embedding font on jasperreports-fonts-4.5.0 . But When I trying for ...
Śhāhēēd's user avatar
  • 1,842
2 votes
1 answer
2k views

How to use DynamicJasper to create an excel spreadsheet with formulas for subtotals of columns?

I would like to like to produce a Excel spreadsheet using DynamicJasper that computes subtotals of columns using formulas. For example: Employee Department Expenses -------------------------...
Eric Wilson's user avatar
  • 58.6k
2 votes
2 answers
1k views

How to display sum of each columns at footer in JasperReports without groups using DynamicJasper?

I tried using the method below. drb.addGlobalFooterVariable(totalAmount, DJCalculation.SUM); drb.addGlobalFooterVariable(basicAmount, DJCalculation.SUM); But it shows me the value of last row (of ...
Preciso Sensedge's user avatar
2 votes
1 answer
558 views

tried to access method java.lang.Object.clone()Ljava/lang/Object; from class ar.com.fdvs.dj.util.Utils

I am trying to generate Dynamic jasper reports from hibernate using the tutorial mentioned below http://krams915.blogspot.com/2011/02/spring-3-dynamicjasper-hibernate.html getting this error in ...
Nauman Rafique's user avatar
2 votes
1 answer
630 views

struts2, jsp project; show pdf

I am try to show an pdf in jsp page without saving this in the hard disk. I was able to generate a pdf and I tested it by saving it in hard disk. I am using DynamicJasper as reporting engine. Here is ...
Lipu's user avatar
  • 617
2 votes
2 answers
3k views

dynamicjasper addConcatenatedReport in a frame

Is it possible to concatenate subReports in a frame placed in the detail band? The goal is to display these subReports and the previous defined elements in the Detail section from a Template. If I ...
Javi Pedrera's user avatar
  • 2,095
2 votes
1 answer
2k views

How to move field to the top when others field at top blank

I haved created 5 parameters field at page header.When the parameter key in nothing then it will appear blank. My problem is how to make the parameter P_2 move to the top when parameter P_1 key in ...
Rozie Rozack's user avatar
2 votes
1 answer
1k views

How to use DynamicJasper with jsf 1.2

I found example with static jasper and jsf and its work but in dynamic jasper can't work( When I try to export my JasperPrint I have a strange exception at org.springframework.faces.model....
Anuhastik's user avatar
  • 261
2 votes
0 answers
438 views

daynamicjasper bangla font (unicode) vowel symbol not showing correctly

I am facing a problem in showing bangla fonts (Nikosh) in daynamicjasper reports. What I have achieved is as follows: But I want the following: Can anyone help me what am I missing? My code: ...
sarwar026's user avatar
  • 3,821
2 votes
0 answers
368 views

How to process matrix kind of jasper report

I'm using jasper reporting to display image in pdf. Here's the template I'm using for this purpose. <band height="130" splitType="Stretch"> <property name="com.jaspersoft.studio....
NAG's user avatar
  • 21
2 votes
2 answers
470 views

Compound columns evaluation in DynamicJasper

I use JRXML template and dynamic input parameters as inputs to generate advanced JRXML. Later this JRXML is taken and handled by JasperServer. The main idea is to let user pick any columns he wants ...
soborskyi's user avatar
2 votes
1 answer
914 views

DynamicJasper with Struts 2 integration error

I am trying to integrate DynamicJasper report with Struts2 in my project. Strut2 (with XWork 2.2.1 jar) is already using JasperReports (version 4.7.1). As per the official dynamic jasper reports ...
Teela's user avatar
  • 153
2 votes
0 answers
393 views

DynamicJasper setting different font style in one line of text for a title

Is this possible in DynamicJasper: This is a text ( a simple description ) Another text ( another simple description ) I wanted to have a title with that format, but I don't know how to set the font ...
user2964556's user avatar
2 votes
0 answers
1k views

Dynamic Jasper DynamicReportBuilder - insert page break when columns run off the page

for (GridColumnsEnum abscol : abscols) { drb.addColumn(abscol); } I have a for loop that iterates through a collection of abstract columns and adds the abstract columns to a ...
user619804's user avatar
  • 2,326
2 votes
0 answers
292 views

Error While integrating Dynamic Jasper with Struts2

This the error i get while integrating struts 2 and dynamic jasper Caused by: There is no result type defined for type 'dynamicjasper' mapped with name 'success' it caused because of my report.xml ...
Chetan Pulate's user avatar
2 votes
1 answer
690 views

dynamic jasper osgi bundle

I am trying to use DynamicJasper in an osgi environment ( Virgo ), I have not found a osgied DynamicJasper bundle, and when I tried to create one myself using maven-bundle-plugin that includes ...
jacob's user avatar
  • 1,427
2 votes
1 answer
3k views

dynamic jasper report multi row header

using "Dynamic Jasper", how do you create table header(addColumn) that has multiple rows? for example HEADING1 | HEADING2 | HEADING3 HEADING4 | HEADING5 | HEADING6 HEADING7 | HEADING8 | HEADING9 ====...
superfish's user avatar
  • 103
2 votes
0 answers
2k views

Set Different titles for global footer variables in Dynamic Jasper?

Can we set different titles for global footer variables? I have a requirement to display footer variables as below: Total Days : 120 Average Days : 20 Remaining Days : 5 Currently I am only able to ...
Naveen's user avatar
  • 141
2 votes
1 answer
913 views

Jasper Print creation is very slow

I try to create a Jasper Print with an ResultSet to build an PDF Report with the print. The Problem is, that the creation of the Jasper Print is very slow. The ResultSet is a Table with about 5000 ...
pmueller's user avatar
  • 143
1 vote
3 answers
4k views

How do I get the maven repository for DynamicJasper 3.1.2 (or higher)?

How do I get the maven repository for DynamicJasper 3.1.2 (or higher)?
Andrew's user avatar
  • 2,763
1 vote
1 answer
805 views

Which Jasper-Reports version to use to allow both Dynamic-Jasper and ireport (which uses jasper 4.1.1) to work together?

I have created a printing service I want to integrate in a couple applications that require printing. All printing is done by the Jasper Reports library - some by using a jdbc data source and jasper ...
Vova's user avatar
  • 160
1 vote
1 answer
5k views

DynamicJasper: How to fix java.lang.NoSuchMethodError error [closed]

I have a example for dynamic jasper report. I am using NetBeans IDE. I include library files as follows : Dynamic-jasper-3.2.1.jar Dynamic-jasper-3.2.1-test.jar jasperreport-4.5.jar commons-...
unknown's user avatar
  • 4,937
1 vote
1 answer
2k views

Dynamicjasper Excel and the leading Apostrophe

Im using DynamicJasper to generate an Excel sheet. Im experiencing some difficulty with the apostrophe prepended to my date columns values. I defined my column like this: AbstractColumn dateColumn = ...
HKalsi's user avatar
  • 333
1 vote
1 answer
4k views

Dynamic jasper report header image

I am creating dynamic jasper reports. Things are looking fine. How do I add a dynamic header image to the generated reports? I am using FastReportBuilder fr = new FastReportBuilder(); Style ...
Muhammad Imran Tariq's user avatar