trichview.com

trichview.support




Re: Get Style of pasted text


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/10/2002 11:37:48


Event before pasting: OnPaste

Event after pasting: OnChange.

Event during pasting: OnItemAction (for each inserted item)


If you store a number of styles before pasting (in OnPaste), you can

determine which styles were added during pasting (they are added to the end

of collection).

But RichView tries to reuse existing styles as much as possible, so it's

even possible that no styles will be added.



> I am pasting RVF text.

> The RVFTextStylesReadMode is rvf_sInsertMerge.

> I also have the rvfoSaveTextStyles and rvfoSaveParaStyles set to true.

>

> How can I find the StyleName of each style cotained in the collection when

> the text is being pasted in the OnPaste event ? Or any other information

on

> the style(s) ?

>

>





Powered by ABC Amber Outlook Express Converter