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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top