summaryrefslogtreecommitdiffstats
path: root/officecfg/registry/schema/org/openoffice/Office/UI/Commands.xcs
blob: d0f13beead4bc49227755c9bdbbaeb4366b6ae11 (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
72
73
74
<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
<!DOCTYPE oor:component-schema SYSTEM "../../../../../component-schema.dtd">
<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Commands" oor:package="org.openoffice.Office.UI" xml:lang="en-US">
  <info>
    <desc>Contains general information about ~ and rules, and about actions based on office commands.</desc>
  </info>
  <templates>
    <group oor:name="LabelType">
      <info>
        <desc>Provides a mapping between commands and their textual representation on the user interface.</desc>
      </info>
      <prop oor:name="Label" oor:type="xs:string" oor:localized="true">
        <info>
          <desc>A localized text that describes the command. Will be used instead of ContextLabel, PopupLabel and TooltipLabel if those are not specified.</desc>
        </info>
      </prop>
      <prop oor:name="ContextLabel" oor:type="xs:string" oor:localized="true">
        <info>
          <desc>Used in Menus and also in popup menus if PopupLabel is not specified.</desc>
        </info>
      </prop>
      <prop oor:name="PopupLabel" oor:type="xs:string" oor:localized="true">
        <info>
          <desc>Used in popup menus to give commands a different label than in the main menu.</desc>
        </info>
      </prop>
      <prop oor:name="TooltipLabel" oor:type="xs:string" oor:localized="true">
        <info>
          <desc>Used for Tooltips (Toolbar and Glade Widgets that have their 'action_name' specified.). Defaults to PopupLabel, then Label if empty.</desc>
        </info>
      </prop>
      <prop oor:name="TargetURL" oor:type="xs:string" oor:localized="false">
        <info>
          <desc>The actual command to use for everything except label/icon, typically when the main command doesn't map to a valid application slot.</desc>
        </info>
      </prop>
      <prop oor:name="IsExperimental" oor:type="xs:boolean">
        <info>
          <desc>If set to "true", this command is available only when Experimental features are activated.</desc>
        </info>
      </prop>
      <prop oor:name="Properties" oor:type="xs:int" oor:nillable="false">
        <info>
          <desc>
            Additional information about a single command (a sum (bitwise OR) of following bits).
            Bit 0 (1) = Command has an image.
            Bit 1 (2) = Image must be mirrored  (CTL/vertical text).
            Bit 2 (4) = Image must be rotated (CTL/vertical text).
            Bit 3 (8) = Command supports a toggle state (Accessibility).
          </desc>
        </info>
        <value>0</value>
      </prop>
    </group>
  </templates>
  <component/>
</oor:component-schema>