gpt4 book ai didi

jasper-reports - 如何在 jasper 报告中在段落后添加中断

转载 作者:行者123 更新时间:2023-12-04 23:27:37 27 4
gpt4 key购买 nike

我想问一下。如何在 中的段落后添加中断一个文本字段 .
例如,

报告是为传达信息的特定目的而制作的文本作品(通常是写作、演讲、电视或电影)。

像这样:-

"A report is a textual work  line 1

(usually of writing, speech, television, or film) line 2

made with the specific intention of line 3

relaying information" line 4

最佳答案

您可以使用 \n (换行符)符号,或者您可以使用标记语法。

sample :

<title>
<band height="167" splitType="Stretch">
<textField isStretchWithOverflow="true">
<reportElement x="414" y="38" width="100" height="20"/>
<textElement markup="styled"/>
<textFieldExpression><![CDATA["A report is a textual work <br/>(usually of writing, speech, television, or film) <br/>made with the specific intention of <br/> relaying information"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="26" y="38" width="100" height="20"/>
<textElement/>
<textFieldExpression><![CDATA["A report is a textual work\n(usually of writing, speech, television, or film)\nmade with the specific intention of \nrelaying information"]]></textFieldExpression>
</textField>
</band>
</title>

有关使用样式文本的更多信息 is here .

关于jasper-reports - 如何在 jasper 报告中在段落后添加中断,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10069897/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com