xref: /aoo42x/main/cui/source/customize/acccfg.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27 // include ---------------------------------------------------------------
28#include "helpid.hrc"
29#include "cuires.hrc"
30#include "acccfg.hrc"
31
32#define MASKCOLOR  MaskColor = \
33    Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
34
35#define PUSHBUTTON_TEXT_SAVE \
36    Text [ en-US ] = "~Save..." ; \
37
38#define PUSHBUTTON_TEXT_RESET \
39    Text [ en-US ] = "R~eset" ; \
40
41#define PUSHBUTTON_TEXT_LOAD \
42    Text [ en-US ] = "~Load..." ; \
43
44#define PUSHBUTTON_TEXT_REMOVE \
45    Text [ en-US ] = "~Delete" ; \
46
47#define PUSHBUTTON_TEXT_CHANGE \
48    Text [ en-US ] = "~Modify" ; \
49
50#define PUSHBUTTON_TEXT_NEW \
51    Text [ en-US ] = "~New" ; \
52
53#define FIXEDTEXT_TEXT_GROUP \
54    Text [ en-US ] = "~Category" ; \
55
56#define FIXEDTEXT_TEXT_FUNCTION \
57    Text [ en-US ] = "Function" ; \
58
59#define GROUPBOX_TEXT_FUNCTIONS \
60    Text [ en-US ] = "Functions" ; \
61
62 // TP_CONFIG_ACCEL -------------------------------------------------------
63TabPage RID_SVXPAGE_KEYBOARD
64{
65	HelpId = HID_CONFIG_ACCEL ;
66	Hide = TRUE ;
67    Size = MAP_APPFONT ( 273 , 258 ) ;
68	RadioButton RB_OFFICE
69	{
70	    HelpID = "cui:RadioButton:RID_SVXPAGE_KEYBOARD:RB_OFFICE";
71        Pos = MAP_APPFONT ( 192 , 6 ) ;
72		Size = MAP_APPFONT ( 75 , 10 ) ;
73        Text = "%PRODUCTNAME" ;
74	};
75	RadioButton RB_MODULE
76	{
77	    HelpID = "cui:RadioButton:RID_SVXPAGE_KEYBOARD:RB_MODULE";
78        Pos = MAP_APPFONT ( 192 , 19 ) ;
79		Size = MAP_APPFONT ( 75 , 10 ) ;
80        Text = "$(MODULE)" ;
81	};
82	PushButton BTN_ACC_CHANGE
83	{
84	    HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_ACC_CHANGE";
85        Pos = MAP_APPFONT ( 192 , 35 ) ;
86		Size = MAP_APPFONT ( 75 , 14 ) ;
87		TabStop = TRUE ;
88		PUSHBUTTON_TEXT_CHANGE
89    };
90	PushButton BTN_ACC_REMOVE
91	{
92	    HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_ACC_REMOVE";
93        Pos = MAP_APPFONT ( 192 , 52 ) ;
94		Size = MAP_APPFONT ( 75 , 14 ) ;
95		TabStop = TRUE ;
96		Group = TRUE ;
97		PUSHBUTTON_TEXT_REMOVE
98    };
99    FixedLine GRP_ACC_KEYBOARD
100	{
101		Pos = MAP_APPFONT ( 6 , 3 ) ;
102        Size = MAP_APPFONT ( 180 , 8 ) ;
103		Group = TRUE ;
104		Text [ en-US ] = "Shortcut keys";
105	};
106    Control BOX_ACC_ENTRIES
107	{
108		Border = TRUE ;
109		Pos = MAP_APPFONT ( 12 , 14 ) ;
110		Size = MAP_APPFONT ( 174 , 120 ) ;
111		TabStop = TRUE ;
112		Group = TRUE ;
113		HelpId = HID_ACCELCONFIG_LISTBOX ;
114	};
115    FixedLine GRP_ACC_FUNCTIONS
116	{
117        Pos = MAP_APPFONT ( 6 , 140 ) ;
118        Size = MAP_APPFONT ( 258 , 8 ) ;
119		Group = TRUE ;
120		GROUPBOX_TEXT_FUNCTIONS
121    };
122    FixedText TXT_ACC_GROUP
123	{
124        Pos = MAP_APPFONT ( 12 , 151 ) ;
125		Size = MAP_APPFONT ( 78 , 8 ) ;
126		Group = TRUE ;
127		Left = TRUE ;
128		FIXEDTEXT_TEXT_GROUP
129	};
130	Control BOX_ACC_GROUP
131	{
132		Border = TRUE ;
133        Pos = MAP_APPFONT ( 12 , 161 ) ;
134        Size = MAP_APPFONT ( 78 , 91 ) ;
135		TabStop = TRUE ;
136		HelpId = HID_CONFIGGROUP_ACC_LISTBOX ;
137	};
138	FixedText TXT_ACC_FUNCTION
139	{
140        Pos = MAP_APPFONT ( 93 , 151 ) ;
141		Size = MAP_APPFONT ( 88 , 8 ) ;
142		Left = TRUE ;
143		FIXEDTEXT_TEXT_FUNCTION
144	};
145	Control BOX_ACC_FUNCTION
146	{
147		Border = TRUE ;
148        Pos = MAP_APPFONT ( 93 , 161 ) ;
149        Size = MAP_APPFONT ( 88 , 91 ) ;
150		TabStop = TRUE ;
151		HelpId = HID_CONFIGFUNCTION_ACC_LISTBOX ;
152	};
153	FixedText TXT_ACC_KEY
154	{
155        Pos = MAP_APPFONT ( 184 , 151 ) ;
156		Size = MAP_APPFONT ( 80 , 8 ) ;
157		Text [ en-US ] = "~Keys" ;
158		Left = TRUE ;
159	};
160    Control BOX_ACC_KEY
161	{
162		Border = TRUE ;
163        Pos = MAP_APPFONT ( 184 , 161 ) ;
164        Size = MAP_APPFONT ( 80 , 91 ) ;
165		TabStop = TRUE ;
166	};
167	PushButton BTN_LOAD
168	{
169	    HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_LOAD";
170		Pos = MAP_APPFONT ( 192 , 86 ) ;
171		Size = MAP_APPFONT ( 75 , 14 ) ;
172		TabStop = TRUE ;
173		Group = TRUE ;
174		PUSHBUTTON_TEXT_LOAD
175    };
176	PushButton BTN_SAVE
177	{
178	    HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_SAVE";
179		Pos = MAP_APPFONT ( 192 , 103 ) ;
180		Size = MAP_APPFONT ( 75 , 14 ) ;
181		TabStop = TRUE ;
182		Group = TRUE ;
183		PUSHBUTTON_TEXT_SAVE
184    };
185    PushButton BTN_RESET
186	{
187        HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_RESET";
188		Pos = MAP_APPFONT ( 192 , 120 ) ;
189		Size = MAP_APPFONT ( 75 , 14 ) ;
190		TabStop = TRUE ;
191		Group = TRUE ;
192		PUSHBUTTON_TEXT_RESET
193    };
194	String STR_LOADACCELCONFIG
195	{
196		Text [ en-US ] = "Load Keyboard Configuration" ;
197	};
198	String STR_SAVEACCELCONFIG
199	{
200		Text [ en-US ] = "Save Keyboard Configuration" ;
201	};
202	String STR_FILTERNAME_CFG
203	{
204		Text [ en-US ] = "Configuration" ;
205	};
206};
207
208Resource RID_SVXPAGE_CONFIGGROUPBOX
209{
210    String STR_MYMACROS
211	{
212		Text [ en-US ] = "My Macros";
213	};
214	String STR_PRODMACROS
215	{
216		Text [ en-US ] = "%PRODUCTNAME Macros";
217	};
218	String STR_BASICMACROS
219	{
220		Text [ en-US ] = "BASIC Macros" ;
221	};
222	String STR_DLG_MACROS
223	{
224	  Text [ en-US ] = "%PRODUCTNAME Macros" ;
225	};
226	String STR_HUMAN_APPNAME
227	{
228		TEXT = "%PRODUCTNAME" ;
229	};
230	String STR_GROUP_STYLES
231	{
232		Text [ en-US ] = "Styles" ;
233	};
234	Image IMG_HARDDISK
235	{
236		ImageBitmap = Bitmap { File = "harddisk_16.bmp" ; };
237		MASKCOLOR
238	};
239	Image IMG_HARDDISK_HC
240	{
241		ImageBitmap = Bitmap { File = "harddisk_16_h.bmp" ; };
242		MASKCOLOR
243	};
244	Image IMG_LIB
245	{
246		ImageBitmap = Bitmap { File = "im30820.png"; };
247		MASKCOLOR
248	};
249	Image IMG_LIB_HC
250	{
251		ImageBitmap = Bitmap { File = "imh30820.png"; };
252		MASKCOLOR
253	};
254	Image IMG_MACRO
255	{
256		ImageBitmap = Bitmap { File = "im30821.png"; };
257		MASKCOLOR
258	};
259	Image IMG_MACRO_HC
260	{
261		ImageBitmap = Bitmap { File = "imh30821.png"; };
262		MASKCOLOR
263	};
264	Image IMG_DOC
265	{
266		ImageBitmap = Bitmap { File = "im30826.png"; };
267		MASKCOLOR
268	};
269	Image IMG_DOC_HC
270	{
271		ImageBitmap = Bitmap { File = "imh30826.png"; };
272		MASKCOLOR
273	};
274	Image BMP_COLLAPSED
275	{
276		ImageBitmap = Bitmap
277		{
278			File = "plus.bmp" ;
279		};
280		 // MaskColor = Color { Predefine = COL_GREEN ; };
281	};
282	Image BMP_EXPANDED
283	{
284		ImageBitmap = Bitmap
285		{
286			File = "minus.bmp" ;
287		};
288		 // MaskColor = Color { Predefine = COL_GREEN ; };
289	};
290	Image BMP_EXPANDED_HC
291	{
292		ImageBitmap = Bitmap
293		{
294			File = "minus_h.bmp" ;
295		};
296	};
297	Image BMP_COLLAPSED_HC
298	{
299		ImageBitmap = Bitmap
300		{
301			File = "plus_h.bmp" ;
302		};
303	};
304};
305
306 // ********************************************************************** EOF
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357