Too tired to go into any object model, I will just give a very simple example of XML List Smart tags in the new Office System, taking advantage of the MOSTL engine. Just put the following XML into an xml file in C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\1033\ et d'exécuter l'utilitaire C:\Program Files\Common Files\Microsoft Shared\Smart Tag\SmartTagInstall.exe and my name will be recognized on your documents, allowing you to access my blog from any office document ...
<?xml version="1.0" encoding="utf-8" ?>
<!-- _lcid="1033" _version="11.0.4617" -->
<!-- _LocalBinding -->
<FL:smarttaglist xmlns:FL="http://schemas.microsoft.com/office/smarttags/2003/mostl">
<FL:name>
<!-- _locID_text="name" _locComment="{StringCategory=TXT}" -->Malek test lists</FL:name>
<FL:lcid>
<!-- _locID_text="lcid" _locComment="{StringCategory=TXT}" -->1033,0</FL:lcid>
<FL:description>
<!-- _locID_text="description" _locComment="{StringCategory=TXT}" -->Ensemble de listes de test</FL:description>
<FL:moreinfourl>
<!-- _locID_text="url" _locComment="{StringCategory=TXT}" --></FL:moreinfourl>
<FL:updateable>false</FL:updateable>
<FL:autoupdate>false</FL:autoupdate>
<FL:lastcheckpoint>100</FL:lastcheckpoint>
<FL:lastupdate>5123942</FL:lastupdate>
<FL:updateurl>
<!-- _locID_text="updateurl" _locComment="{StringCategory=TXT}" --></FL:updateurl>
<FL:updatefrequency>20160</FL:updatefrequency>
<FL:smarttag type="urn:schemas-microsoft-com:office:smarttags#malektest">
<FL:caption>
<!-- _locID_text="recognizercaption" _locComment="{StringCategory=TXT}" -->Mot de test</FL:caption>
<FL:terms>
<FL:termlistwithprops>
<FL:prop RecognizedByMOSTLList="True" />
<FL:t>Malek</FL:t>
<FL:t>Abdelmalek</FL:t>
<FL:t>Kemmou</FL:t>
<FL:t>A.Kemmou</FL:t>
<FL:t>A.K</FL:t>
</FL:termlistwithprops>
</FL:terms>
<FL:actions>
<FL:action id="My Blog">
<FL:caption>
<!-- _locID_text="My WebLog" _locComment="{StringCategory=TXT}" -->Navigate to my WebLog</FL:caption>
<FL:url><!-- _locID_text="actionurl1" _locComment="{StringCategory=TXT}" -->http://www.malekkemmou.ma</FL:url>
</FL:action>
</FL:actions>
</FL:smarttag>
</FL:smarttaglist>
7b6a584a-742d-4ec9-8d80-7e4c5f681e9b|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :