trichview.com

trichview.support




Re: method to remove formatting?


Return to index


Author

Message

Sergey Tkachenko

Posted: 10/30/2003 22:07:30


Should this procedure be undone/redone?


One of possible solutions: save the document as RVF stream, then assign

Style property to RVStyle with only one item in each of style collections,

and load this RVF stream as:


rv.RVFParaStylesReadMode := rvf_sInsertMap;

rv.RVFTextStylesReadMode := rvf_sInsertMap;

rv.Clear;

rv.InsertRVFFromStream(Stream, 0);

rv.Format;

// restore RVFParaStylesReadMode and

// RVFTextStylesReadMode if necessary


> I am looking for a way to remove formatting that was previously applied to

> RichView using TextStyles, ParaStyles, and ListStyles. When formatting is

> removed I want the text to go back to some plain default style for each of

> the 3 style types (Text, Para, and List).

>

>





Powered by ABC Amber Outlook Express Converter