水晶报表 支持的html标签,基于 水晶报表的HTML文本呈现_visual-studio_开发99编程知识库...

"本文详细介绍了水晶报表中对HTML标签的支持情况,包括RTF和HTML格式的使用差异。RTF标签并不完全有效,而HTML标签如<br>、h1-h6、p等被支持,但某些标签如BR的解析存在问题。为解决BR标签问题,建议使用替换公式:Replace({LONGDESCRIPTION.LDTEXT}

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

抱歉,这是一个直接复制和粘贴来自 11.5版本的水晶报表 帮助文件的文本解释。 选项为无。RTF或者 HTML 。 HTML在某种程度上是有效的,但并非所有的标签都支持。 我还发现BR tag
but
is not interpreted correctly.

So, to make
into
I had to use the following formula:

Replace ({LONGDESCRIPTION.LDTEXT},"
","
")

The supported HTML tags are:

html

body

div (causes a paragraph break)

tr (causes only a paragraph break; does not preserve column structure of a table)

span

font

p (causes a paragraph break)

br (causes a paragraph break)

h1 (causes a paragraph break, makes the font bold & twice default size)

h2 (causes a paragraph break, makes the font bold & 1.5 times default size)

h3 (causes a paragraph break, makes the font bold & 9/8 default size)

h4 (causes a paragraph break, makes the font bold)

h5 (causes a paragraph break, makes the font bold & 5/6 default size)

h6 (causes a paragraph break, makes the font bold & 5/8 default size)

center

big (increases font size by 2 points)

small (decreases font size by 2 points if it's 8 points or larger)

b

i

s

strike

u

The supported attributes are:

align

face

size

color

style

font-family

font-size

font-style

font-weight

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值