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.
Problem exporting RichText component to html.
- Attachments
-
- 486.report.mrt
- (4.5 KiB) Downloaded 142 times
Problem exporting RichText component to html.
Hello,
Sorry this is not possible. You can try to find specified tool to convert rtf to html.
Thank you.
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.
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.
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.
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.
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.
- Attachments
-
- 490.Test Html-tags simple.mrt
- (18.66 KiB) Downloaded 243 times