trichview.com

trichview.support




Re: Ignore Style?


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/12/2002 15:35:40


This mode of RVF import is not implemented.

May be it will be better to copy text manually?


var ParaNo: Integer;


// srcrv -> dstrv


for i := 0 to srcrv.ItemCount-1 do

  if srcrv.GetItemStyle(i)>=0 then begin

    if srcrv.IsFromNewLine(i) then

      ParaNo := 0

    else

      ParaNo := -1;

    dstrv.AddNL(srcrv.GetItemText(i), 0, ParaNo);

  end;


This code skips picture, tables, etc..


> there may be a bold, italic chars in the stream. i dont want that styles

in

> the stream.

> when uppending the stream all the chars must be appended the with 0. item

of

> my RVStyle

>

>







Powered by ABC Amber Outlook Express Converter