J
JsjsLim
Hi,
I'm developing 3 addins for Word, Excel and Powerpoint using VSTO.
I would like to know if there are any best practices to uniquely
name/identify controls in the Word/Powerpoint addins as Excel does (Named
range)?
* Word (content controls, tables)
* PowerPoint (Shapes)
So far, I've been using the (Word) content control's Title, table's Id and
(PowerPoint) shape's Name properties to set/identify them. However, I can't
guarantee that these properties will not be changed by the user, or that
their values will be unique.
Why do I need this? My addins are supposed to be able to insert
shapes/controls/reports to the active document/presentation, and retrieve
them by their "names".
Any recommendations? Are there any other properties in a content
control/table/shape that I can use to store this additional information,
without worrying the another addin (or the user) will change this?
Thanks
I'm developing 3 addins for Word, Excel and Powerpoint using VSTO.
I would like to know if there are any best practices to uniquely
name/identify controls in the Word/Powerpoint addins as Excel does (Named
range)?
* Word (content controls, tables)
* PowerPoint (Shapes)
So far, I've been using the (Word) content control's Title, table's Id and
(PowerPoint) shape's Name properties to set/identify them. However, I can't
guarantee that these properties will not be changed by the user, or that
their values will be unique.
Why do I need this? My addins are supposed to be able to insert
shapes/controls/reports to the active document/presentation, and retrieve
them by their "names".
Any recommendations? Are there any other properties in a content
control/table/shape that I can use to store this additional information,
without worrying the another addin (or the user) will change this?
Thanks