It is possible convert RVF format to HTML without a visual component into a form ?
thanks
Convert to HTML without a visual editor
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 7
- Joined: Thu Apr 26, 2018 2:14 pm
Re: Convert to HTML without a visual editor
I am trying to use this approach to convert RTF text and images that are stored in a database to HTML without any user interface. After I load the RTF in the TRVReportHelper.RichView and call SaveHTMLToStream I get empty result.
Can you explain if my approach is possible or if there is another way to convert RTF stored in a database directly to HTML (stream) without user interface?
Regards,
Maikel
Can you explain if my approach is possible or if there is another way to convert RTF stored in a database directly to HTML (stream) without user interface?
Regards,
Maikel
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Convert to HTML without a visual editor
This method must work.
Make sure that you linked TRVReportHelper with some TRVStyle component:
RVReportHelper1.RichView.Style := RVStyle1;
Make sure that you linked TRVReportHelper with some TRVStyle component:
RVReportHelper1.RichView.Style := RVStyle1;