如何在 JasperReports 中解码 html 实体

dam*_*inc 3 java jasper-reports html-entities

我有一些用 JasperReports 编写的报告,它们按字面意思显示 html 实体,例如,项目符号点 • 使用 html 实体文本表示:#8226;。

你知道有什么办法吗?

Rog*_*cia 5

在将属性textField设置markuphtml.

这是如何在 5.6 版本的 iReport Studio 中添加

<textField ........> <reportElement ........./> <textElement markup="html"/> <textFieldExpression><![CDATA[..........]]></textFieldExpression> </textField>