1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
28 #include <sfx2/sfx.hrc>
29 #include "macropg.hrc"
32 #include <svx/dialogs.hrc>
34 #define MASKCOLOR MaskColor = \
35 Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
37 TabPage RID_SVXPAGE_MACROASSIGN
39 HelpID = "cui:TabPage:RID_SVXPAGE_MACROASSIGN" ;
43 Size = MAP_APPFONT ( WIDTH_TP , HEIGHT_TP ) ;
44 Text [ en-US ] = "Assign action" ;
47 Text [ en-US ] = "Event" ;
51 Text [ en-US ] = "Assigned Action" ;
57 Pos = MAP_APPFONT ( COL0 , ROW0 ) ;
58 Size = MAP_APPFONT ( WIDTH1_2 , HEIGHT0 ) ;
59 HelpID = HID_SVX_MACRO_LB_EVENT ;
63 Pos = MAP_APPFONT ( COL4 , ROW0 ) ;
64 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ;
65 Text [ en-US ] = "Assign:" ;
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..." ;
76 PushButton PB_ASSIGN_COMPONENT
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 ) ;
83 Text [ en-US ] = "Com~ponent..." ;
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" ;
96 ImageBitmap = Bitmap { File = "id018.png"; };
101 ImageBitmap = Bitmap { File = "component_16.png"; };
106 ImageBitmap = Bitmap { File = "idh018.png"; };
109 Image IMG_COMPONENT_H
111 ImageBitmap = Bitmap { File = "component_16_h.png"; };
116 ModalDialog RID_SVXDLG_ASSIGNCOMPONENT
118 HelpID = "cui:ModalDialog:RID_SVXDLG_ASSIGNCOMPONENT";
121 Size = MAP_APPFONT ( COMP_WIDTH , COMP_HEIGHT ) ;
124 Text [ en-US ] = "Assign Component";
127 Pos = MAP_APPFONT ( COMP_COL1 , COMP_ROW0 ) ;
128 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
132 CancelButton RID_PB_CANCEL
134 Pos = MAP_APPFONT ( COMP_COL1 , COMP_ROW1 ) ;
135 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
138 HelpButton RID_PB_HELP
140 Pos = MAP_APPFONT ( COMP_COL1 , COMP_ROW2 ) ;
141 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
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" ;
151 HelpID = "cui:Edit:RID_SVXDLG_ASSIGNCOMPONENT:EDIT_METHOD";
153 Pos = MAP_APPFONT ( COMP_COL0 , COMP_ROWEDIT ) ;
154 Size = MAP_APPFONT ( COMP_EDIT_WIDTH , RSC_CD_TEXTBOX_HEIGHT ) ;
161 String RID_SVXSTR_EVENT_STARTAPP
163 Text [ en-US ] = "Start Application" ;
166 String RID_SVXSTR_EVENT_CLOSEAPP
168 Text [ en-US ] = "Close Application" ;
171 String RID_SVXSTR_EVENT_NEWDOC
173 Text [ en-US ] = "New Document" ;
176 String RID_SVXSTR_EVENT_CLOSEDOC
178 Text [ en-US ] = "Document closed" ;
181 String RID_SVXSTR_EVENT_PREPARECLOSEDOC
183 Text [ en-US ] = "Document is going to be closed" ;
186 String RID_SVXSTR_EVENT_OPENDOC
188 Text [ en-US ] = "Open Document" ;
191 String RID_SVXSTR_EVENT_SAVEDOC
193 Text [ en-US ] = "Save Document" ;
196 String RID_SVXSTR_EVENT_SAVEASDOC
198 Text [ en-US ] = "Save Document As" ;
201 String RID_SVXSTR_EVENT_SAVEDOCDONE
203 Text [ en-US ] = "Document has been saved" ;
206 String RID_SVXSTR_EVENT_SAVEASDOCDONE
208 Text [ en-US ] = "Document has been saved as" ;
211 String RID_SVXSTR_EVENT_ACTIVATEDOC
213 Text [ en-US ] = "Activate Document" ;
216 String RID_SVXSTR_EVENT_DEACTIVATEDOC
218 Text [ en-US ] = "Deactivate Document" ;
221 String RID_SVXSTR_EVENT_PRINTDOC
223 Text [ en-US ] = "Print Document" ;
226 String RID_SVXSTR_EVENT_MODIFYCHANGED
228 Text [ en-US ] = "'Modified' status was changed" ;
230 String RID_SVXSTR_EVENT_MAILMERGE
232 Text [ en-US ] = "Printing of form letters started" ;
234 String RID_SVXSTR_EVENT_MAILMERGE_END
236 Text [ en-US ] = "Printing of form letters finished" ;
238 String RID_SVXSTR_EVENT_FIELDMERGE
240 Text [ en-US ] = "Merging of form fields started" ;
242 String RID_SVXSTR_EVENT_FIELDMERGE_FINISHED
244 Text [ en-US ] = "Merging of form fields finished" ;
246 String RID_SVXSTR_EVENT_PAGECOUNTCHANGE
248 Text [ en-US ] = "Changing the page count" ;
250 String RID_SVXSTR_EVENT_SUBCOMPONENT_OPENED
252 Text [ en-US ] = "Loaded a sub component" ;
254 String RID_SVXSTR_EVENT_SUBCOMPONENT_CLOSED
256 Text [ en-US ] = "Closed a sub component" ;
258 String RID_SVXSTR_EVENT_APPROVEPARAMETER
260 Text [ en-US ] = "Fill parameters" ;
262 String RID_SVXSTR_EVENT_ACTIONPERFORMED
264 Text [ en-US ] = "Execute action" ;
266 String RID_SVXSTR_EVENT_AFTERUPDATE
268 Text [ en-US ] = "After updating" ;
270 String RID_SVXSTR_EVENT_BEFOREUPDATE
272 Text [ en-US ] = "Before updating" ;
274 String RID_SVXSTR_EVENT_APPROVEROWCHANGE
276 Text [ en-US ] = "Before record action" ;
278 String RID_SVXSTR_EVENT_ROWCHANGE
280 Text [ en-US ] = "After record action" ;
282 String RID_SVXSTR_EVENT_CONFIRMDELETE
284 Text [ en-US ] = "Confirm deletion" ;
286 String RID_SVXSTR_EVENT_ERROROCCURED
288 Text [ en-US ] = "Error occurred" ;
290 String RID_SVXSTR_EVENT_ADJUSTMENTVALUECHANGED
292 Text [ en-US ] = "While adjusting";
294 String RID_SVXSTR_EVENT_FOCUSGAINED
296 Text [ en-US ] = "When receiving focus" ;
298 String RID_SVXSTR_EVENT_FOCUSLOST
300 Text [ en-US ] = "When losing focus" ;
302 String RID_SVXSTR_EVENT_ITEMSTATECHANGED
304 Text [ en-US ] = "Item status changed" ;
306 String RID_SVXSTR_EVENT_KEYTYPED
308 Text [ en-US ] = "Key pressed" ;
310 String RID_SVXSTR_EVENT_KEYUP
312 Text [ en-US ] = "Key released" ;
314 String RID_SVXSTR_EVENT_LOADED
316 Text [ en-US ] = "When loading" ;
318 String RID_SVXSTR_EVENT_RELOADING
320 Text [ en-US ] = "Before reloading" ;
322 String RID_SVXSTR_EVENT_RELOADED
324 Text [ en-US ] = "When reloading" ;
326 String RID_SVXSTR_EVENT_MOUSEDRAGGED
328 Text [ en-US ] = "Mouse moved while key pressed" ;
330 String RID_SVXSTR_EVENT_MOUSEENTERED
332 Text [ en-US ] = "Mouse inside" ;
334 String RID_SVXSTR_EVENT_MOUSEEXITED
336 Text [ en-US ] = "Mouse outside" ;
338 String RID_SVXSTR_EVENT_MOUSEMOVED
340 Text [ en-US ] = "Mouse moved" ;
342 String RID_SVXSTR_EVENT_MOUSEPRESSED
344 Text [ en-US ] = "Mouse button pressed" ;
346 String RID_SVXSTR_EVENT_MOUSERELEASED
348 Text [ en-US ] = "Mouse button released" ;
350 String RID_SVXSTR_EVENT_POSITIONING
352 Text [ en-US ] = "Before record change" ;
354 String RID_SVXSTR_EVENT_POSITIONED
356 Text [ en-US ] = "After record change" ;
358 String RID_SVXSTR_EVENT_RESETTED
360 Text [ en-US ] = "After resetting" ;
362 String RID_SVXSTR_EVENT_APPROVERESETTED
364 Text [ en-US ] = "Prior to reset" ;
366 String RID_SVXSTR_EVENT_APPROVEACTIONPERFORMED
368 Text [ en-US ] = "Approve action" ;
370 String RID_SVXSTR_EVENT_SUBMITTED
372 Text [ en-US ] = "Before submitting" ;
374 String RID_SVXSTR_EVENT_TEXTCHANGED
376 Text [ en-US ] = "Text modified" ;
378 String RID_SVXSTR_EVENT_UNLOADING
380 Text [ en-US ] = "Before unloading" ;
382 String RID_SVXSTR_EVENT_UNLOADED
384 Text [ en-US ] = "When unloading" ;
386 String RID_SVXSTR_EVENT_CHANGED
388 Text [ en-US ] = "Changed" ;
391 String RID_SVXSTR_EVENT_CREATEDOC
393 Text [ en-US ] = "Document created" ;
396 String RID_SVXSTR_EVENT_LOADDOCFINISHED
398 Text [ en-US ] = "Document loading finished" ;
401 String RID_SVXSTR_EVENT_SAVEDOCFAILED
403 Text [ en-US ] = "Saving of document failed" ;
406 String RID_SVXSTR_EVENT_SAVEASDOCFAILED
408 Text [ en-US ] = "'Save as' has failed" ;
411 String RID_SVXSTR_EVENT_COPYTODOC
413 Text [ en-US ] = "Storing or exporting copy of document" ;
416 String RID_SVXSTR_EVENT_COPYTODOCDONE
418 Text [ en-US ] = "Document copy has been created" ;
421 String RID_SVXSTR_EVENT_COPYTODOCFAILED
423 Text [ en-US ] = "Creating of document copy failed" ;
426 String RID_SVXSTR_EVENT_VIEWCREATED
428 Text [ en-US ] = "View created" ;
431 String RID_SVXSTR_EVENT_PREPARECLOSEVIEW
433 Text [ en-US ] = "View is going to be closed" ;
436 String RID_SVXSTR_EVENT_CLOSEVIEW
438 Text [ en-US ] = "View closed" ;
441 String RID_SVXSTR_EVENT_TITLECHANGED
443 Text [ en-US ] = "Document title changed" ;
446 String RID_SVXSTR_EVENT_MODECHANGED
448 Text [ en-US ] = "Document mode changed" ;
451 String RID_SVXSTR_EVENT_VISAREACHANGED
453 Text [ en-US ] = "Visible area changed" ;
456 String RID_SVXSTR_EVENT_STORAGECHANGED
458 Text [ en-US ] = "Document has got a new storage" ;
461 String RID_SVXSTR_EVENT_LAYOUT_FINISHED
463 Text [ en-US ] = "Document layout finished" ;
466 String RID_SVXSTR_EVENT_SELECTIONCHANGED
468 Text [ en-US ] = "Selection changed" ;
471 String RID_SVXSTR_EVENT_DOUBLECLICK
473 Text [ en-US ] = "Double click" ;
476 String RID_SVXSTR_EVENT_RIGHTCLICK
478 Text [ en-US ] = "Right click" ;
481 String RID_SVXSTR_EVENT_CALCULATE
483 Text [ en-US ] = "Formulas calculated" ;
486 String RID_SVXSTR_EVENT_CONTENTCHANGED
488 Text [ en-US ] = "Content changed" ;