trichview.com

trichview.support




SaveHTMLToStream problem


Return to index


Author

Message

Ruggero Rossi

Posted: 06/01/2004 16:13:46


Hi,

I use TRichview v.1.8.21.1 to convert rtf files in html format, using

SaveHTMLToStream method and I have a problem: empty lines in rtf source are

not present in resulting html document.

For example, such lines:

bla bla


bla bla


become:

bla bla

bla bla


Is there a setting in the component to preserve empty lines?

I tried to modify the code (I'm a registered user), modifing this line


    if (ItemCount=1) or (Result='') then begin

into this one:

    if (ItemCount=1) and (Result='') then begin


in the function TCustomRVData.GetTextForHTML of CRVData unit. Now it works,

but the content of any table is now empty.


Any suggestion?


Excuse my poor english.





Powered by ABC Amber Outlook Express Converter