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