Share via


action Element [Office 2003 SDK Documentation]

Specifies an individual action and control for a smart document.

Syntax

<action>
    <actionType/>
    <caption/>
    <help/>
    <imageURL/>
    <url/>
    <elementAction/>
</action>

Element Properties

Property Value
Name action 
Data Type smartDocActionType 
Minimum Occurrences
Maximum Occurrences Unbounded 
Default Value N/A 
Abstract False 
Nillable False 
Element Constraints Sequence 

Parent Elements

actions Element

Child Elements

Element Required/Optional Description
actionType  Required  Specifies the type of control associated with the action.
caption  Optional  Specifies the caption for the control.
elementAction  Optional  Specifies an action that will be performed.
help  Optional  Specifies the Help content or the location of an XHTML file if the value of the actionType element is "Help" or "HelpURL."
imageURL  Optional  Specifies the file path for an image if the value of the actionType element is "Image."
url  Optional  Specifies the path or address of the page to be opened in the default Web browser if the value of the actionType element is "Link" or "Image."

Attributes

Attribute Data type Default Value Use Description
id  stringType    Required  Specifies a string that uniquely identifies this action from other actions within the context of the smart document.