xref: /trunk/main/cui/source/customize/acccfg.src (revision a3cbd3e50c1a12e759959b66e76b58b3aeb2b2af)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22// include ---------------------------------------------------------------
23#include "helpid.hrc"
24#include "cuires.hrc"
25#include "acccfg.hrc"
26
27#define PUSHBUTTON_TEXT_SAVE \
28    Text [ en-US ] = "~Save..." ; \
29
30#define PUSHBUTTON_TEXT_RESET \
31    Text [ en-US ] = "R~eset" ; \
32
33#define PUSHBUTTON_TEXT_LOAD \
34    Text [ en-US ] = "~Load..." ; \
35
36#define PUSHBUTTON_TEXT_REMOVE \
37    Text [ en-US ] = "~Delete" ; \
38
39#define PUSHBUTTON_TEXT_CHANGE \
40    Text [ en-US ] = "~Modify" ; \
41
42#define PUSHBUTTON_TEXT_NEW \
43    Text [ en-US ] = "~New" ; \
44
45#define FIXEDTEXT_TEXT_GROUP \
46    Text [ en-US ] = "~Category" ; \
47
48#define FIXEDTEXT_TEXT_FUNCTION \
49    Text [ en-US ] = "Function" ; \
50
51#define GROUPBOX_TEXT_FUNCTIONS \
52    Text [ en-US ] = "Functions" ; \
53
54// TP_CONFIG_ACCEL -------------------------------------------------------
55TabPage RID_SVXPAGE_KEYBOARD
56{
57    HelpId = HID_CONFIG_ACCEL ;
58    Hide = TRUE ;
59    Size = MAP_APPFONT ( 273, 258 ) ;
60    RadioButton RB_OFFICE
61    {
62        HelpID = "cui:RadioButton:RID_SVXPAGE_KEYBOARD:RB_OFFICE" ;
63        Pos = MAP_APPFONT ( 192, 6 ) ;
64        Size = MAP_APPFONT ( 75, 10 ) ;
65        Text = "%PRODUCTNAME" ;
66    };
67    RadioButton RB_MODULE
68    {
69        HelpID = "cui:RadioButton:RID_SVXPAGE_KEYBOARD:RB_MODULE" ;
70        Pos = MAP_APPFONT ( 192, 19 ) ;
71        Size = MAP_APPFONT ( 75, 10 ) ;
72        Text = "$(MODULE)" ;
73    };
74    PushButton BTN_ACC_CHANGE
75    {
76        HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_ACC_CHANGE" ;
77        Pos = MAP_APPFONT ( 192, 35 ) ;
78        Size = MAP_APPFONT ( 75, 14 ) ;
79        TabStop = TRUE ;
80        PUSHBUTTON_TEXT_CHANGE
81    };
82    PushButton BTN_ACC_REMOVE
83    {
84        HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_ACC_REMOVE" ;
85        Pos = MAP_APPFONT ( 192, 52 ) ;
86        Size = MAP_APPFONT ( 75, 14 ) ;
87        TabStop = TRUE ;
88        Group = TRUE ;
89        PUSHBUTTON_TEXT_REMOVE
90    };
91    FixedLine GRP_ACC_KEYBOARD
92    {
93        Pos = MAP_APPFONT ( 6, 3 ) ;
94        Size = MAP_APPFONT ( 180, 8 ) ;
95        Group = TRUE ;
96        Text [ en-US ] = "Shortcut keys" ;
97    };
98    Control BOX_ACC_ENTRIES
99    {
100        Border = TRUE ;
101        Pos = MAP_APPFONT ( 12, 14 ) ;
102        Size = MAP_APPFONT ( 174, 120 ) ;
103        TabStop = TRUE ;
104        Group = TRUE ;
105        HelpId = HID_ACCELCONFIG_LISTBOX ;
106    };
107    FixedLine GRP_ACC_FUNCTIONS
108    {
109        Pos = MAP_APPFONT ( 6, 140 ) ;
110        Size = MAP_APPFONT ( 258, 8 ) ;
111        Group = TRUE ;
112        GROUPBOX_TEXT_FUNCTIONS
113    };
114    FixedText TXT_ACC_GROUP
115    {
116        Pos = MAP_APPFONT ( 12, 151 ) ;
117        Size = MAP_APPFONT ( 78, 8 ) ;
118        Group = TRUE ;
119        Left = TRUE ;
120        FIXEDTEXT_TEXT_GROUP
121    };
122    Control BOX_ACC_GROUP
123    {
124        Border = TRUE ;
125        Pos = MAP_APPFONT ( 12, 161 ) ;
126        Size = MAP_APPFONT ( 78, 91 ) ;
127        TabStop = TRUE ;
128        HelpId = HID_CONFIGGROUP_ACC_LISTBOX ;
129    };
130    FixedText TXT_ACC_FUNCTION
131    {
132        Pos = MAP_APPFONT ( 93, 151 ) ;
133        Size = MAP_APPFONT ( 88, 8 ) ;
134        Left = TRUE ;
135        FIXEDTEXT_TEXT_FUNCTION
136    };
137    Control BOX_ACC_FUNCTION
138    {
139        Border = TRUE ;
140        Pos = MAP_APPFONT ( 93, 161 ) ;
141        Size = MAP_APPFONT ( 88, 91 ) ;
142        TabStop = TRUE ;
143        HelpId = HID_CONFIGFUNCTION_ACC_LISTBOX ;
144    };
145    FixedText TXT_ACC_KEY
146    {
147        Pos = MAP_APPFONT ( 184, 151 ) ;
148        Size = MAP_APPFONT ( 80, 8 ) ;
149        Text [ en-US ] = "~Keys" ;
150        Left = TRUE ;
151    };
152    Control BOX_ACC_KEY
153    {
154        Border = TRUE ;
155        Pos = MAP_APPFONT ( 184, 161 ) ;
156        Size = MAP_APPFONT ( 80, 91 ) ;
157        TabStop = TRUE ;
158    };
159    PushButton BTN_LOAD
160    {
161        HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_LOAD" ;
162        Pos = MAP_APPFONT ( 192, 86 ) ;
163        Size = MAP_APPFONT ( 75, 14 ) ;
164        TabStop = TRUE ;
165        Group = TRUE ;
166        PUSHBUTTON_TEXT_LOAD
167    };
168    PushButton BTN_SAVE
169    {
170        HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_SAVE" ;
171        Pos = MAP_APPFONT ( 192, 103 ) ;
172        Size = MAP_APPFONT ( 75, 14 ) ;
173        TabStop = TRUE ;
174        Group = TRUE ;
175        PUSHBUTTON_TEXT_SAVE
176    };
177    PushButton BTN_RESET
178    {
179        HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_RESET" ;
180        Pos = MAP_APPFONT ( 192, 120 ) ;
181        Size = MAP_APPFONT ( 75, 14 ) ;
182        TabStop = TRUE ;
183        Group = TRUE ;
184        PUSHBUTTON_TEXT_RESET
185    };
186    String STR_LOADACCELCONFIG
187    {
188        Text [ en-US ] = "Load Keyboard Configuration" ;
189    };
190    String STR_SAVEACCELCONFIG
191    {
192        Text [ en-US ] = "Save Keyboard Configuration" ;
193    };
194    String STR_FILTERNAME_CFG
195    {
196        Text [ en-US ] = "Configuration (*.cfg)" ;
197    };
198};
199
200Resource RID_SVXPAGE_CONFIGGROUPBOX
201{
202    String STR_MYMACROS
203    {
204        Text [ en-US ] = "My Macros" ;
205    };
206    String STR_PRODMACROS
207    {
208        Text [ en-US ] = "%PRODUCTNAME Macros" ;
209    };
210    String STR_BASICMACROS
211    {
212        Text [ en-US ] = "BASIC Macros" ;
213    };
214    String STR_DLG_MACROS
215    {
216        Text [ en-US ] = "%PRODUCTNAME Macros" ;
217    };
218    String STR_HUMAN_APPNAME
219    {
220        Text = "%PRODUCTNAME" ;
221    };
222    String STR_GROUP_STYLES
223    {
224        Text [ en-US ] = "Styles" ;
225    };
226    Image IMG_HARDDISK
227    {
228        ImageBitmap = Bitmap { File = "harddisk_16.png" ; };
229    };
230    Image IMG_HARDDISK_HC
231    {
232        ImageBitmap = Bitmap { File = "harddisk_16_h.png" ; };
233    };
234    Image IMG_LIB
235    {
236        ImageBitmap = Bitmap { File = "im30820.png" ; };
237    };
238    Image IMG_LIB_HC
239    {
240        ImageBitmap = Bitmap { File = "imh30820.png" ; };
241    };
242    Image IMG_MACRO
243    {
244        ImageBitmap = Bitmap { File = "im30821.png" ; };
245    };
246    Image IMG_MACRO_HC
247    {
248        ImageBitmap = Bitmap { File = "imh30821.png" ; };
249    };
250    Image IMG_DOC
251    {
252        ImageBitmap = Bitmap { File = "im30826.png" ; };
253    };
254    Image IMG_DOC_HC
255    {
256        ImageBitmap = Bitmap { File = "imh30826.png" ; };
257    };
258    Image BMP_COLLAPSED
259    {
260        ImageBitmap = Bitmap
261        {
262            File = "plus.png" ;
263        };
264    };
265    Image BMP_EXPANDED
266    {
267        ImageBitmap = Bitmap
268        {
269            File = "minus.png" ;
270        };
271    };
272    Image BMP_EXPANDED_HC
273    {
274        ImageBitmap = Bitmap
275        {
276            File = "minus_h.png" ;
277        };
278    };
279    Image BMP_COLLAPSED_HC
280    {
281        ImageBitmap = Bitmap
282        {
283            File = "plus_h.png" ;
284        };
285    };
286};
287
288// ********************************************************************** EOF
289