[#3503] - Forecolor attribute to excel export

Category:
Bug report
Priority:
Urgent
Status:
New
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

When the styled text string is used in field expression like below the excel export doesnot show the forecolor. Except forecolor the other styles are applied.

$V{sale}.doubleValue() < 0
? ("<style forecolor='#FF0000' pattern='#,##0.000'>" +new DecimalFormat("#,##0.0").format($V{sale})+ "</style>")
: ("<style forecolor='#000000'>" + (Math.round(($V{sale}.doubleValue()*100)))/100.0 + "</style>")

revathyraj's picture
Joined: Dec 7 2008 - 11:47pm
Last seen: 3 years 2 months ago
Feedback