summaryrefslogtreecommitdiff
path: root/officecfg/registry/schema/org/openoffice/Office/UI/Commands.xcs
blob: f5e12241dec772bdb13c3fb436e577dffa9e79df (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
<?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 or identifier. Can be used as a label inside a menu or as short tool tip help.</desc>
        </info>
      </prop>
      <prop oor:name="ContextLabel" oor:type="xs:string" oor:localized="true">
        <info>
          <desc>A localized text that describes the identifier of a command in a structured menu.  </desc>
        </info>
      </prop>
      <prop oor:name="Properties" oor:type="xs:int" oor:nillable="false">
        <info>
          <desc>
            Additional information about a single command.
            Bit 0 = Command has an image.
            Bit 1 = Image must be mirrored  (CTL/vertical text).
            Bit 2 = Image must be rotated (CTL/vertical text).
            Bit 3 = Command supports a toggle state (Accessibility).
          </desc>
        </info>
        <value>0</value>
      </prop>
    </group>
  </templates>
  <component/>
</oor:component-schema>