jasper report

I am planning to use Jasper. Before that I need to know if jasper can do these things.

I have a client application based on java swing  installed in every client machine. Now inside the application I need to produce a e xc e l file on click of a button. The data is inside a arralist of java value object. 

1) Can jasper be used to produce an e x ce l file using the values in plain java po jo objects.

2) Does jasper needs to be installed in each and every machine or just the jar file is sufficient?

3) The value for the each column in the e x cel report is in a java object. Can jasper show h t ml content inside the excel properly. For example, if the data is <b>This is bold Text</b>. And will the genrated e x cel output will show the data as is inside a cell or does it show the text in bold.?

Thanks.

kvmc09302012's picture
Joined: Oct 25 2012 - 4:50pm
Last seen: 10 years 7 months ago

1 Answer:

 

1) Can jasper be used to produce an e x ce l file using the values in plain java po jo objects.

I don't know your POJO object, but I think it is not the problem. Lets try Jasper Server to understand and you will know how to generate your report first.

2) Does jasper needs to be installed in each and every machine or just the jar file is sufficient?

Nope. You just install on server, and client can access to server to get reports.

3) The value for the each column in the e x cel report is in a java object. Can jasper show h t ml content inside the excel properly. For example, if the data is <b>This is bold Text</b>. And will the genrated e x cel output will show the data as is inside a cell or does it show the text in bold.?

It is belonged to your skill/artwork to design Jasper Report XML.

huuquynh's picture
Joined: Aug 19 2012 - 7:13pm
Last seen: 10 years 7 months ago
Ah, if you are using Java, you must include some jar files. But you can choose other way (consuming webservice) to get the report without include jar file. Good luck!
huuquynh - 10 years 7 months ago
Feedback