Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个项目(在 java 上),我提供了富文本框进行描述。现在客户想要在报告中打印该描述。目前我正在使用碧玉报告进行报告。请帮助我,我如何在碧玉报告中打印该描述?
您需要将标记设置为您的语言(HTML、RTF、样式)
<textField> <reportElement x="140" y="53" width="100" height="20"/> <textElement markup="html"/> <textFieldExpression><![CDATA[$F{field}]]></textFieldExpression> </textField>