Import HTML file problem

General TRichView support forum. Please post your questions here
Post Reply
ibr_ozdemir
Posts: 5
Joined: Wed Jan 04, 2006 11:13 am

Import HTML file problem

Post by ibr_ozdemir »

hi
When i export (html format) a text with RichView application, its working great. But when i import the same file i lose the text styles (like bold, italic, align settings).
I also tried RVHTMLImport. How can i handle that.
thanks
ivssys
Posts: 12
Joined: Fri Sep 09, 2005 6:42 am
Location: Netherlands
Contact:

Post by ivssys »

Use SaveHTMLTo...Ex() and the latest (beta) RVHTMLImport. That should work.

Regards,

Henk van Bokhorst
Sergey Tkachenko
Site Admin
Posts: 17315
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

RvHtmlImporter does not support [arbitrary] Cascading Style Sheets (CSS).
If formatting in HTML is defined using CSS, it will be lost when importing.
In TRichView, there are two methods for HTML export. SaveHTML saves HTML without CSS, SaveHTMLEx saves with CSS.

The latest version of RvHtmlImporter understands CSS saved by SaveHTMLEx. It can be found here:
http://www.trichview.com/resources/html ... mportb.zip
Post Reply