Hi Sergey,
I have a .rvf file which I need to convert into HTML.
But I dont want to use the actual RichView,
as my application is both Windows based & Web based.
Now Web based application does not support the windows components.
Is there any way so that I can do this? (for eg, using the TRVData (if it is possible)?).
Please help me out.
Thanks in advance,
Regards,
Pratik Tiwari
How to convert RVF to HTML without using TRichView?
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
No, it's not possible in this version of trichview.
But you can create visual components even in web application, you do not need to display them.
Note 1: initial values of some properties of TRichViews created in code are different from initial values of properties of TRichViews placed on a form at design time. To load RVF containing collections of styles properly, values of some properties must be changed. You can see them in the designtime component editor, right click TRichView in Delphi and choose "Settings" in the popup menu.
Note 2: do not call Format after loading RVF (otherwise you'll need to create a form and assign it as RichView.Parent)
But you can create visual components even in web application, you do not need to display them.
Note 1: initial values of some properties of TRichViews created in code are different from initial values of properties of TRichViews placed on a form at design time. To load RVF containing collections of styles properly, values of some properties must be changed. You can see them in the designtime component editor, right click TRichView in Delphi and choose "Settings" in the popup menu.
Note 2: do not call Format after loading RVF (otherwise you'll need to create a form and assign it as RichView.Parent)
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Unformatted documents can be saved to RVF and HTML.
Only export to RTF (specifically, export of tables) requires a formatted document, otherwise it formats the document itself.
If you want to save RTF (containing tables), you need to place TRichView on (invisible) form (This limitation will be removed in future versions)
Only export to RTF (specifically, export of tables) requires a formatted document, otherwise it formats the document itself.
If you want to save RTF (containing tables), you need to place TRichView on (invisible) form (This limitation will be removed in future versions)