summaryrefslogtreecommitdiff
path: root/officecfg/registry/schema/org/openoffice/Office/UI/WindowState.xcs
blob: 96bd9b23dcaa136bc6af75af5aa99b3b6f954962 (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
<?xml version="1.0" encoding="UTF-8"?>
<!--***********************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: WindowState.xcs,v $
 * $Revision: 1.9 $
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************ -->
<!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="WindowState" oor:package="org.openoffice.Office.UI" xml:lang="en-US">
    <info>
		<author>CD</author>
		<desc>Contains state information of all dockable user interface elements based on a Window class.</desc>
	</info>
	<templates>
        <group oor:name="WindowStateType">
            <info>
                <desc>Provides a mapping between commands and their textual representation on the user interface.</desc>
            </info>
            <prop oor:name="Locked" oor:type="xs:boolean">
                <info>
                    <desc>A locked user interface element cannot be moved or undocked by the user. This property is only active when the user interface element is in a docked state.</desc>
                </info>
                <value>false</value>
            </prop>
            <prop oor:name="Docked" oor:type="xs:boolean">
                <info>
                    <desc>Specifies if the user interface element is currently docked.</desc>
                </info>
                <value>true</value>
            </prop>
            <prop oor:name="Visible" oor:type="xs:boolean">
                <info>
                    <desc>Specifies if the user interface element is visible.</desc>
                </info>
            </prop>
            <prop oor:name="ContextSensitive" oor:type="xs:boolean">
                <info>
                    <desc>Specifies if the user interface element is context sensitive. This controls if the Office shows the user interface element </desc>
                </info>
                <value>false</value>
            </prop>
            <prop oor:name="HideFromToolbarMenu" oor:type="xs:boolean">
                <info>
                    <desc>Specifies if a toolbar should not be shown inside the View - Toolbars menu.</desc>
                </info>
                <value>false</value>
            </prop>
            <prop oor:name="DockingArea" oor:type="xs:int">
                <info>
                    <desc>Specifies the docking area to which a user interface element belongs to. Only valid if 'Docked' is true. Top docking area=0, bottom=1, left=2, right=3.</desc>
                </info>
            </prop>            
            <prop oor:name="DockPos" oor:type="xs:string">
                <info>
                    <desc>Specifies the position of a docked user interface element. For top/bottom docked elements X describes a pixel position and Y the row number, left/right docked elements uses X for the column and Y for the pixel position. X and Y coordinates must be splitted by an comma.</desc>
                </info>
            </prop>
            <prop oor:name="DockSize" oor:type="xs:string">
                <info>
                    <desc>Not used.</desc>
                </info>
            </prop>
            <prop oor:name="Pos" oor:type="xs:string">
                <info>
                    <desc>Specifies the position of a floating user interface element in pixel. X and Y coordinates must be splitted by an comma and are relative to the document frame.</desc>
                </info>
            </prop>
            <prop oor:name="Size" oor:type="xs:string">
                <info>
                    <desc>Specifies the size of a floating user interface element in pixel. The real size can differ if the layout manager decides to resize it due to current circumenstances. Width and height must be splitted by an comma.</desc>
                </info>
            </prop>            
            <prop oor:name="UIName" oor:type="xs:string" oor:localized="true">
                <info>
                    <desc>Specifies the user interface element name. It is used for floating user interface elements to set the title and for the bubble help.</desc>
                </info>
            </prop>
            <prop oor:name="InternalState" oor:type="xs:int">
                <info>
                    <desc>Specifies an internal state for the user interface element. Please don't change this value it describes an internal value.</desc>
                </info>
            </prop>
            <prop oor:name="Style" oor:type="xs:int">
                <info>
                    <desc>Specifies the style of a toolbar. This property is only used by toolbar user interface elements. 0 = symbol buttons, 1 = text buttons, 2 = symbols+text buttons</desc>
                </info>
                <value>0</value>
            </prop>
            <prop oor:name="NoClose" oor:type="xs:boolean">
                <info>
                    <desc>Specifies that a user interface element shouldn't have a closer. This property is only used by toolbars or floating window user interface elements.</desc>
                </info>
                <value>false</value>
            </prop>
            <prop oor:name="SoftClose" oor:type="xs:boolean">
                <info>
                    <desc>Specifies that a user interface element shouldn't be closed forever. This is usefull for context sensitive ui elements which must be visible whenever their context is active. This property is only used by toolbars or floating window user interface elements.</desc>
                </info>
                <value>false</value>
            </prop>
            <prop oor:name="ContextActive" oor:type="xs:boolean">
                <info>
                    <desc>Specifies if a context sensitive user interface element is currently bound to its context. This property can be used to disable context sensitivity without losing the information that a user interface element is normally context sensitive.</desc>
                </info>
                <value>true</value>
            </prop>
        </group>
	</templates>
	<component/>
</oor:component-schema>