summaryrefslogtreecommitdiff
path: root/cui/source/customize/acccfg.src
blob: 1eaf6f35245a02597b73fbd736f1e422872670ea (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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
/*
 * 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 .
 */

#include "helpid.hrc"
#include "cuires.hrc"
#include "acccfg.hrc"

#define MASKCOLOR  MaskColor = \
    Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };

#define PUSHBUTTON_TEXT_SAVE \
    Text [ en-US ] = "~Save..." ; \

#define PUSHBUTTON_TEXT_RESET \
    Text [ en-US ] = "R~eset" ; \

#define PUSHBUTTON_TEXT_LOAD \
    Text [ en-US ] = "~Load..." ; \

#define PUSHBUTTON_TEXT_REMOVE \
    Text [ en-US ] = "~Delete" ; \

#define PUSHBUTTON_TEXT_CHANGE \
    Text [ en-US ] = "~Modify" ; \

#define PUSHBUTTON_TEXT_NEW \
    Text [ en-US ] = "~New" ; \

#define FIXEDTEXT_TEXT_GROUP \
    Text [ en-US ] = "~Category" ; \

#define FIXEDTEXT_TEXT_FUNCTION \
    Text [ en-US ] = "Function" ; \

#define GROUPBOX_TEXT_FUNCTIONS \
    Text [ en-US ] = "Functions" ; \

 // TP_CONFIG_ACCEL -------------------------------------------------------
TabPage RID_SVXPAGE_KEYBOARD
{
    HelpId = HID_CONFIG_ACCEL ;
    Hide = TRUE ;
    Size = MAP_APPFONT ( 273 , 258 ) ;
    RadioButton RB_OFFICE
    {
        HelpID = "cui:RadioButton:RID_SVXPAGE_KEYBOARD:RB_OFFICE";
        Pos = MAP_APPFONT ( 192 , 6 ) ;
        Size = MAP_APPFONT ( 75 , 10 ) ;
        Text = "%PRODUCTNAME" ;
    };
    RadioButton RB_MODULE
    {
        HelpID = "cui:RadioButton:RID_SVXPAGE_KEYBOARD:RB_MODULE";
        Pos = MAP_APPFONT ( 192 , 19 ) ;
        Size = MAP_APPFONT ( 75 , 10 ) ;
        Text = "$(MODULE)" ;
    };
    PushButton BTN_ACC_CHANGE
    {
        HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_ACC_CHANGE";
        Pos = MAP_APPFONT ( 192 , 35 ) ;
        Size = MAP_APPFONT ( 75 , 14 ) ;
        TabStop = TRUE ;
        PUSHBUTTON_TEXT_CHANGE
    };
    PushButton BTN_ACC_REMOVE
    {
        HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_ACC_REMOVE";
        Pos = MAP_APPFONT ( 192 , 52 ) ;
        Size = MAP_APPFONT ( 75 , 14 ) ;
        TabStop = TRUE ;
        Group = TRUE ;
        PUSHBUTTON_TEXT_REMOVE
    };
    FixedLine GRP_ACC_KEYBOARD
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 180 , 8 ) ;
        Group = TRUE ;
        Text [ en-US ] = "Shortcut keys";
    };
    Control BOX_ACC_ENTRIES
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 12 , 14 ) ;
        Size = MAP_APPFONT ( 174 , 120 ) ;
        TabStop = TRUE ;
        Group = TRUE ;
        HelpId = HID_ACCELCONFIG_LISTBOX ;
    };
    FixedLine GRP_ACC_FUNCTIONS
    {
        Pos = MAP_APPFONT ( 6 , 140 ) ;
        Size = MAP_APPFONT ( 258 , 8 ) ;
        Group = TRUE ;
        GROUPBOX_TEXT_FUNCTIONS
    };
    FixedText TXT_ACC_GROUP
    {
        Pos = MAP_APPFONT ( 12 , 151 ) ;
        Size = MAP_APPFONT ( 78 , 8 ) ;
        Group = TRUE ;
        Left = TRUE ;
        FIXEDTEXT_TEXT_GROUP
    };
    Control BOX_ACC_GROUP
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 12 , 161 ) ;
        Size = MAP_APPFONT ( 78 , 91 ) ;
        TabStop = TRUE ;
        HelpId = HID_CONFIGGROUP_ACC_LISTBOX ;
    };
    FixedText TXT_ACC_FUNCTION
    {
        Pos = MAP_APPFONT ( 93 , 151 ) ;
        Size = MAP_APPFONT ( 88 , 8 ) ;
        Left = TRUE ;
        FIXEDTEXT_TEXT_FUNCTION
    };
    Control BOX_ACC_FUNCTION
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 93 , 161 ) ;
        Size = MAP_APPFONT ( 88 , 91 ) ;
        TabStop = TRUE ;
        HelpId = HID_CONFIGFUNCTION_ACC_LISTBOX ;
    };
    FixedText TXT_ACC_KEY
    {
        Pos = MAP_APPFONT ( 184 , 151 ) ;
        Size = MAP_APPFONT ( 80 , 8 ) ;
        Text [ en-US ] = "~Keys" ;
        Left = TRUE ;
    };
    Control BOX_ACC_KEY
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 184 , 161 ) ;
        Size = MAP_APPFONT ( 80 , 91 ) ;
        TabStop = TRUE ;
    };
    PushButton BTN_LOAD
    {
        HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_LOAD";
        Pos = MAP_APPFONT ( 192 , 86 ) ;
        Size = MAP_APPFONT ( 75 , 14 ) ;
        TabStop = TRUE ;
        Group = TRUE ;
        PUSHBUTTON_TEXT_LOAD
    };
    PushButton BTN_SAVE
    {
        HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_SAVE";
        Pos = MAP_APPFONT ( 192 , 103 ) ;
        Size = MAP_APPFONT ( 75 , 14 ) ;
        TabStop = TRUE ;
        Group = TRUE ;
        PUSHBUTTON_TEXT_SAVE
    };
    PushButton BTN_RESET
    {
        HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_RESET";
        Pos = MAP_APPFONT ( 192 , 120 ) ;
        Size = MAP_APPFONT ( 75 , 14 ) ;
        TabStop = TRUE ;
        Group = TRUE ;
        PUSHBUTTON_TEXT_RESET
    };
    String STR_LOADACCELCONFIG
    {
        Text [ en-US ] = "Load Keyboard Configuration" ;
    };
    String STR_SAVEACCELCONFIG
    {
        Text [ en-US ] = "Save Keyboard Configuration" ;
    };
    String STR_FILTERNAME_CFG
    {
        Text [ en-US ] = "Configuration" ;
    };
};

Resource RID_SVXPAGE_CONFIGGROUPBOX
{
    String STR_BASICMACROS
    {
        Text [ en-US ] = "BASIC Macros" ;
    };
    String STR_HUMAN_APPNAME
    {
        TEXT = "%PRODUCTNAME" ;
    };
    String STR_GROUP_STYLES
    {
        Text [ en-US ] = "Styles" ;
    };
    Image BMP_COLLAPSED
    {
        ImageBitmap = Bitmap
        {
            File = "plus.bmp" ;
        };
    };
    Image BMP_EXPANDED
    {
        ImageBitmap = Bitmap
        {
            File = "minus.bmp" ;
        };
    };
};

 // ********************************************************************** EOF