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