merge the formfield patch from ooo-build
[ooovba.git] / sd / source / ui / app / menuportal_tmpl.src
blob2b1067b634cab1741c33dbda8a97091bfa535365
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: menuportal_tmpl.src,v $
10  * $Revision: 1.8 $
11  *
12  * This file is part of OpenOffice.org.
13  *
14  * OpenOffice.org is free software: you can redistribute it and/or modify
15  * it under the terms of the GNU Lesser General Public License version 3
16  * only, as published by the Free Software Foundation.
17  *
18  * OpenOffice.org is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU Lesser General Public License version 3 for more details
22  * (a copy is included in the LICENSE file that accompanied this code).
23  *
24  * You should have received a copy of the GNU Lesser General Public License
25  * version 3 along with OpenOffice.org.  If not, see
26  * <http://www.openoffice.org/license.html>
27  * for a copy of the LGPLv3 License.
28  *
29  ************************************************************************/
30 #include "menuids.src"
31 #include "menuids3.src"
32 #include "menuids4.src"
33 #ifndef SD_MENU_PORTAL
34 #define SD_MENU_PORTAL RID_DRAW_PORTALMENU
35 #include "menuids2.src"
36 #endif
38 #define DEFINE_SLOTID_FOR_NUMBER_BULLETS        SID_OUTLINE_BULLET
40 Menu SD_MENU_PORTAL
42     ItemList =
43     {
44          //
45          // Datei-Menu
46          //
47         MenuItem
48         {
49             ITEM_FILE_PICKLIST
50             SubMenu = Menu
51             {
52                 ItemList =
53                 {
54                     MN_NEWDOCDIRECT
55                     MI ( ITEM_FILE_OPENDOC )
56                     ITEM_FILE_AUTOPILOT
57                     SEPARATOR
58                     MI ( ITEM_FILE_CLOSEDOC )
59                     MI ( ITEM_FILE_SAVEDOC )
60                     MI ( ITEM_FILE_SAVEASDOC )
61                     MI ( ITEM_FILE_SAVEDOCS )
62                     MI ( ITEM_FILE_LASTVERSIONDOC )
63                     MI ( ITEM_FILE_VERSIONDIALOG )
64                     SEPARATOR
65                     MN_EXPORTDOC
66                     MNSUB_SEND
67                     SEPARATOR
68                     MI ( ITEM_FILE_DOCINFO )
69                     MI ( ITEM_FILE_DOCTEMPLATE )
70                     SEPARATOR
71                     MI ( ITEM_FILE_PRINTDOC )
72                     MI ( ITEM_FILE_SETUPPRINTER )
73                     SEPARATOR
74                     MI ( ITEM_FILE_BACKTOWEBTOP )
75                     MI ( ITEM_FILE_LOGOUT )
76                 };
77             };
78         };
79          //
80          // Bearbeiten-Menu
81          //
82         MenuItem
83         {
84             MN_EDIT
85             SubMenu = Menu
86             {
87                 ItemList =
88                 {
89                     MI ( ITEM_EDIT_UNDO )
90                     MI ( ITEM_EDIT_REDO )
91                     MI ( ITEM_EDIT_REPEAT )
92                     SEPARATOR
93                     MI ( ITEM_EDIT_CUT )
94                     MI ( ITEM_EDIT_COPY )
95                     MI ( ITEM_EDIT_PASTE )
96                     MN_PASTE2
97                     MI ( ITEM_EDIT_SELECTALL )
98                     SEPARATOR
99                     MI ( ITEM_EDIT_SEARCH_DLG )
100                     MI ( ITEM_EDIT_NAVIGATOR )
101                     SEPARATOR
102                     MN_COPYOBJECTS
103 #if SD_MENU_PORTAL != RID_DRAW_PORTALMENU
104                     MN_POLYGON_MORPHING
105 #endif
106                     MN_MODIFY_FIELD
107                     MN_DELETE_PAGE
108 #if SD_MENU_PORTAL != RID_DRAW_PORTALMENU
109                     MN_DELETE_LAYER
110 #endif
111                     SEPARATOR
112                     MN_MANAGE_LINKS
113                     MI ( ITEM_EDIT_IMAP )
114                     MI ( ITEM_EDIT_OBJECT )
115                     MN_EDIT_HYPERLINK
116                 };
117             };
118         };
119          //
120          // Ansicht-Menu
121          //
122         MenuItem
123         {
124             MN_VIEW
125             SubMenu = Menu
126             {
127                 ItemList =
128                 {
129                     MI ( ITEM_VIEW_ATTR_ZOOM )
130                     SEPARATOR
131                      //MNSUB_TOOLBAR
132                     MenuItem
133                     {
134                         Identifier = MN_SUB_TOOLBAR ;
135                         HelpID = MN_SUB_TOOLBAR ;
136                         Text [ en-US ] = "~Toolbars" ;
137                         SubMenu = Menu
138                         {
139                             ItemList =
140                             {
141                                 MI ( ITEM_VIEW_TOGGLEFUNCTIONBAR )
142                                 MI ( ITEM_VIEW_TOGGLEOBJECTBAR )
143                                 MN_TOGGLETOOLBAR
144                                 MI ( ITEM_INSERT_HYPERLINK_INSERT )
145                                 MN_TOGGLEOPTIONBAR
146 #if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
147                                 MN_TOGGLECOMMONTASKBAR
148 #endif
149                                 MI ( ITEM_VIEW_COLORBAR )
150                                 SEPARATOR
151                                 MN_CUSTOMIZETOOLBOX
152                             };
153                         };
154                     };
155                     MN_RULER
156                     MI ( ITEM_VIEW_TOGGLESTATUSBAR )
157                     MI ( ITEM_VIEW_TOGGLEIMESTATUSWINDOW )
158                     SEPARATOR
159 #if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
160                     MNSUB_VIEW
161 #endif
162                     MNSUB_OUTPUT_QUALITY
163 #if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
164                     SEPARATOR
165 #endif
166                     MN_PREVIEW_WIN
167                     MNSUB_PREVIEW_OUTPUT_QUALITY
168                     SEPARATOR
169                     MN_PAGEMODE
170 #if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
171                     MNSUB_MASTERPAGE
172 #endif
173                     MN_LAYERMODE
174                     SEPARATOR
175                     ITEM_VIEW_SCREENMODE
176                 };
177             };
178         };
179          //
180          // Einfuegen-Menu
181          //
182         MenuItem
183         {
184             MN_INSERT
185             SubMenu = Menu
186             {
187                 ItemList =
188                 {
189 #if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
190                     MN_INSERTPAGE
191 #else
192                     MN_INSERTPAGE_DRAW
193 #endif
194                     MN_DUPLICATE_PAGE
195 #if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
196                     MN_EXPAND_PAGE
197                     MN_SUMMARY_PAGE
198 #endif
199 #if SD_MENU_PORTAL != RID_DRAW_PORTALMENU
200                     MN_INSERTLAYER
201                     MN_CAPTUREPOINT
202 #endif
203                     MNSUB_FIELD
204                     MN_BULLET
205                     ITEM_HYPERLINK_DIALOG
206                     SEPARATOR
207                     MN_ATTR_TABLE
208                     MNSUB_GRAPHIC_PORTAL
209                     ITEM_INSERT_OBJECT_PORTAL
210                     MN_INSERT_INSERT_DIAGRAM
211                     MN_INSERT_FLOATINGFRAME
212                     SEPARATOR
213                     MN_INSERTFILE
214                 };
215             };
216         };
217          //
218          // Format-Menu
219          //
220         MenuItem
221         {
222             MN_FORMAT
223             SubMenu = Menu
224             {
225                 ItemList =
226                 {
227                     MN_SET_DEFAULT
228                     SEPARATOR
229                     MI ( ITEM_FORMAT_ATTRIBUTES_LINE )
230                     MI ( ITEM_FORMAT_ATTRIBUTES_AREA )
231                     MN_TEXTATTR_DLG
232                     MI ( ITEM_FORMAT_ATTR_TRANSFORM )
233                     MI ( ITEM_FORM_CONTROL_PROPERTIES )
234                     MI ( ITEM_FORM_PROPERTIES )
235 #if SD_MENU_PORTAL != RID_DRAW_PORTALMENU
236                     MN_MEASURE_DLG
237 #endif
238                     MN_CONNECTION_DLG
239                     SEPARATOR
240                     MI ( ITEM_FORMAT_CHAR_DLG )
241                     ITEM_FORMAT_NUMBERING
242                     MI ( ITEM_FORMAT_PARA_DLG )
243                     MN_PAGESETUP
244                     SEPARATOR
245 #if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
246                     MN_MODIFYPAGE
247 #endif
248 #if SD_MENU_PORTAL != RID_DRAW_PORTALMENU
249                     MN_MODIFYLAYER
250 #endif
251                     SEPARATOR
252                     MNSUB_TEMPLATES
253                     MI ( ITEM_FORMAT_TEMPLATE )
254                     SEPARATOR
255                     MI ( ITEM_FORMAT_FONTWORK )
256                     MN_3D_WIN
257 #if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
258                     MNSUB_GROUP
259 #endif
260                 };
261             };
262         };
263          //
264          // Extras-Menu
265          //
266         MenuItem
267         {
268             MN_EXTRAS
269             SubMenu = Menu
270             {
271                 ItemList =
272                 {
273                     MN_THESAURUS
274                     MN_HYPHENATION
275                     SEPARATOR
276                     MN_AUTO_CORRECT_DLG
277                     SEPARATOR
278                     MN_GALLERY
279                     MN_BMPMASK
280                     SEPARATOR
281                     MI ( ITEM_TOOLS_BASICCHOOSER )
282                     MI ( ITEM_TOOLS_CONFIG )
283                     ITEM_MN_OPTIONS
284                 };
285             };
286         };
287 #if SD_MENU_PORTAL != RID_DRAW_PORTALMENU
288          //
289          // Aendern-Menu
290          //
291         MenuItem
292         {
293             MN_MODIFY
294             SubMenu = Menu
295             {
296                 ItemList =
297                 {
298                     MNSUB_MIRROR
299                     MNSUB_CONVERT
300                     SEPARATOR
301                     MNSUB_POSITION
302                     MNSUB_OBJECT_ALIGN
303                     MN_DISTRIBUTE
304             
305                     //-#i68101#----------------------
306                     SEPARATOR
307                     MN_OBJECT_TITLE_DESCRIPTION
308                     MN_NAME_GROUP
309                     //-#i68101#----------------------
310                     
311                     SEPARATOR
312                     MN_GROUP
313                     MN_UNGROUP
314                     MN_ENTER_GROUP
315                     MN_LEAVE_GROUP
316                     SEPARATOR
317                     MN_COMBINE
318                     MN_DISMANTLE
319                     MNSUB_FORMEN
320                     SEPARATOR
321                     MN_CONNECT
322                     MN_BREAK
323                 };
324             };
325         };
326 #endif
327 #if SD_MENU_PORTAL == RID_DRAW_PORTALMENU
328          //
329          // Praesentations-Menu
330          //
331         MenuItem
332         {
333             MN_SLIDESHOW
334             SubMenu = Menu
335             {
336                 ItemList =
337                 {
338                     MN_PRESENTATION
339                     MN_REHEARSE_TIMINGS
340                     SEPARATOR
341                     MN_PRESENTATION_DLG
342                     MN_CUSTOMSHOW_DLG
343                     SEPARATOR
344                     MN_DIA
345                     MN_HIDE_SLIDE
346                     SEPARATOR
347                     MN_ANIMATION_OBJECTS
348 //                                      MN_EFFECT_WIN
349                     MN_ANIMATION_EFFECTS
350                 };
351             };
352         };
353 #endif
354          //
355          // Fenster-Menu
356          //
357         ITEM_WINDOW_MENU
359          //
360          // Hilfe-Menu
361          //
362         ITEM_HELP_MENU
363     };