aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/thmutil/CommandLink.xsd
blob: f9ec27c91dc821e57e509e96b3a1f624db908fbd (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<element name="CommandLink">
        <annotation>
            <documentation>Defines a button.</documentation>
        </annotation>
        <complexType mixed="true">
            <annotation>
                <documentation>
                    Text to display in the button.
                    Mutually exclusive with the StringId attribute and child Text elements.
                </documentation>
            </annotation>
            <choice minOccurs="0" maxOccurs="unbounded">
                <annotation>
                    <documentation>
                        If multiple Action elements are given, the conditions should be mutually exclusive (when multiple conditions are true, the behavior is undefined and could be changed at any time).
                        If none of the conditions of the Action elements are true, then it uses the Action element without the Condition attribute.
                    </documentation>
                </annotation>
                <element ref="BrowseDirectoryAction" />
                <element ref="ChangePageAction" />
                <element ref="CloseWindowAction" />
                <element ref="Note" />
                <element ref="Text" />
            </choice>
            <attributeGroup ref="CommonControlAttributes" />
            <attribute name="FontId" type="xs:string">
                <annotation>
                    <documentation>Identifier to the Font element that serves as the font for the control. Only valid when using graphic buttons.</documentation>
                </annotation>
            </attribute>
            <attribute name="IconFile" type="xs:string">
                <annotation>
                    <documentation>
                        Relative path to an icon file to define a command link glyph.
                        Mutually exclusive with IconResource and ImageFile and ImageResource attributes.
                    </documentation>
                </annotation>
            </attribute>
            <attribute name="IconResource" type="xs:string">
                <annotation>
                    <documentation>
                        Identifier that references an icon resource in the module to define a command link glyph.
                        Mutually exclusive with IconFile and ImageFile and ImageResource attributes.
                    </documentation>
                </annotation>
            </attribute>
            <attribute name="ImageFile" type="xs:string">
                <annotation>
                    <documentation>
                        Relative path to an image file to define a command link glyph.
                        Mutually exclusive with IconFile and IconResource and ImageResource attributes.
                    </documentation>
                </annotation>
            </attribute>
            <attribute name="ImageResource" type="xs:string">
                <annotation>
                    <documentation>
                        Identifier that references an image resource in the module to define a command link glyph.
                        Mutually exclusive with IconFile and IconResource and ImageFile attributes.
                    </documentation>
                </annotation>
            </attribute>
            <attribute name="StringId" type="xs:nonNegativeInteger">
                <annotation>
                    <documentation>
                        Identifier that references a string resource in the module to define the text for the control.
                    </documentation>
                </annotation>
            </attribute>
        </complexType>
    </element>