1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
  
     | 
    
      <html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01085691"><META NAME="lcid" CONTENT="1033"><title>TagName Element</title><link rel="stylesheet" type="text/css" href="office10.css"><script type="text/javascript" language="Javascript" src="ExpCollapse.js"></script><script type="text/javascript" language="JavaScript" src="inline.js"></script></head><body><h1>TagName Element</h1><p><p>When the <b class="bterm">TagName</b> element is contained in an <b class="bterm">Act</b> element, it contains the name of the smart tag that the action is associated with.</p>
			<p>When the <b class="bterm">TagName</b> element is contained in a <b class="bterm">SmartTagDef</b> element, it contains  the name of the smart tag that is used as a key to associate the smart tag with its actions.</p>
		</p><h2>Syntax</h2><pre><code>
<TagName>
    [Unit]
    [F]
    [Err]
    [V]>
</TagName>
</code></pre><h2>Attributes</h2><p>
			<b class="bterm">Unit</b>
		</p><p>Optional string. Represents a unit of measure. The default is STR. For details about STR, see <a href="vixmlconUnitsOfMeasure.htm" id="HV83150825" lcid=" ">Units of measure</a>.</p><p><b class="bterm">F</b></p><p>Optional string. Represents the element's formula. This attribute can contain one of the following strings: "<i>someFormula</i>" if the formula exists locally, "No Formula" if the formula is locally deleted or blocked, or "Inh" if the formula is inherited.</p><p>If the attribute is not present, the element's formula is a simple constant. For example, <element>5</element>. 
</p><p><b class="bterm">Err</b></p><p>Optional string. Indicates that the formula evaluates to an error. The value of <b class="bterm">Err</b> is the current value (an error message string); the value of the element is the last valid value.</p><p><b class="bterm">V</b></p><p>Optional string. Represents the null string condition for a string cell value. In some cases it is helpful to distinguish between an empty string cell null and a null string cell value. This attribute is used to distinguish between these forms of an empty value.
</p><h2>Element properties</h2><table><tr><th>Property</th><th>Value</th></tr>
			<tr><td>Name</td><td>TagName </td></tr>
			<tr><td>Minimum Occurrences</td><td>0 </td></tr>
			<tr><td>Maximum Occurrences</td><td>1 </td></tr>
		</table><h2>Element information</h2><p><b class="bterm">Parent elements</b></p><p><a href="vixmlelemAct.htm" id="HV01085288" lcid=""><b class="bterm">Act</b></a></p><p><a href="vixmlelemSmartTagDef.htm" id="HV01085665" lcid=""><b class="bterm">SmartTagDef</b></a></p><p><b class="bterm">Child elements</b></p><p>None</p><h2>Remarks</h2><p>
			<p> The <b class="bterm">TagName</b> element in the <b class="bterm">SmartTagDef</b> element works together with the <b class="bterm">TagName</b> element in the <b class="bterm">Act</b> element to associate a smart tag with its actions.  The <b class="bterm">TagName</b> element in the  <b class="bterm">Act</b> element that has the same value as that in the <b class="bterm">SmartTagDef</b> element defines  actions for that smart tag.</p><p><ul><li>If the <b class="bterm">TagName</b> element in an <b class="bterm">Act</b> element is blank,  the action appears on a shortcut menu, and not on a smart tag menu.</li><li>If a <b class="bterm">TagName</b> element value in the <b class="bterm">Act</b> element matches the <b class="bterm">TagName</b> element value in a <b class="bterm">SmartTagDef</b> element,  the  action appears on the smart tag menu.</li><li>If an action's <b class="bterm">TagName</b> element has a value but it does not match the <b class="bterm">TagName</b> value in any shape tag element, that action does not appear on any smart tag menus nor shortcut menus.
</li><li>If several smart tag elements have the same <b class="bterm">TagName</b> value, they will all show the same actions.</li></ul>
			</p><p>The <b class="bterm">TagName</b> element is relevant only when contained in a <a href="vixmlelemShape.htm" id="HV01085631" lcid=" "><b class="bterm">Shape</b></a> or <a href="vixmlelemPageSheet.htm" id="HV01085573" lcid=" "><b class="bterm">PageSheet</b></a> element. It is ignored when contained in a <a href="vixmlelemDocumentSheet.htm" id="HV01085388" lcid=" "><b class="bterm">DocumentSheet</b></a> or <a href="vixmlelemStyleSheet.htm" id="HV01085684" lcid=" "><b class="bterm">StyleSheet</b></a> element.</p>
		</p><h2>See also</h2><p><a target="_blank" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vissdk11/html/vicelTagNameActions.asp" id="HV01027285" lcid=" ">TagName</a> cell (Actions section)</p><p><a target="_blank" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vissdk11/html/vicelTagNameSmartTags.asp" id="HV01026935" lcid=" ">TagName</a> cell (Smart Tags section)</p><center><a href="XMLSchemaCopyright_HV01147162.htm">©2003-2004 Microsoft Corporation. All rights reserved.</a>  
Permission to copy, display and distribute this document is available at: <a 
href="http://r.office.microsoft.com/r/rlidAWSContentRedir?AssetID=XT010988631033&CTT=11&Origin=HV011232471033" 
target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html> 
     |