I am currently working on office AddIn.
In my active(opening) document i have many contents controls like name, Age, Address, etc.,
In my UI screen am listed all the contents controls(xml tags) in tree list.
Here am selecting the name controls from tree list and formatting some actions (bold,color, etc.,) thru font dialog box, it's working fine, written by c#
My question is
created a conditional formatting form in which the content controls properties are retrieved
for some basic actions like greater, lesser,contains ,starts with i completed my coding.
now i want to extend it to custom condition where an if condition is entered by the user in a rich text box and need to execute it. condition is like
if((<name> = "anand")&&(<age> > 20))
do some formatting;
else if(<name> = "name")
do another formatting;
how to execute the above condition?
the formatting that saved in word embedded xml files
name and Age are tags of content controls
needs a solution ASAP plz
Anand Kumar Devendran