trichview.com

trichview.support




Re: SaveHTMLToStream problem RVData.pas ?? who is??


Return to index


Author

Message

Sigbert Engelhardt

Posted: 06/03/2004 0:46:52


Hi, i have the same problem:


Who is RVData.pas?

I' not found this code in my RichView 1.8.22.


Sigbert



"Sergey Tkachenko" <[email protected]> wrote:

>There is actually a bug added in this version.

>

>Change in RVData.pas:

>

>This condition must be:

>

>    if (Result='') and IsFromNewLine(ItemNo) and

>      ((ItemNo+1=ItemCount) or IsFromNewLine(ItemNo+1))

>

>

>

>> 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