简体   繁体   English

在Crystal Reports中显示RichText

[英]Displaying RichText in Crystal Reports

I have a report created in Crystal (the version that comes with Visual Studio 2005) that contains an IFieldObject that I want to use to display some rich text. 我有一个在Crystal(Visual Studio 2005附带的版本)中创建的报表,其中包含我想用来显示一些富文本的IFieldObject。 I have set the TextFormat of the IFieldObject to crRTFText, however when I run the report the textbox displays all the rtf markup rather than actually displaying the formatted text. 我已将IFieldObject的TextFormat设置为crRTFText,但是当我运行报表时,文本框会显示所有rtf标记,而不是实际显示格式化文本。

Is there some other settings that need to be changed in order for Crystal to display rich text? 是否有一些其他设置需要更改才能让Crystal显示富文本?

What viewer are you using for your report? 您使用哪种查看器来处理报告? The HTML based viewers (WebForm and Java) may not support RTF output. 基于HTML的查看器(WebForm和Java)可能不支持RTF输出。

The ActiveX (definitely!) or WinForm (I think) viewers should support RTF in fields. ActiveX(绝对!)或WinForm(我认为)观众应该在字段中支持RTF。

Have you tried rich formatting with html instead? 您是否尝试过用html格式化丰富的格式?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM