Jasper报告样式ISBOLD ='true"不以条件性的方式工作

发布于 2025-01-25 03:52:47 字数 512 浏览 2 评论 0原文

我正在使用Java V6.19.1的Jasper报告库和Eclipse的报告设计插件。

我创建了这种条件样式,并将其应用于文本字段。

<style name="myStyleBold">
<conditionalStyle>
<conditionExpression><![CDATA[$F{misura} == null]]></conditionExpression>
<style isBold="true" isItalic="true" isUnderline="true" isStrikeThrough="true"/>
</conditionalStyle>
</style>

所有格式都在起作用(isitalic =“ true” isunderline =“ true” isstrikethrough =“ true”),但是从未应用Isbold =“ true”。

任何人都有相同的问题或解决了吗?

I'm using the Jasper Report library for Java v6.19.1 and the Report Design plugin for Eclipse.

I created this conditional style and I applied it to a text field.

<style name="myStyleBold">
<conditionalStyle>
<conditionExpression><![CDATA[$F{misura} == null]]></conditionExpression>
<style isBold="true" isItalic="true" isUnderline="true" isStrikeThrough="true"/>
</conditionalStyle>
</style>

All formats are working (isItalic="true" isUnderline="true" isStrikeThrough="true"), but the isBold="true" is never applied.

Anyone has the same issue or solved it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

两人的回忆 2025-02-01 03:52:47

已解决。值必须为&lt; ereditato&gt;。这是“错误的”。

Solved. The value must be < EREDITATO >. It was "false".

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文