print如何显示包含快速报告的html标签的文本?

时间:2016-06-04 16:25:05

标签: html printing formatting report fastreport

我使用wysiwyg来获取一个字母文本,格式为bolde,换行符,text-align,...并将其保存到我的db(msSql) 尝试使用快速报告打印此字段时遇到问题!

在DB中保存的值:

line1 <br/> line2 <br/>line3
打印上的

必须显示如下:

line1
line2
line3

但快速报告显示如下:

line1 <br/> line2 <br/>line3

我在快速报告中设置了文本对象:

Wysiwyg = true
HtmlTags = true

但不是真的! 请帮帮我

1 个答案:

答案 0 :(得分:1)

文档说:

  

标签默认情况下已禁用;要启用它们,请选择&#34;允许   HTML标签&#34;对象上下文菜单中的项目,或启用   的&#34; AllowHTMLTags&#34;对象检查器中的属性

以下是支持的标签列表:

<b> - bold text
<i> - text in italic
<u> - underlined text
<sub> - subscript
<sup> - superscript
<font color> - font color

要获取更多信息,请查看此文档链接: HTML-tags in the "Text" object

相关问题