File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes problem with jasper report excel format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "problem with jasper report excel format" Watch "problem with jasper report excel format" New topic

problem with jasper report excel format

Satish Palli

Joined: Jun 13, 2006
Posts: 3
<reportElement mode="Opaque" x="260" y="5" width="255" height="15" forecolor="#ffffff" backcolor="#333333" style="Arial_Bold"/>

i wrote code to set the back color for an excel fromat report in jasper reports.
It is showing forecolor, but not showing backcolor

could any one help me in this issue
Rajan Chinna
Ranch Hand

Joined: Jul 01, 2004
Posts: 320
I think you should set color attribute at the report top level element.
By the way can't you change the color in the iReport and watch the preview view instead of changing the .jrxml file?
It is sorta covered in the JavaRanch Style Guide.
subject: problem with jasper report excel format
Similar Threads
Jasper Compile issue rergarding crosstab
Jasper Report. Problem in html print preview of graphical element
Generate excel reports using jasper report
Jasper Report
Passing Dynamic Data to reportElement in jasper report