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