hanviet2003
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by hanviet2003
-
-
When design in iReport, I tried to convert parameter integer (epoch time) to human readable date on report.
In expression I use this:
new java.text.SimpleDateFormat("dd/MM/yyyy").format(new java.util.Date ($P{report_time} * 1000))
For example:
Parameter Class: java.lang.Integer.
Value: 1343754000 = 2012-08-01
Result: 25/12/1969
How to solve my problem? Thanks!
-
I solved problem.
Missed tag: Identity-H in exported XML.
However, I created manual based on font extension example. I don't try again with exported extension jar file.
-
Dear all,
I think many people got the same problem and too hard to find the way to solve it.
I deployed Jasper Report Server on Glassfish 3.0, JRS works normally. My server is CentOS 5, and Microsoft True Type fonts are installed in /usr/share/fonts/msttcorefonts/ folder. All ttf files are copied to JAVA_HOME/jre/lib/fonts folder too.
I used iReport 4.7.0 to export the font extension jar files and copy them to WEB-INF/lib in JRS application's folder in Glassfish.
The report are showing in browser OK, but when export to PDF, Unicode characters are missed. In Jasper Report XML (JRXML) I double check "PDF Embedded" propertie is checked.
I also tried to add font extension jar files into repository and link resource to Jasper Report. But the PDF export still missed unicode characters.
I really don't know how to solve this problem.
Please help me. Thanks in advanced!
Convert epoch time in input to human readable date
in Products
Posted