JRXML(JasperReports)


"JasperReports is an open source Java reporting tool that can write to a variety of targets, such as: screen, a printer, into PDF, HTML, Microsoft Excel, RTF, ODT, Comma-separated values or XML files.
It can be used in Java-enabled applications, including Java EE or web applications, to generate dynamic content. It reads its instructions from an XML or .jasper file."
This is the famous description i got from Wikipedia ..i think it's short and sweet description anyone can understand.
Followings are some difficulties i faced and how it solved, since i'am working with Arabic applications most of them are related to Arabic.


  •  Data not loading in excel though it's displaying in pdf correctly. --To solve this You need to use correct formating to your jrxml file. other wise when print into excel ,excel cannot print data as  excel consist of cell based.so text box,label alignment are very important.
  •  Arabic text dispalying settings--
< font fontName="Arial" pdfFontName="arial.ttf" pdfEncoding="Identity-H" isPdfEmbedded="true" / >


you can just type like above or if you are using ireport you can add arial font to your ireport by selecting the font type in properties tab.


Comments