RvHtmlImporter vs RichViewEdit
Posted: Tue Dec 12, 2006 3:03 pm
I've experienced the same problem as was discussed at: http://www.trichview.com/forums/viewtop ... ode+import.
HTML entities like & # 8211; – are not imported correctly.
I tried to export ActionsTest example page to string and import back to RichViewEdit:
// Export to string
stream:=TStringStream.Create('');
RichViewEdit1.SaveHTMLToStream(stream,'c:\aaa\','','',[]);
// Import back to RichViewEdit
str:=stream.DataString;
RvHtmlImporter1.LoadHtml(str);
RichViewEdit1.Format;
An exception in ConvertCData occured as a result.
The latest answer in the topic above was that fixed version uploaded, but I downloaded trial version just yesterday - the problem still exists.
Is it due to trial version restrictions?
Any help would be appreciated. HTML import/export is extremely important for my needs.
HTML entities like & # 8211; – are not imported correctly.
I tried to export ActionsTest example page to string and import back to RichViewEdit:
// Export to string
stream:=TStringStream.Create('');
RichViewEdit1.SaveHTMLToStream(stream,'c:\aaa\','','',[]);
// Import back to RichViewEdit
str:=stream.DataString;
RvHtmlImporter1.LoadHtml(str);
RichViewEdit1.Format;
An exception in ConvertCData occured as a result.
The latest answer in the topic above was that fixed version uploaded, but I downloaded trial version just yesterday - the problem still exists.
Is it due to trial version restrictions?
Any help would be appreciated. HTML import/export is extremely important for my needs.