Difference between revisions of "Template:SpecUIElement/MenuHeading"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 2: Line 2:
 
{| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0;  border: 1px #cccccc solid; border-collapse: collapse; width: 100%"
 
{| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0;  border: 1px #cccccc solid; border-collapse: collapse; width: 100%"
 
|- style="background-color:#dddddd;"
 
|- style="background-color:#dddddd;"
|| '''Item''' || '''Sub Item''' || '''Sub Item''' || '''KBD Shortcut''' || '''Icon''' || '''Comment'''</includeonly>
+
|| '''Item''' || '''Sub Item''' || '''Sub Item''' || '''KBD Shortcut''' || '''Icon''' || '''Comment'''|-</includeonly>
  
 
<noinclude>Use this template, together with the [[Template:SpecUIElement/MenuRow|MenuRow]] template, to create, within a specification document, a table describing multiple menu items.
 
<noinclude>Use this template, together with the [[Template:SpecUIElement/MenuRow|MenuRow]] template, to create, within a specification document, a table describing multiple menu items.

Revision as of 14:13, 28 November 2007


Use this template, together with the MenuRow template, to create, within a specification document, a table describing multiple menu items.

Example

Menu Item(s)

Item Sub Item Sub Item KBD Shortcut Icon Comment
This is the top level entry point, in the main menu bar, for all file related actions.
Open Ctrl+O invokes the File Open Dialog, letting the user choose a document to load in OpenOffice.org.
Save Ctrl+S saves the current document. Only available when the document is actually modified.

was produced by this code:

 {{SpecUIElement/MenuHeading}}
 {{SpecUIElement/MenuRow|en-US=File|comment=This is the top level entry point, in the main menu bar, for all file related actions.}}
 {{SpecUIElement/MenuRow|en-US=|sub-item=Open|kbd=Ctrl+O|comment=invokes the [[File Open Dialog]], letting the user choose a document to load in OpenOffice.org.}}
 {{SpecUIElement/MenuRow|en-US=|sub-item=Save|kbd=Ctrl+S|comment=saves the current document. Only available when the document is actually modified.}}
 |}

See Also


Personal tools