xref: /aoo4110/main/cui/source/customize/acccfg.src (revision b1cdbd2c)
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
23 // include ---------------------------------------------------------------
24#include "helpid.hrc"
25#include "cuires.hrc"
26#include "acccfg.hrc"
27
28#define MASKCOLOR  MaskColor = \
29    Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
30
31#define PUSHBUTTON_TEXT_SAVE \
32    Text [ en-US ] = "~Save..." ; \
33
34#define PUSHBUTTON_TEXT_RESET \
35    Text [ en-US ] = "R~eset" ; \
36
37#define PUSHBUTTON_TEXT_LOAD \
38    Text [ en-US ] = "~Load..." ; \
39
40#define PUSHBUTTON_TEXT_REMOVE \
41    Text [ en-US ] = "~Delete" ; \
42
43#define PUSHBUTTON_TEXT_CHANGE \
44    Text [ en-US ] = "~Modify" ; \
45
46#define PUSHBUTTON_TEXT_NEW \
47    Text [ en-US ] = "~New" ; \
48
49#define FIXEDTEXT_TEXT_GROUP \
50    Text [ en-US ] = "~Category" ; \
51
52#define FIXEDTEXT_TEXT_FUNCTION \
53    Text [ en-US ] = "Function" ; \
54
55#define GROUPBOX_TEXT_FUNCTIONS \
56    Text [ en-US ] = "Functions" ; \
57
58 // TP_CONFIG_ACCEL -------------------------------------------------------
59TabPage RID_SVXPAGE_KEYBOARD
60{
61	HelpId = HID_CONFIG_ACCEL ;
62	Hide = TRUE ;
63    Size = MAP_APPFONT ( 273 , 258 ) ;
64	RadioButton RB_OFFICE
65	{
66	    HelpID = "cui:RadioButton:RID_SVXPAGE_KEYBOARD:RB_OFFICE";
67        Pos = MAP_APPFONT ( 192 , 6 ) ;
68		Size = MAP_APPFONT ( 75 , 10 ) ;
69        Text = "%PRODUCTNAME" ;
70	};
71	RadioButton RB_MODULE
72	{
73	    HelpID = "cui:RadioButton:RID_SVXPAGE_KEYBOARD:RB_MODULE";
74        Pos = MAP_APPFONT ( 192 , 19 ) ;
75		Size = MAP_APPFONT ( 75 , 10 ) ;
76        Text = "$(MODULE)" ;
77	};
78	PushButton BTN_ACC_CHANGE
79	{
80	    HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_ACC_CHANGE";
81        Pos = MAP_APPFONT ( 192 , 35 ) ;
82		Size = MAP_APPFONT ( 75 , 14 ) ;
83		TabStop = TRUE ;
84		PUSHBUTTON_TEXT_CHANGE
85    };
86	PushButton BTN_ACC_REMOVE
87	{
88	    HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_ACC_REMOVE";
89        Pos = MAP_APPFONT ( 192 , 52 ) ;
90		Size = MAP_APPFONT ( 75 , 14 ) ;
91		TabStop = TRUE ;
92		Group = TRUE ;
93		PUSHBUTTON_TEXT_REMOVE
94    };
95    FixedLine GRP_ACC_KEYBOARD
96	{
97		Pos = MAP_APPFONT ( 6 , 3 ) ;
98        Size = MAP_APPFONT ( 180 , 8 ) ;
99		Group = TRUE ;
100		Text [ en-US ] = "Shortcut keys";
101	};
102    Control BOX_ACC_ENTRIES
103	{
104		Border = TRUE ;
105		Pos = MAP_APPFONT ( 12 , 14 ) ;
106		Size = MAP_APPFONT ( 174 , 120 ) ;
107		TabStop = TRUE ;
108		Group = TRUE ;
109		HelpId = HID_ACCELCONFIG_LISTBOX ;
110	};
111    FixedLine GRP_ACC_FUNCTIONS
112	{
113        Pos = MAP_APPFONT ( 6 , 140 ) ;
114        Size = MAP_APPFONT ( 258 , 8 ) ;
115		Group = TRUE ;
116		GROUPBOX_TEXT_FUNCTIONS
117    };
118    FixedText TXT_ACC_GROUP
119	{
120        Pos = MAP_APPFONT ( 12 , 151 ) ;
121		Size = MAP_APPFONT ( 78 , 8 ) ;
122		Group = TRUE ;
123		Left = TRUE ;
124		FIXEDTEXT_TEXT_GROUP
125	};
126	Control BOX_ACC_GROUP
127	{
128		Border = TRUE ;
129        Pos = MAP_APPFONT ( 12 , 161 ) ;
130        Size = MAP_APPFONT ( 78 , 91 ) ;
131		TabStop = TRUE ;
132		HelpId = HID_CONFIGGROUP_ACC_LISTBOX ;
133	};
134	FixedText TXT_ACC_FUNCTION
135	{
136        Pos = MAP_APPFONT ( 93 , 151 ) ;
137		Size = MAP_APPFONT ( 88 , 8 ) ;
138		Left = TRUE ;
139		FIXEDTEXT_TEXT_FUNCTION
140	};
141	Control BOX_ACC_FUNCTION
142	{
143		Border = TRUE ;
144        Pos = MAP_APPFONT ( 93 , 161 ) ;
145        Size = MAP_APPFONT ( 88 , 91 ) ;
146		TabStop = TRUE ;
147		HelpId = HID_CONFIGFUNCTION_ACC_LISTBOX ;
148	};
149	FixedText TXT_ACC_KEY
150	{
151        Pos = MAP_APPFONT ( 184 , 151 ) ;
152		Size = MAP_APPFONT ( 80 , 8 ) ;
153		Text [ en-US ] = "~Keys" ;
154		Left = TRUE ;
155	};
156    Control BOX_ACC_KEY
157	{
158		Border = TRUE ;
159        Pos = MAP_APPFONT ( 184 , 161 ) ;
160        Size = MAP_APPFONT ( 80 , 91 ) ;
161		TabStop = TRUE ;
162	};
163	PushButton BTN_LOAD
164	{
165	    HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_LOAD";
166		Pos = MAP_APPFONT ( 192 , 86 ) ;
167		Size = MAP_APPFONT ( 75 , 14 ) ;
168		TabStop = TRUE ;
169		Group = TRUE ;
170		PUSHBUTTON_TEXT_LOAD
171    };
172	PushButton BTN_SAVE
173	{
174	    HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_SAVE";
175		Pos = MAP_APPFONT ( 192 , 103 ) ;
176		Size = MAP_APPFONT ( 75 , 14 ) ;
177		TabStop = TRUE ;
178		Group = TRUE ;
179		PUSHBUTTON_TEXT_SAVE
180    };
181    PushButton BTN_RESET
182	{
183        HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_RESET";
184		Pos = MAP_APPFONT ( 192 , 120 ) ;
185		Size = MAP_APPFONT ( 75 , 14 ) ;
186		TabStop = TRUE ;
187		Group = TRUE ;
188		PUSHBUTTON_TEXT_RESET
189    };
190	String STR_LOADACCELCONFIG
191	{
192		Text [ en-US ] = "Load Keyboard Configuration" ;
193	};
194	String STR_SAVEACCELCONFIG
195	{
196		Text [ en-US ] = "Save Keyboard Configuration" ;
197	};
198	String STR_FILTERNAME_CFG
199	{
200		Text [ en-US ] = "Configuration (*.cfg)" ;
201	};
202};
203
204Resource RID_SVXPAGE_CONFIGGROUPBOX
205{
206    String STR_MYMACROS
207	{
208		Text [ en-US ] = "My Macros";
209	};
210	String STR_PRODMACROS
211	{
212		Text [ en-US ] = "%PRODUCTNAME Macros";
213	};
214	String STR_BASICMACROS
215	{
216		Text [ en-US ] = "BASIC Macros" ;
217	};
218	String STR_DLG_MACROS
219	{
220	  Text [ en-US ] = "%PRODUCTNAME Macros" ;
221	};
222	String STR_HUMAN_APPNAME
223	{
224		TEXT = "%PRODUCTNAME" ;
225	};
226	String STR_GROUP_STYLES
227	{
228		Text [ en-US ] = "Styles" ;
229	};
230	Image IMG_HARDDISK
231	{
232		ImageBitmap = Bitmap { File = "harddisk_16.bmp" ; };
233		MASKCOLOR
234	};
235	Image IMG_HARDDISK_HC
236	{
237		ImageBitmap = Bitmap { File = "harddisk_16_h.bmp" ; };
238		MASKCOLOR
239	};
240	Image IMG_LIB
241	{
242		ImageBitmap = Bitmap { File = "im30820.png"; };
243		MASKCOLOR
244	};
245	Image IMG_LIB_HC
246	{
247		ImageBitmap = Bitmap { File = "imh30820.png"; };
248		MASKCOLOR
249	};
250	Image IMG_MACRO
251	{
252		ImageBitmap = Bitmap { File = "im30821.png"; };
253		MASKCOLOR
254	};
255	Image IMG_MACRO_HC
256	{
257		ImageBitmap = Bitmap { File = "imh30821.png"; };
258		MASKCOLOR
259	};
260	Image IMG_DOC
261	{
262		ImageBitmap = Bitmap { File = "im30826.png"; };
263		MASKCOLOR
264	};
265	Image IMG_DOC_HC
266	{
267		ImageBitmap = Bitmap { File = "imh30826.png"; };
268		MASKCOLOR
269	};
270	Image BMP_COLLAPSED
271	{
272		ImageBitmap = Bitmap
273		{
274			File = "plus.bmp" ;
275		};
276		 // MaskColor = Color { Predefine = COL_GREEN ; };
277	};
278	Image BMP_EXPANDED
279	{
280		ImageBitmap = Bitmap
281		{
282			File = "minus.bmp" ;
283		};
284		 // MaskColor = Color { Predefine = COL_GREEN ; };
285	};
286	Image BMP_EXPANDED_HC
287	{
288		ImageBitmap = Bitmap
289		{
290			File = "minus_h.bmp" ;
291		};
292	};
293	Image BMP_COLLAPSED_HC
294	{
295		ImageBitmap = Bitmap
296		{
297			File = "plus_h.bmp" ;
298		};
299	};
300};
301
302 // ********************************************************************** EOF
303
304
305
306
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