trichview.com

trichview.support




Re: Styles disappear


Return to index


Author

Message

Sergey Tkachenko

Posted: 01/07/2004 21:18:44


When you load RVF file in "allow adding styles dynamically" set (more

exactly, when RVFTextStylesReadMode=RVFParaStylesReadMode=rvf_sInsertMerge

or rvf_sInsertMap). styles in TRVStyle are replaced with styles from

document.


You can use


rv.Clear;

rv.InsertRVFFromStream(Stream, 0);


instead of


rv.LoadRVF


- methods for insertion do not replace existing styles.


> Hello,

>

> When I am loading new document(RVF created with other styles) to

> RichViewEdit the

> precreated styles disappears instead appears new styles from RVF.

> It is logical because "Allow adding styles dynamically" is enabled, but

why

> precreated styles disappears?

>

> Regards,

> Tomas

>

>

>





Powered by ABC Amber Outlook Express Converter