xref: /aoo41x/main/cui/source/customize/macropg.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
28#include <sfx2/sfx.hrc>
29#include "macropg.hrc"
30#include <cuires.hrc>
31#include "helpid.hrc"
32#include <svx/dialogs.hrc>
33
34#define MASKCOLOR  MaskColor = \
35    Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
36
37TabPage RID_SVXPAGE_MACROASSIGN
38{
39	HelpID = "cui:TabPage:RID_SVXPAGE_MACROASSIGN" ;
40	Hide = TRUE ;
41	OutputSize = TRUE ;
42	SVLook = TRUE ;
43	Size = MAP_APPFONT ( WIDTH_TP , HEIGHT_TP ) ;
44	Text [ en-US ] = "Assign action" ;
45	String STR_EVENT
46	{
47		Text [ en-US ] = "Event" ;
48	};
49	String STR_ASSMACRO
50	{
51		Text [ en-US ] = "Assigned Action" ;
52	};
53	Control LB_EVENT
54	{
55		Border = TRUE ;
56		TabStop = TRUE;
57		Pos = MAP_APPFONT ( COL0 , ROW0 ) ;
58		Size = MAP_APPFONT ( WIDTH1_2 , HEIGHT0 ) ;
59		HelpID = HID_SVX_MACRO_LB_EVENT ;
60	};
61	FixedText FT_ASSIGN
62	{
63		Pos = MAP_APPFONT ( COL4 , ROW0 ) ;
64		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ;
65		Text [ en-US ] = "Assign:" ;
66	};
67	PushButton PB_ASSIGN
68	{
69	    HelpID = "cui:PushButton:RID_SVXPAGE_MACROASSIGN:PB_ASSIGN";
70		Pos = MAP_APPFONT ( COL4 , ROW0A  ) ;
71		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
72		Text [ en-US ] = "M~acro..." ;
73		Disable = TRUE ;
74		TabStop = TRUE ;
75	};
76	PushButton PB_ASSIGN_COMPONENT
77	{
78	    HelpID = "cui:PushButton:RID_SVXPAGE_MACROASSIGN:PB_ASSIGN_COMPONENT";
79		Pos = MAP_APPFONT ( COL4 , ROW2  ) ;
80		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
81		Disable = TRUE ;
82		TabStop = TRUE ;
83		Text [ en-US ] = "Com~ponent..." ;
84	};
85	PushButton PB_DELETE
86	{
87	    HelpID = "cui:PushButton:RID_SVXPAGE_MACROASSIGN:PB_DELETE";
88		Pos = MAP_APPFONT ( COL4 , ROW5_REMOVE  ) ;
89		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
90		Text [ en-US ] = "~Remove" ;
91		Disable = TRUE ;
92		TabStop = TRUE ;
93	};
94	Image IMG_MACRO
95	{
96		ImageBitmap = Bitmap { File = "id018.png"; };
97		MASKCOLOR
98	};
99	Image IMG_COMPONENT
100	{
101		ImageBitmap = Bitmap { File = "component_16.png"; };
102		MASKCOLOR
103	};
104	Image IMG_MACRO_H
105	{
106		ImageBitmap = Bitmap { File = "idh018.png"; };
107		MASKCOLOR
108	};
109	Image IMG_COMPONENT_H
110	{
111		ImageBitmap = Bitmap { File = "component_16_h.png"; };
112		MASKCOLOR
113	};
114};
115
116ModalDialog RID_SVXDLG_ASSIGNCOMPONENT
117{
118    HelpID = "cui:ModalDialog:RID_SVXDLG_ASSIGNCOMPONENT";
119	OutputSize = TRUE ;
120	SVLook = TRUE ;
121	Size = MAP_APPFONT ( COMP_WIDTH , COMP_HEIGHT ) ;
122	Moveable = TRUE ;
123	Closeable = TRUE ;
124	Text [ en-US ] = "Assign Component";
125	OKButton RID_PB_OK
126	{
127		Pos = MAP_APPFONT ( COMP_COL1 , COMP_ROW0 ) ;
128		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
129		TabStop = TRUE ;
130		DefButton = TRUE ;
131	};
132	CancelButton RID_PB_CANCEL
133	{
134		Pos = MAP_APPFONT ( COMP_COL1 , COMP_ROW1 ) ;
135		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
136		TabStop = TRUE ;
137	};
138	HelpButton RID_PB_HELP
139	{
140		Pos = MAP_APPFONT ( COMP_COL1 , COMP_ROW2 ) ;
141		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
142	};
143	FixedText FT_METHOD
144	{
145		Pos = MAP_APPFONT ( COMP_COL0 , ROW0 ) ;
146		Size = MAP_APPFONT ( COMP_EDIT_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ;
147		Text [ en-US ] = "Component method name" ;
148	};
149	Edit EDIT_METHOD
150	{
151	    HelpID = "cui:Edit:RID_SVXDLG_ASSIGNCOMPONENT:EDIT_METHOD";
152		Border = TRUE ;
153		Pos = MAP_APPFONT ( COMP_COL0 , COMP_ROWEDIT ) ;
154		Size = MAP_APPFONT ( COMP_EDIT_WIDTH , RSC_CD_TEXTBOX_HEIGHT ) ;
155		TabStop = TRUE ;
156	};
157};
158
159
160//DF
161String RID_SVXSTR_EVENT_STARTAPP
162{
163	Text [ en-US ] = "Start Application" ;
164};
165
166String RID_SVXSTR_EVENT_CLOSEAPP
167{
168	Text [ en-US ] = "Close Application" ;
169};
170
171String RID_SVXSTR_EVENT_NEWDOC
172{
173    Text [ en-US ] = "New Document" ;
174};
175
176String RID_SVXSTR_EVENT_CLOSEDOC
177{
178	Text [ en-US ] = "Document closed" ;
179};
180
181String RID_SVXSTR_EVENT_PREPARECLOSEDOC
182{
183	Text [ en-US ] = "Document is going to be closed" ;
184};
185
186String RID_SVXSTR_EVENT_OPENDOC
187{
188	Text [ en-US ] = "Open Document" ;
189};
190
191String RID_SVXSTR_EVENT_SAVEDOC
192{
193	Text [ en-US ] = "Save Document" ;
194};
195
196String RID_SVXSTR_EVENT_SAVEASDOC
197{
198	Text [ en-US ] = "Save Document As" ;
199};
200
201String RID_SVXSTR_EVENT_SAVEDOCDONE
202{
203	Text [ en-US ] = "Document has been saved" ;
204};
205
206String RID_SVXSTR_EVENT_SAVEASDOCDONE
207{
208	Text [ en-US ] = "Document has been saved as" ;
209};
210
211String RID_SVXSTR_EVENT_ACTIVATEDOC
212{
213	Text [ en-US ] = "Activate Document" ;
214};
215
216String RID_SVXSTR_EVENT_DEACTIVATEDOC
217{
218	Text [ en-US ] = "Deactivate Document" ;
219};
220
221String RID_SVXSTR_EVENT_PRINTDOC
222{
223	Text [ en-US ] = "Print Document" ;
224};
225
226String RID_SVXSTR_EVENT_MODIFYCHANGED
227{
228	Text [ en-US ] = "'Modified' status was changed" ;
229};
230String RID_SVXSTR_EVENT_MAILMERGE
231{
232	Text [ en-US ] = "Printing of form letters started" ;
233};
234String RID_SVXSTR_EVENT_MAILMERGE_END
235{
236	Text [ en-US ] = "Printing of form letters finished" ;
237};
238String RID_SVXSTR_EVENT_FIELDMERGE
239{
240	Text [ en-US ] = "Merging of form fields started" ;
241};
242String RID_SVXSTR_EVENT_FIELDMERGE_FINISHED
243{
244	Text [ en-US ] = "Merging of form fields finished" ;
245};
246String RID_SVXSTR_EVENT_PAGECOUNTCHANGE
247{
248	Text [ en-US ] = "Changing the page count" ;
249};
250String RID_SVXSTR_EVENT_SUBCOMPONENT_OPENED
251{
252	Text [ en-US ] = "Loaded a sub component" ;
253};
254String RID_SVXSTR_EVENT_SUBCOMPONENT_CLOSED
255{
256	Text [ en-US ] = "Closed a sub component" ;
257};
258String RID_SVXSTR_EVENT_APPROVEPARAMETER
259{
260	Text [ en-US ] = "Fill parameters" ;
261};
262String RID_SVXSTR_EVENT_ACTIONPERFORMED
263{
264	Text [ en-US ] = "Execute action" ;
265};
266String RID_SVXSTR_EVENT_AFTERUPDATE
267{
268	Text [ en-US ] = "After updating" ;
269};
270String RID_SVXSTR_EVENT_BEFOREUPDATE
271{
272	Text [ en-US ] = "Before updating" ;
273};
274String RID_SVXSTR_EVENT_APPROVEROWCHANGE
275{
276	Text [ en-US ] = "Before record action" ;
277};
278String RID_SVXSTR_EVENT_ROWCHANGE
279{
280	Text [ en-US ] = "After record action" ;
281};
282String RID_SVXSTR_EVENT_CONFIRMDELETE
283{
284	Text [ en-US ] = "Confirm deletion" ;
285};
286String RID_SVXSTR_EVENT_ERROROCCURED
287{
288	Text [ en-US ] = "Error occurred" ;
289};
290String RID_SVXSTR_EVENT_ADJUSTMENTVALUECHANGED
291{
292	Text [ en-US ] = "While adjusting";
293};
294String RID_SVXSTR_EVENT_FOCUSGAINED
295{
296	Text [ en-US ] = "When receiving focus" ;
297};
298String RID_SVXSTR_EVENT_FOCUSLOST
299{
300	Text [ en-US ] = "When losing focus" ;
301};
302String RID_SVXSTR_EVENT_ITEMSTATECHANGED
303{
304	Text [ en-US ] = "Item status changed" ;
305};
306String RID_SVXSTR_EVENT_KEYTYPED
307{
308	Text [ en-US ] = "Key pressed" ;
309};
310String RID_SVXSTR_EVENT_KEYUP
311{
312	Text [ en-US ] = "Key released" ;
313};
314String RID_SVXSTR_EVENT_LOADED
315{
316	Text [ en-US ] = "When loading" ;
317};
318String RID_SVXSTR_EVENT_RELOADING
319{
320	Text [ en-US ] = "Before reloading" ;
321};
322String RID_SVXSTR_EVENT_RELOADED
323{
324	Text [ en-US ] = "When reloading" ;
325};
326String RID_SVXSTR_EVENT_MOUSEDRAGGED
327{
328	Text [ en-US ] = "Mouse moved while key pressed" ;
329};
330String RID_SVXSTR_EVENT_MOUSEENTERED
331{
332	Text [ en-US ] = "Mouse inside" ;
333};
334String RID_SVXSTR_EVENT_MOUSEEXITED
335{
336	Text [ en-US ] = "Mouse outside" ;
337};
338String RID_SVXSTR_EVENT_MOUSEMOVED
339{
340	Text [ en-US ] = "Mouse moved" ;
341};
342String RID_SVXSTR_EVENT_MOUSEPRESSED
343{
344	Text [ en-US ] = "Mouse button pressed" ;
345};
346String RID_SVXSTR_EVENT_MOUSERELEASED
347{
348	Text [ en-US ] = "Mouse button released" ;
349};
350String RID_SVXSTR_EVENT_POSITIONING
351{
352	Text [ en-US ] = "Before record change" ;
353};
354String RID_SVXSTR_EVENT_POSITIONED
355{
356	Text [ en-US ] = "After record change" ;
357};
358String RID_SVXSTR_EVENT_RESETTED
359{
360	Text [ en-US ] = "After resetting" ;
361};
362String RID_SVXSTR_EVENT_APPROVERESETTED
363{
364	Text [ en-US ] = "Prior to reset" ;
365};
366String RID_SVXSTR_EVENT_APPROVEACTIONPERFORMED
367{
368	Text [ en-US ] = "Approve action" ;
369};
370String RID_SVXSTR_EVENT_SUBMITTED
371{
372	Text [ en-US ] = "Before submitting" ;
373};
374String RID_SVXSTR_EVENT_TEXTCHANGED
375{
376	Text [ en-US ] = "Text modified" ;
377};
378String RID_SVXSTR_EVENT_UNLOADING
379{
380	Text [ en-US ] = "Before unloading" ;
381};
382String RID_SVXSTR_EVENT_UNLOADED
383{
384	Text [ en-US ] = "When unloading" ;
385};
386String RID_SVXSTR_EVENT_CHANGED
387{
388	Text [ en-US ] = "Changed" ;
389};
390
391String RID_SVXSTR_EVENT_CREATEDOC
392{
393    Text [ en-US ] = "Document created" ;
394};
395
396String RID_SVXSTR_EVENT_LOADDOCFINISHED
397{
398    Text [ en-US ] = "Document loading finished" ;
399};
400
401String RID_SVXSTR_EVENT_SAVEDOCFAILED
402{
403    Text [ en-US ] = "Saving of document failed" ;
404};
405
406String RID_SVXSTR_EVENT_SAVEASDOCFAILED
407{
408    Text [ en-US ] = "'Save as' has failed" ;
409};
410
411String RID_SVXSTR_EVENT_COPYTODOC
412{
413    Text [ en-US ] = "Storing or exporting copy of document" ;
414};
415
416String RID_SVXSTR_EVENT_COPYTODOCDONE
417{
418    Text [ en-US ] = "Document copy has been created" ;
419};
420
421String RID_SVXSTR_EVENT_COPYTODOCFAILED
422{
423    Text [ en-US ] = "Creating of document copy failed" ;
424};
425
426String RID_SVXSTR_EVENT_VIEWCREATED
427{
428    Text [ en-US ] = "View created" ;
429};
430
431String RID_SVXSTR_EVENT_PREPARECLOSEVIEW
432{
433    Text [ en-US ] = "View is going to be closed" ;
434};
435
436String RID_SVXSTR_EVENT_CLOSEVIEW
437{
438    Text [ en-US ] = "View closed" ;
439};
440
441String RID_SVXSTR_EVENT_TITLECHANGED
442{
443    Text [ en-US ] = "Document title changed" ;
444};
445
446String RID_SVXSTR_EVENT_MODECHANGED
447{
448    Text [ en-US ] = "Document mode changed" ;
449};
450
451String RID_SVXSTR_EVENT_VISAREACHANGED
452{
453    Text [ en-US ] = "Visible area changed" ;
454};
455
456String RID_SVXSTR_EVENT_STORAGECHANGED
457{
458    Text [ en-US ] = "Document has got a new storage" ;
459};
460
461String RID_SVXSTR_EVENT_LAYOUT_FINISHED
462{
463    Text [ en-US ] = "Document layout finished" ;
464};
465
466String RID_SVXSTR_EVENT_SELECTIONCHANGED
467{
468    Text [ en-US ] = "Selection changed" ;
469};
470
471String RID_SVXSTR_EVENT_DOUBLECLICK
472{
473    Text [ en-US ] = "Double click" ;
474};
475
476String RID_SVXSTR_EVENT_RIGHTCLICK
477{
478    Text [ en-US ] = "Right click" ;
479};
480
481String RID_SVXSTR_EVENT_CALCULATE
482{
483    Text [ en-US ] = "Formulas calculated" ;
484};
485
486String RID_SVXSTR_EVENT_CONTENTCHANGED
487{
488    Text [ en-US ] = "Content changed" ;
489};
490
491