Debian Codegraph @

officecfg/registry/schema/org/openoffice/Office/UI/Commands.xcs

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 -->
19 <!DOCTYPE oor:component-schema SYSTEM "../../../../../component-schema.dtd">
20 <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">
21 <info>
22 <desc>Contains general information about ~ and rules, and about actions based on office commands.</desc>
23 </info>
24 <templates>
25 <group oor:name="LabelType">
26 <info>
27 <desc>Provides a mapping between commands and their textual representation on the user interface.</desc>
28 </info>
29 <prop oor:name="Label" oor:type="xs:string" oor:localized="true">
30 <info>
31 <desc>A localized text that describes the command. Will be used instead of ContextLabel, PopupLabel and TooltipLabel if those are not specified.</desc>
32 </info>
33 </prop>
34 <prop oor:name="ContextLabel" oor:type="xs:string" oor:localized="true">
35 <info>
36 <desc>Used in Menus and also in popup menus if PopupLabel is not specified.</desc>
37 </info>
38 </prop>
39 <prop oor:name="PopupLabel" oor:type="xs:string" oor:localized="true">
40 <info>
41 <desc>Used in popup menus to give commands a different label than in the main menu.</desc>
42 </info>
43 </prop>
44 <prop oor:name="TooltipLabel" oor:type="xs:string" oor:localized="true">
45 <info>
46 <desc>Used for Tooltips (Toolbar and Glade Widgets that have their 'action_name' specified.). Defaults to PopupLabel, then Label if empty.</desc>
47 </info>
48 </prop>
49 <prop oor:name="TargetURL" oor:type="xs:string">
50 <info>
51 <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>
52 </info>
53 </prop>
54 <prop oor:name="IsExperimental" oor:type="xs:boolean">
55 <info>
56 <desc>If set to "true", this command is available only when Experimental features are activated.</desc>
57 </info>
58 </prop>
59 <prop oor:name="Properties" oor:type="xs:int" oor:nillable="false">
60 <info>
61 <desc>
62 Additional information about a single command (a sum (bitwise OR) of following bits).
63 Bit 0 (1) = Command has an image.
64 Bit 1 (2) = Image must be mirrored (CTL/vertical text).
65 Bit 2 (4) = Image must be rotated (CTL/vertical text).
66 Bit 3 (8) = Command supports a toggle state (Accessibility).
67 </desc>
68 </info>
69 <value>0</value>
70 </prop>
71 </group>
72 </templates>
73 <component/>
74 </oor:component-schema>