Hello!
We have in database TField a blob in RVF format. But I need to convert it to RTF to be able to import into our report system (that is able to print RTF blobs but not RVF ones), without using any visual component (our entire reporting system is on a DataModule so we can't create here any visual component).
Any help?
How to convert RVF to RTF without any visual components
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Use TRVReportHelper. It contains a TRichView inside (RVReportHelper.RichView), however, it is invisible, does not require a parent window, so this component can be placed in a datamodule.
Note 1: if document contains tables, it must be formatted before saving to RTF. Call RVReportHelper.Init before saving to RTF
Note 2: you still need TRVStyle, to assign to RVReportHelper.RichView.Style
Note 1: if document contains tables, it must be formatted before saving to RTF. Call RVReportHelper.Init before saving to RTF
Note 2: you still need TRVStyle, to assign to RVReportHelper.RichView.Style