File: xsfelmmenuArea.htm

package info (click to toggle)
office2003-schemas 1.0%2Bds-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, forky, sid, trixie
  • size: 42,304 kB
  • sloc: javascript: 2,429; makefile: 29
file content (32 lines) | stat: -rw-r--r-- 4,064 bytes parent folder | download
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="HV01021490"><META NAME="lcid" CONTENT="1033"><title>menuArea 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>menuArea Element</h1><div class="ofvbanav"><span class="ofvbanavreuse" id="seealso" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="parentelements" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="childelements" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="attributeslinks" onclick="toggleList()" onkeypress="toggleList()"></span></div><p>Contains information about the Microsoft Office InfoPath 2003 built-in menus used in the view.</p><h2>Type</h2><p><pre><code>xsd:complexType</code></pre></p><h2>Structure</h2><table>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
      <tr><td><b class="bterm"><a href="xsfelmbutton.htm" id="HV01021461" lcid=" ">button</a></b></td><td>(Optional element) Defines a button that has an associated action.</td></tr><tr>
        <td><b class="bterm"><a href="xsfatrname_6.htm" id="HV01021579" lcid=" ">name</a></b></td>
        <td>(Required attribute) Corresponds to one of the built-in InfoPath top-level menus.</td>
      </tr>
      
      <tr>
        <td><b class="bterm"><a href="xsfelmmenu.htm" id="HV01021489" lcid=" ">menu</a></b></td>
        <td>(Optional element) Contains information about the menus used within the menu area.</td>
      </tr>
    </table><h2>Remarks</h2><p>The <b class="bterm">menuArea</b> element is an optional element of the <b class="bterm"><a href="xsfelmview.htm" id="HV01021513" lcid=" ">view</a></b> element. </p><p>The <b class="bterm">menuArea</b> element is analogous to the top-level menus found in InfoPath when filling out a form. Multiple buttons or menus can be declared within a <b class="bterm">menuArea</b> element. Each <b class="bterm">button</b> element creates an additional menu item within the corresponding built-in menu, specified by the <b class="bterm">name</b> attribute of the <b class="bterm">menuArea</b> element, and has an action (or command) associated with it. If a <b class="bterm">menu</b> element is nested within a <b class="bterm">menuArea</b> element, this creates a cascading menu off of the built-in menu.</p><h2><a id="#example" name="#example">Example</a></h2><p>The following is an example of the <b class="bterm">menuArea</b> element:</p><pre><code>&lt;xsf:<b class="bterm">menuArea</b> name="msoInsertMenu"&gt;
   &lt;xsf:menu caption="&amp;amp;Section"&gt;
      &lt;xsf:button action="xCollection::insert" xmlToEdit="CD_10"
         caption="CD" showIf="always"&gt;&lt;/xsf:button&gt;
      &lt;xsf:button action="xCollection::insert" xmlToEdit="Track_14" 
         caption="Track" showIf="always"&gt;&lt;/xsf:button&gt;
      &lt;xsf:button action="xOptional::insert" xmlToEdit="Label_16" 
         caption="Label"&gt;&lt;/xsf:button&gt;
   &lt;/xsf:menu&gt;
&lt;/xsf:<b class="bterm">menuArea</b>&gt;</code></pre><script type="text/javascript" language="JScript" src="ofvbanl.js"></script><span id="ofVBAISpan" class="ofvbaispan"><iframe id="ofVBAIFrame" frameborder="0" marginheight="0" marginwidth="4" scrolling="auto" width="100%" src="../links/xsfelmmenuArea_l.htm"></iframe></span><center><a href="XMLSchemaCopyright_HV01147162.htm">&copy;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&amp;CTT=11&amp;Origin=HV011232471033" 

target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html>