How to get the field object on right click of IncludeText Fragment(Xml Data)

A

AjayKumar

Hi All

I have inserted the fragments ( Xml data) in the word document though the INCLUDETEXT functionality which takes the parameter for Xml Fragment and applied Xs
On this Inserted fragment (XML DATA) now the user does right click
private void oWord_WindowBeforeRightClick(Word.Selection sel, ref bool Cancel



My question is how to identify this frament (xml data) using Word.Selection object on right click with out selecting that fragment(XML DATA)
Currenlty this thing is achived by selecting the entire fragment with mouse and then do right click

Pls help !!

Th
Ajay
 
Top