xref: /aoo42x/main/sd/source/ui/app/popup.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 // TEXTOBJ
29 // Impress:
30#include "popup2.src"
31 // Draw (Graphic):
32#undef SD_POPUP
33#define SD_POPUP RID_GRAPHIC_TEXTOBJ_POPUP
34#include "popup2.src"
35#ifndef _GLOBLMN_HRC
36#include <svx/globlmn.hrc>
37#endif
38#include "helpids.h"
39
40#define DEFINE_SLOTID_FOR_NUMBER_BULLETS	SID_OUTLINE_BULLET
41
42Menu RID_DRAW_TEXTOBJ_INSIDE_POPUP
43{
44	ItemList =
45	{
46		MN_SET_DEFAULT
47		SEPARATOR
48		MN_TEXTATTR
49		SEPARATOR
50		MN_TEXT_ATTR
51		MN_TEXT_ALIGN
52		MN_LINESPACING_ATTR
53		SEPARATOR
54		MN_CHAR_PARAGRAPH
55		SEPARATOR
56		MenuItem
57		{
58			ITEM_OPEN_HYPERLINK
59		};
60		SEPARATOR
61		MN_BULLET
62		ITEM_FORMAT_NUMBERING
63		ITEM_TRANSLITERATE_MENU
64		SEPARATOR
65		MN_STYLEDT
66	};
67};
68
69Menu RID_DRAW_TABLEOBJ_INSIDE_POPUP
70{
71	ItemList =
72	{
73		MN_SET_DEFAULT
74		SEPARATOR
75		MN_TEXTATTR
76		SEPARATOR
77		MN_TEXT_ATTR
78		MN_TEXT_ALIGN
79		MN_LINESPACING_ATTR
80		SEPARATOR
81		MN_CHAR_PARAGRAPH
82		SEPARATOR
83		MenuItem
84		{
85			Identifier = SID_FORMAT_TABLE_DLG;
86			HelpId = CMD_SID_FORMAT_TABLE_DLG;
87			Text [ en-US ] = "~Table...";
88		};
89		MenuItem
90		{
91			Identifier = DUMMY + 10 ;
92			Command = ".uno:CellMenu" ;
93			Text [ en-US ] = "~Cell" ;
94			SubMenu = Menu
95			{
96				ItemList =
97				{
98					MenuItem
99					{
100						Identifier = SID_TABLE_MERGE_CELLS;
101						HelpId = CMD_SID_TABLE_MERGE_CELLS;
102						Text [ en-US ] = "~Merge";
103					};
104					MenuItem
105					{
106						Identifier = SID_TABLE_SPLIT_CELLS;
107						HelpId = CMD_SID_TABLE_SPLIT_CELLS;
108						Text [ en-US ] = "~Split...";
109					};
110					SEPARATOR
111					MenuItem
112					{
113						Identifier = SID_TABLE_VERT_NONE;
114						HelpId = CMD_SID_TABLE_VERT_NONE;
115						Text [ en-US ] = "~Top";
116					};
117					MenuItem
118					{
119						Identifier = SID_TABLE_VERT_CENTER;
120						HelpId = CMD_SID_TABLE_VERT_CENTER;
121						Text [ en-US ] = "C~enter";
122					};
123					MenuItem
124					{
125						Identifier = SID_TABLE_VERT_BOTTOM;
126						HelpId = CMD_SID_TABLE_VERT_BOTTOM;
127						Text [ en-US ] = "~Bottom";
128					};
129				};
130			};
131		};
132		MenuItem
133		{
134			Identifier = DUMMY + 11 ;
135			Command = ".uno:RowMenu" ;
136			Text [ en-US ] = "~Row" ;
137			SubMenu = Menu
138			{
139				ItemList =
140				{
141					MenuItem
142					{
143						Identifier = SID_TABLE_DISTRIBUTE_ROWS;
144						HelpId = CMD_SID_TABLE_DISTRIBUTE_ROWS;
145						Text [ en-US ] = "Space ~Equally";
146					};
147					SEPARATOR
148					MenuItem
149					{
150						Identifier = SID_TABLE_SELECT_ROW;
151						HelpId = CMD_SID_TABLE_SELECT_ROW;
152						Text [ en-US ] = "~Select";
153					};
154					MenuItem
155					{
156						Identifier = SID_TABLE_INSERT_ROW_DLG;
157						HelpId = CMD_SID_TABLE_INSERT_ROW_DLG;
158						Text [ en-US ] = "~Insert...";
159					};
160					MenuItem
161					{
162						Identifier = SID_TABLE_DELETE_ROW;
163						HelpId = CMD_SID_TABLE_DELETE_ROW;
164						Text [ en-US ] = "~Delete";
165					};
166				};
167			};
168		};
169		MenuItem
170		{
171			Identifier = DUMMY + 12 ;
172			Command = ".uno:ColumnMenu" ;
173			Text [ en-US ] = "Colu~mn" ;
174			SubMenu = Menu
175			{
176				ItemList =
177				{
178					MenuItem
179					{
180						Identifier = SID_TABLE_DISTRIBUTE_COLUMNS;
181						HelpId = CMD_SID_TABLE_DISTRIBUTE_COLUMNS;
182						Text [ en-US ] = "Space ~Equally";
183					};
184					SEPARATOR
185					MenuItem
186					{
187						Identifier = SID_TABLE_SELECT_COL;
188						HelpId = CMD_SID_TABLE_SELECT_COL;
189						Text [ en-US ] = "~Select";
190					};
191					MenuItem
192					{
193						Identifier = SID_TABLE_INSERT_COL_DLG;
194						HelpId = CMD_SID_TABLE_INSERT_COL_DLG;
195						Text [ en-US ] = "~Insert...";
196					};
197					MenuItem
198					{
199						Identifier = SID_TABLE_DELETE_COL;
200						HelpId = CMD_SID_TABLE_DELETE_COL;
201						Text [ en-US ] = "~Delete";
202					};
203				};
204			};
205		};
206		SEPARATOR
207		MenuItem
208		{
209			ITEM_OPEN_HYPERLINK
210		};
211		SEPARATOR
212		MN_BULLET
213		ITEM_FORMAT_NUMBERING
214		ITEM_TRANSLITERATE_MENU
215		SEPARATOR
216		MN_STYLEDT
217	};
218};
219
220Menu RID_DRAW_CONTROL_POPUP
221{
222	ItemList =
223	{
224		MN_TRANSFORM
225		MN_CONTROL_SHOW_BROWSER
226		SEPARATOR
227		MN_POSITION
228		MN_OBJECT_ALIGN
229		SEPARATOR
230		MN_LEAVE_GROUP
231		MN_DISMANTLE
232	};
233};
234Menu RID_FORM_CONTROL_POPUP
235{
236	ItemList =
237	{
238		MN_TRANSFORM
239		MenuItem { ITEM_FORM_CONTROL_PROPERTIES };
240		MenuItem { ITEM_FORM_PROPERTIES };
241		MenuItem { ITEM_REPLACE_CONTROL };
242		SEPARATOR
243		MN_POSITION
244		MN_OBJECT_ALIGN
245		SEPARATOR
246		MN_LEAVE_GROUP
247		MN_DISMANTLE
248
249		//-#i68101#----------------------
250		SEPARATOR
251		MN_OBJECT_TITLE_DESCRIPTION
252		MN_NAME_GROUP
253		//-#i68101#----------------------
254	};
255};
256
257
258
259Menu RID_DRAW_SNAPOBJECT_POPUP
260{
261	ItemList =
262	{
263		MN_SET_SNAPITEM
264		SEPARATOR
265		MN_DELETE_SNAPITEM
266	};
267};
268
269
270Menu RID_DRAW_GLUEPOINT_POPUP
271{
272	ItemList =
273	{
274		MN_GLUE_INSERT_POINT
275		SEPARATOR
276		MN_GLUE_ESC_DIR_LEFT
277		MN_GLUE_ESC_DIR_TOP
278		MN_GLUE_ESC_DIR_RIGHT
279		MN_GLUE_ESC_DIR_BOTTOM
280		SEPARATOR
281		MN_GLUE_PERCENT
282		SEPARATOR
283		MN_GLUE_HORZALIGN_LEFT
284		MN_GLUE_HORZALIGN_CENTER
285		MN_GLUE_HORZALIGN_RIGHT
286		SEPARATOR
287		MN_GLUE_VERTALIGN_TOP
288		MN_GLUE_VERTALIGN_CENTER
289		MN_GLUE_VERTALIGN_BOTTOM
290	};
291};
292
293
294Menu RID_SLIDE_SORTER_IMPRESS_SEL_POPUP
295{
296	ItemList =
297	{
298		MN_INSERT_SLIDE
299		MN_DELETE_SLIDE
300		MN_RENAME_SLIDE
301		SEPARATOR
302        MN_PRESENTATION_LAYOUT
303		MN_MODIFY_PAGE
304		SEPARATOR
305		MN_DIA
306		MN_SHOW_SLIDE
307		MN_HIDE_SLIDE
308	};
309};
310
311
312Menu RID_SLIDE_SORTER_IMPRESS_NOSEL_POPUP
313{
314	ItemList =
315	{
316		MN_INSERT_SLIDE
317	};
318};
319
320Menu RID_SLIDE_SORTER_DRAW_SEL_POPUP
321{
322	ItemList =
323	{
324		MN_INSERT_PAGE
325		MN_DELETE_PAGE
326		MN_RENAME_PAGE
327	};
328};
329
330
331Menu RID_SLIDE_SORTER_DRAW_NOSEL_POPUP
332{
333	ItemList =
334	{
335		MN_INSERT_PAGE
336	};
337};
338
339Menu RID_SLIDE_SORTER_MASTER_SEL_POPUP
340{
341	ItemList =
342	{
343		MN_INSERT_MASTER
344		MN_DELETE_MASTER
345		MN_RENAME_MASTER
346		SEPARATOR
347        MN_PRESENTATION_LAYOUT
348	};
349};
350
351
352Menu RID_SLIDE_SORTER_MASTER_NOSEL_POPUP
353{
354	ItemList =
355	{
356        MN_INSERT_MASTER
357    };
358};
359
360Menu RID_MASTERPAGE_POPUP
361{
362	ItemList =
363	{
364		MN_SET_DEFAULT
365		SEPARATOR
366		MN_LINE
367		MN_AREA
368		MN_TRANSFORM
369		SEPARATOR
370		MN_CHAR_PARAGRAPH
371		 //	MN_PRESENTATIONOBJECT
372		SEPARATOR
373		MN_POSITION
374	};
375};
376
377
378Menu RID_OUTLINE_POPUP
379{
380	ItemList =
381	{
382		MN_SET_DEFAULT
383		SEPARATOR
384		MN_TEXT_ATTR
385		SEPARATOR
386		MN_CHAR
387		ITEM_FORMAT_NUMBERING
388		ITEM_TRANSLITERATE_MENU
389		MN_PRESENTATIONOBJECT
390		SEPARATOR
391		MN_DRAWINGMODE
392		MN_DIAMODE
393		MN_PRESENTATION
394	};
395};
396
397/*
398RID_MASTERPAGE_POPUP
399*/
400
401Menu RID_BEZIER_POPUP
402{
403	ItemList =
404	{
405		MN_BEZIER
406	};
407};
408
409
410Menu RID_DRAW_BMP_CONVERT_POPUP
411{
412	ItemList =
413	{
414		MN_CONVERT_TO_1BIT_THRESHOLD
415		MN_CONVERT_TO_1BIT_MATRIX
416		MN_CONVERT_TO_4BIT_GRAYS
417		MN_CONVERT_TO_4BIT_COLORS
418		MN_CONVERT_TO_8BIT_GRAYS
419		MN_CONVERT_TO_8BIT_COLORS
420		MN_CONVERT_TO_24BIT
421	};
422};
423
424
425Menu RID_LAYERTAB_POPUP
426{
427	ItemList =
428	{
429		MenuItem
430		{
431			Identifier = SID_INSERTLAYER ;
432			HelpId = CMD_SID_INSERTLAYER ;
433			/* ### ACHTUNG: Neuer Text in Resource? ~Ebene einf�gen... : ~Ebene einf�gen... */
434			Text [ en-US ] = "~Insert Layer..." ;
435		};
436		MenuItem
437		{
438			Identifier = SID_MODIFYLAYER ;
439			HelpId = CMD_SID_MODIFYLAYER ;
440			/* ### ACHTUNG: Neuer Text in Resource? E~bene �ndern... : E~bene �ndern... */
441			Text [ en-US ] = "Modify La~yer..." ;
442		};
443		MenuItem
444		{
445			Identifier = SID_DELETE_LAYER ;
446			HelpId = CMD_SID_DELETE_LAYER ;
447			/* ### ACHTUNG: Neuer Text in Resource? Ebe~ne l�schen... : Ebe~ne l�schen... */
448			Text [ en-US ] = "Delete ~Layer..." ;
449		};
450		MN_RENAME_LAYER
451	};
452};
453
454Menu RID_TASKPANE_MASTERPAGESSELECTOR_POPUP
455{
456	ItemList =
457	{
458		MenuItem
459		{
460			Identifier = SID_TP_APPLY_TO_ALL_SLIDES;
461			HelpId = CMD_SID_TP_APPLY_TO_ALL_SLIDES;
462			Text [ en-US ] = "~Apply to All Slides";
463        };
464		MenuItem
465		{
466			Identifier = SID_TP_APPLY_TO_SELECTED_SLIDES;
467			HelpId = CMD_SID_TP_APPLY_TO_SELECTED_SLIDES;
468			Text [ en-US ] = "Apply to ~Selected Slides";
469        };
470
471		SEPARATOR
472
473		MenuItem
474		{
475			Identifier = SID_TP_SHOW_LARGE_PREVIEW;
476			HelpId = CMD_SID_TP_SHOW_LARGE_PREVIEW;
477            Text[ en-US ] = "Show ~Large Preview";
478        };
479        MenuItem
480        {
481            Identifier = SID_TP_SHOW_SMALL_PREVIEW;
482            HelpId = CMD_SID_TP_SHOW_SMALL_PREVIEW;
483            Text[ en-US ] = "Show S~mall Preview";
484        };
485	};
486};
487
488Menu RID_TASKPANE_CURRENT_MASTERPAGESSELECTOR_POPUP
489{
490	ItemList =
491	{
492		MenuItem
493		{
494			Identifier = SID_TP_APPLY_TO_ALL_SLIDES;
495			HelpId = CMD_SID_TP_APPLY_TO_ALL_SLIDES;
496			Text [ en-US ] = "~Apply to All Slides";
497        };
498		MenuItem
499		{
500			Identifier = SID_TP_APPLY_TO_SELECTED_SLIDES;
501			HelpId = CMD_SID_TP_APPLY_TO_SELECTED_SLIDES;
502			Text [ en-US ] = "Apply to ~Selected Slides";
503        };
504
505
506		SEPARATOR
507
508        MenuItem
509        {
510            Identifier = SID_TP_EDIT_MASTER;
511            HelpId = CMD_SID_TP_EDIT_MASTER;
512            Text[ en-US ] = "~Edit Master...";
513        };
514
515		MN_DELETE_MASTER
516
517		SEPARATOR
518
519		MenuItem
520		{
521			Identifier = SID_TP_SHOW_LARGE_PREVIEW;
522			HelpId = CMD_SID_TP_SHOW_LARGE_PREVIEW;
523            Text[ en-US ] = "Show ~Large Preview";
524        };
525        MenuItem
526        {
527            Identifier = SID_TP_SHOW_SMALL_PREVIEW;
528            HelpId = CMD_SID_TP_SHOW_SMALL_PREVIEW;
529            Text[ en-US ] = "Show S~mall Preview";
530        };
531	};
532};
533
534Menu RID_TASKPANE_LAYOUTMENU_POPUP
535{
536	ItemList =
537	{
538		MenuItem
539		{
540			Identifier = SID_TP_APPLY_TO_SELECTED_SLIDES;
541			HelpId = CMD_SID_TP_APPLY_TO_SELECTED_SLIDES;
542			Text [ en-US ] = "Apply to ~Selected Slides";
543        };
544
545		SEPARATOR
546
547		MenuItem
548		{
549			Identifier = SID_INSERTPAGE_LAYOUT_MENU;
550			HelpId = CMD_SID_INSERTPAGE_LAYOUT_MENU;
551            Text [ en-US ] = "~Insert Slide";
552        };
553	};
554};
555