xref: /aoo41x/main/sd/source/ui/app/menuportal_tmpl.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#include "menuids.src"
28#include "menuids3.src"
29#include "menuids4.src"
30#ifndef SD_MENU_PORTAL
31#define SD_MENU_PORTAL RID_DRAW_PORTALMENU
32#include "menuids2.src"
33#endif
34
35#define DEFINE_SLOTID_FOR_NUMBER_BULLETS	SID_OUTLINE_BULLET
36
37Menu SD_MENU_PORTAL
38{
39	ItemList =
40	{
41		 //
42		 // Datei-Menu
43		 //
44		MenuItem
45		{
46			ITEM_FILE_PICKLIST
47			SubMenu = Menu
48			{
49				ItemList =
50				{
51					MN_NEWDOCDIRECT
52					MI ( ITEM_FILE_OPENDOC )
53                    ITEM_FILE_AUTOPILOT
54					SEPARATOR
55					MI ( ITEM_FILE_CLOSEDOC )
56					MI ( ITEM_FILE_SAVEDOC )
57					MI ( ITEM_FILE_SAVEASDOC )
58					MI ( ITEM_FILE_SAVEDOCS )
59					MI ( ITEM_FILE_LASTVERSIONDOC )
60					MI ( ITEM_FILE_VERSIONDIALOG )
61					SEPARATOR
62					MN_EXPORTDOC
63					MNSUB_SEND
64					SEPARATOR
65					MI ( ITEM_FILE_DOCINFO )
66					MI ( ITEM_FILE_DOCTEMPLATE )
67					SEPARATOR
68					MI ( ITEM_FILE_PRINTDOC )
69					MI ( ITEM_FILE_SETUPPRINTER )
70					SEPARATOR
71					MI ( ITEM_FILE_LOGOUT )
72				};
73			};
74		};
75		 //
76		 // Bearbeiten-Menu
77		 //
78		MenuItem
79		{
80			MN_EDIT
81			SubMenu = Menu
82			{
83				ItemList =
84				{
85					MI ( ITEM_EDIT_UNDO )
86					MI ( ITEM_EDIT_REDO )
87					MI ( ITEM_EDIT_REPEAT )
88					SEPARATOR
89					MI ( ITEM_EDIT_CUT )
90					MI ( ITEM_EDIT_COPY )
91					MI ( ITEM_EDIT_PASTE )
92					MN_PASTE2
93					MI ( ITEM_EDIT_SELECTALL )
94					SEPARATOR
95					MI ( ITEM_EDIT_SEARCH_DLG )
96					MI ( ITEM_EDIT_NAVIGATOR )
97					SEPARATOR
98					MN_COPYOBJECTS
99#if SD_MENU_PORTAL != RID_DRAW_PORTALMENU
100					MN_POLYGON_MORPHING
101#endif
102					MN_MODIFY_FIELD
103					MN_DELETE_PAGE
104#if SD_MENU_PORTAL != RID_DRAW_PORTALMENU
105					MN_DELETE_LAYER
106#endif
107					SEPARATOR
108					MN_MANAGE_LINKS
109					MI ( ITEM_EDIT_IMAP )
110					MI ( ITEM_EDIT_OBJECT )
111					MN_EDIT_HYPERLINK
112				};
113			};
114		};
115		 //
116		 // Ansicht-Menu
117		 //
118		MenuItem
119		{
120			MN_VIEW
121			SubMenu = Menu
122			{
123				ItemList =
124				{
125					MI ( ITEM_VIEW_ATTR_ZOOM )
126					SEPARATOR
127					 //MNSUB_TOOLBAR
128					MenuItem
129					{
130						Identifier = MN_SUB_TOOLBAR ;
131						HelpID = MN_SUB_TOOLBAR ;
132						Text [ en-US ] = "~Toolbars" ;
133						SubMenu = Menu
134						{
135							ItemList =
136							{
137								MI ( ITEM_VIEW_TOGGLEFUNCTIONBAR )
138								MI ( ITEM_VIEW_TOGGLEOBJECTBAR )
139								MN_TOGGLETOOLBAR
140								MI ( ITEM_INSERT_HYPERLINK_INSERT )
141								MN_TOGGLEOPTIONBAR
142#if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
143								MN_TOGGLECOMMONTASKBAR
144#endif
145								MI ( ITEM_VIEW_COLORBAR )
146								SEPARATOR
147								MN_CUSTOMIZETOOLBOX
148							};
149						};
150					};
151					MN_RULER
152					MI ( ITEM_VIEW_TOGGLESTATUSBAR )
153                    MI ( ITEM_VIEW_TOGGLEIMESTATUSWINDOW )
154					SEPARATOR
155#if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
156					MNSUB_VIEW
157#endif
158					MNSUB_OUTPUT_QUALITY
159#if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
160					SEPARATOR
161#endif
162					MN_PREVIEW_WIN
163					MNSUB_PREVIEW_OUTPUT_QUALITY
164					SEPARATOR
165					MN_PAGEMODE
166#if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
167					MNSUB_MASTERPAGE
168#endif
169					MN_LAYERMODE
170					SEPARATOR
171					ITEM_VIEW_SCREENMODE
172				};
173			};
174		};
175		 //
176		 // Einfuegen-Menu
177		 //
178		MenuItem
179		{
180			MN_INSERT
181			SubMenu = Menu
182			{
183				ItemList =
184				{
185#if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
186					MN_INSERTPAGE
187#else
188					MN_INSERTPAGE_DRAW
189#endif
190					MN_DUPLICATE_PAGE
191#if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
192					MN_EXPAND_PAGE
193					MN_SUMMARY_PAGE
194#endif
195#if SD_MENU_PORTAL != RID_DRAW_PORTALMENU
196					MN_INSERTLAYER
197					MN_CAPTUREPOINT
198#endif
199					MNSUB_FIELD
200					MN_BULLET
201					ITEM_HYPERLINK_DIALOG
202					SEPARATOR
203					MN_ATTR_TABLE
204					MNSUB_GRAPHIC_PORTAL
205					ITEM_INSERT_OBJECT_PORTAL
206					MN_INSERT_INSERT_DIAGRAM
207					MN_INSERT_FLOATINGFRAME
208					SEPARATOR
209					MN_INSERTFILE
210				};
211			};
212		};
213		 //
214		 // Format-Menu
215		 //
216		MenuItem
217		{
218			MN_FORMAT
219			SubMenu = Menu
220			{
221				ItemList =
222				{
223					MN_SET_DEFAULT
224					SEPARATOR
225					MI ( ITEM_FORMAT_ATTRIBUTES_LINE )
226					MI ( ITEM_FORMAT_ATTRIBUTES_AREA )
227					MN_TEXTATTR_DLG
228					MI ( ITEM_FORMAT_ATTR_TRANSFORM )
229					MI ( ITEM_FORM_CONTROL_PROPERTIES )
230					MI ( ITEM_FORM_PROPERTIES )
231#if SD_MENU_PORTAL != RID_DRAW_PORTALMENU
232					MN_MEASURE_DLG
233#endif
234					MN_CONNECTION_DLG
235					SEPARATOR
236					MI ( ITEM_FORMAT_CHAR_DLG )
237					ITEM_FORMAT_NUMBERING
238					MI ( ITEM_FORMAT_PARA_DLG )
239					MN_PAGESETUP
240					SEPARATOR
241#if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
242					MN_MODIFYPAGE
243#endif
244#if SD_MENU_PORTAL != RID_DRAW_PORTALMENU
245					MN_MODIFYLAYER
246#endif
247					SEPARATOR
248					MNSUB_TEMPLATES
249					MI ( ITEM_FORMAT_TEMPLATE )
250					SEPARATOR
251					MI ( ITEM_FORMAT_FONTWORK )
252					MN_3D_WIN
253#if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
254					MNSUB_GROUP
255#endif
256				};
257			};
258		};
259		 //
260		 // Extras-Menu
261		 //
262		MenuItem
263		{
264			MN_EXTRAS
265			SubMenu = Menu
266			{
267				ItemList =
268				{
269					MN_THESAURUS
270					MN_HYPHENATION
271					SEPARATOR
272					MN_AUTO_CORRECT_DLG
273					SEPARATOR
274					MN_GALLERY
275					MN_BMPMASK
276					SEPARATOR
277					MI ( ITEM_TOOLS_BASICCHOOSER )
278					MI ( ITEM_TOOLS_CONFIG )
279					ITEM_MN_OPTIONS
280				};
281			};
282		};
283#if SD_MENU_PORTAL != RID_DRAW_PORTALMENU
284		 //
285		 // Aendern-Menu
286		 //
287		MenuItem
288		{
289			MN_MODIFY
290			SubMenu = Menu
291			{
292				ItemList =
293				{
294					MNSUB_MIRROR
295					MNSUB_CONVERT
296					SEPARATOR
297					MNSUB_POSITION
298					MNSUB_OBJECT_ALIGN
299					MN_DISTRIBUTE
300
301					//-#i68101#----------------------
302					SEPARATOR
303					MN_OBJECT_TITLE_DESCRIPTION
304					MN_NAME_GROUP
305					//-#i68101#----------------------
306
307					SEPARATOR
308					MN_GROUP
309					MN_UNGROUP
310					MN_ENTER_GROUP
311					MN_LEAVE_GROUP
312					SEPARATOR
313					MN_COMBINE
314					MN_DISMANTLE
315					MNSUB_FORMEN
316					SEPARATOR
317					MN_CONNECT
318					MN_BREAK
319				};
320			};
321		};
322#endif
323#if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
324		 //
325		 // Praesentations-Menu
326		 //
327		MenuItem
328		{
329			MN_SLIDESHOW
330			SubMenu = Menu
331			{
332				ItemList =
333				{
334					MN_PRESENTATION
335					MN_REHEARSE_TIMINGS
336					SEPARATOR
337					MN_PRESENTATION_DLG
338					MN_CUSTOMSHOW_DLG
339					SEPARATOR
340					MN_DIA
341					MN_HIDE_SLIDE
342					SEPARATOR
343					MN_ANIMATION_OBJECTS
344//					MN_EFFECT_WIN
345					MN_ANIMATION_EFFECTS
346				};
347			};
348		};
349#endif
350		 //
351		 // Fenster-Menu
352		 //
353		ITEM_WINDOW_MENU
354
355		 //
356		 // Hilfe-Menu
357		 //
358		ITEM_HELP_MENU
359	};
360};
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388