summaryrefslogtreecommitdiffstats
path: root/officecfg/registry/schema/org/openoffice/Office/UI/ToolbarMode.xcs
blob: 38e1a8dd48e8a3b83aae2cf057b109313568ef99 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?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="ToolbarMode" oor:package="org.openoffice.Office.UI" xml:lang="en-US">
  <info>
    <desc>Contains information about toolbar modes.</desc>
  </info>
  <templates>
    <group oor:name="ModeEntry">
      <info>
        <desc>The container for mode description.</desc>
      </info>
      <prop oor:name="Label" oor:type="xs:string" oor:nillable="false" oor:localized="true">
      <info>
        <desc>The toolbar mode label.</desc>
      </info>
      </prop>
      <prop oor:name="CommandArg" oor:type="xs:string" oor:nillable="false">
        <info>
          <desc>The toolbar mode name to use as a parameter in the UNO command. Must be a single word.</desc>
        </info>
      </prop>
      <prop oor:name="MenuPosition" oor:type="xs:int" oor:nillable="false">
        <info>
          <desc>Position in the menu.</desc>
        </info>
      </prop>
      <prop oor:name="IsExperimental" oor:type="xs:boolean" oor:nillable="false">
        <info>
          <desc>Enables entry only in the experimental mode.</desc>
        </info>
        <value>
          false
        </value>
      </prop>
      <prop oor:name="HasNotebookbar" oor:type="xs:boolean" oor:nillable="false">
        <info>
          <desc>Determines if Notebookbar is visible.</desc>
        </info>
      </prop>
      <prop oor:name="Toolbars" oor:type="oor:string-list" oor:nillable="false">
        <info>
          <desc>List of mandatory toolbars.</desc>
        </info>
      </prop>
      <prop oor:name="UserToolbars" oor:type="oor:string-list" oor:nillable="false">
        <info>
          <desc>List of visible toolbars activated by user.</desc>
        </info>
      </prop>
      <prop oor:name="UIItemProperties" oor:type="oor:string-list" oor:nillable="false">
        <info>
          <desc>
          List of context descriptors.  Each context descriptor is a string that contains three comma
          separated values (note that values are case sensitive):
          1. UIItemID - contains the ID of uiitem(GtkToolButton/GtkMenuItem) of notebookbar
          2. propertyName - contains the value of attribute(name) of property node.
          3. propertyValue - contains the value of property node.
          </desc>
        </info>
      </prop>
      <prop oor:name="Sidebar" oor:type="xs:string" oor:nillable="false">
        <info>
          <desc>
            Describes sidebar mode.
            Arrow - sidebar collapsed, showing the 'open' arrow button
            Tabs - sidebar is showing only tab bars
            Opened - sidebar fully opened
          </desc>
        </info>
      </prop>
      <prop oor:name="HasMenubar" oor:type="xs:boolean" oor:nillable="false">
        <info>
          <desc>Determines if menubar is visible.</desc>
        </info>
        <value>false</value>
      </prop>
    </group>
    <group oor:name="Application">
      <info>
        <desc>Describes toolbar modes for one application.</desc>
      </info>
      <prop oor:name="Active" oor:type="xs:string" oor:nillable="false">
        <info>
          <desc>Contains name of currently used mode.</desc>
        </info>
      </prop>
      <set oor:name="Modes" oor:node-type="ModeEntry">
        <info>
          <desc>Contains list of toolbar modes.</desc>
        </info>
      </set>
    </group>
  </templates>
  <component>
    <prop oor:name="ActiveWriter" oor:type="xs:string" oor:nillable="false">
      <info>
        <desc>Contains name of currently used implementation in the Writer module.</desc>
      </info>
    </prop>
    <prop oor:name="ActiveCalc" oor:type="xs:string" oor:nillable="false">
      <info>
        <desc>Contains name of currently used implementation in the Calc module.</desc>
      </info>
    </prop>
    <prop oor:name="ActiveImpress" oor:type="xs:string" oor:nillable="false">
      <info>
        <desc>Contains name of currently used implementation in the Impress module.</desc>
      </info>
    </prop>
    <prop oor:name="ActiveDraw" oor:type="xs:string" oor:nillable="false">
      <info>
        <desc>Contains name of currently used implementation in the Draw module.</desc>
      </info>
    </prop>
    <set oor:name="Applications" oor:node-type="Application">
      <info>
        <desc>Contains list of toolbar mode settings for each application.</desc>
      </info>
    </set>
  </component>
</oor:component-schema>