trichview.com

trichview.support




Re: SaveHTMLToStream problem


Return to index


Author

Message

Ruggero Rossi

Posted: 06/03/2004 9:47:34


Thank you very much.

Ruggero



"Sergey Tkachenko" <[email protected]> ha scritto nel messaggio

news:[email protected]...

> 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