Wissam Malaeb
Posts: 63
Joined: 2008-03-03
|
Hi,
We are using the ADXSmartTagModule to create a custom smart tag which is working fine in Outlook. However, we have three questions regrading it:
1- Does add-in express support triggering the "Recheck Document" event programatically inside the body of an opened email instead of going manually into the process of "Office Button -> Editor Options -> Proofing -> AutoCorrect Options... -> Smart Tags -> Recheck Document"?
2- Is it a smooth process if we want to integrate the installer of our smart tag with an installer of an ADXAddinModule that we already have and make one installer for both? If yes, How? If no, are there any workarounds?
3- Are there any limitations imposed on using add-in express to develop smart tags? If yes, what are those limitations and will they be bypassed in the releases to come?
Thanks for the quick reply..
Wissam |
|
Sergey Grischenko
Add-in Express team
Posts: 7233
Joined: 2004-07-05
|
Hi Wissam.
1. No. Please try to use the Word._Document.CheckNewSmartTags() method. You can obtain the word document object via the Outlook._Inspector.WordEditor property.
2. You can use a common setup for all projects. You just need to add a new COM Add-in module to the existing Smart Tags project.
3. Add-in Express implements the smart tag functionality completely. |
|
Wissam Malaeb
Posts: 63
Joined: 2008-03-03
|
Hi Sergey,
Thanks for your help. The CheckNewSmartTags() method works fine but the "Label text with smart tags" and "Show Smart Tag Actions buttons" options should be checked for it to function. It might not be the suitable place to ask this but i'd like to check whether you can help in the following:
- Can we set the "Label text with smart tags" option programatically?
- Can we set the "Show Smart Tag Actions buttons" option programatically?
Thanks for your continuous help.. |
|
Sergey Grischenko
Add-in Express team
Posts: 7233
Joined: 2004-07-05
|
I am afraid it is not possible. Anyway, changing these properties somewhere in the system registry would require Word restarting. |
|
Wissam Malaeb
Posts: 63
Joined: 2008-03-03
|
Hi Sergey,
Thanks for your help. We were able to do that automatically using the "Word._Document.Application.Options.DisplaySmartTagButtons" and "Word._Document.Application.Options.LabelSmartTags" properties without the need to alter the registry manually or restart Word. However, we still have one clarification:
- Is there any possibility to customize the "I" icon displayed for smart tags or the color/format of the dashed underline or is it something preset by Microsoft and not exposed to be changed programmatically?
Best Regards, |
|
Sergey Grischenko
Add-in Express team
Posts: 7233
Joined: 2004-07-05
|
Hi Wissam.
I am not aware of such possibility. |
|