Page 1 of 1

Problem exporting RichText component to html.

Posted: Fri Jul 09, 2010 7:45 am
by nik2010
Hello,

I have an .mrt report with only one component - Rich Text field. When I export this report to html the rich text converts itself into an image. If I look at the HTML Preview tab in the designer there rich text is exported to an image as well.

I expected the rich text would be exported to a "real" html. If the image was needed I could just use StiImageExportService instead of StiHtmlExportService.

I attached a narrowed down version of the template I am having the problem with.

Is there any way to get around this problem?

Thank you in advance,
Nikolay.

Problem exporting RichText component to html.

Posted: Sun Jul 11, 2010 5:06 pm
by Jan
Hello,

Sorry this is not possible. You can try to find specified tool to convert rtf to html.

Thank you.

Problem exporting RichText component to html.

Posted: Mon Jul 12, 2010 2:31 pm
by nik2010
Hello,

I'm not trying to convert rtf to html using Stimulsoft. The rich text component will be a part of a bigger report. Actually, it is a part of a bigger report. What I showed is a very, very stripped down version of the real report. I need to export to html (but exporting rich text as an image will not do for me).

I do have a specific tool to convert rtf to html. Let's suppose I convert rtf to html myself, but how do I embed resulting html into the report when it is being exported into html? I mean I need to replace the image generated for the rich text component during exporting with my html somehow. Any way to do this?

Maybe I'm looking in a wrong direction (For example, maybe, Stimulsoft has some HtmlComponent. So if I use this hypothetical HtmlComponent instead of RichTextComponent, I do not have to deal with rich text in the first place). Any ideas are appreciated.

Thank you,
Nikolay.

Problem exporting RichText component to html.

Posted: Tue Jul 13, 2010 1:43 am
by Ivan
Hello,

Sorry this is not possible, and we do not have plans in developing this feature.

There is only one workaround: if you need a simple text with formatting, you may use the StiText component. Set the AllowHtmlTags property for the component.
Please check the "Test Html-tags simple.mrt" in attachment.

Thank you.