xref: /aoo41x/main/sc/source/ui/drawfunc/drformsh.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#include "sc.hrc"
29#include "submenu.hrc"
30#include <svx/globlmn.hrc>
31 //
32 //	Defines -------------------------------------------------------------------------------
33 //
34#define MN_LAYER\
35    ToolBoxItem\
36    {\
37	    Identifier = SID_FRAME_TO_TOP ; \
38	    HelpID = CMD_SID_FRAME_TO_TOP ; \
39    };\
40    ToolBoxItem\
41    {\
42	    Identifier = SID_FRAME_TO_BOTTOM ; \
43	    HelpID = CMD_SID_FRAME_TO_BOTTOM ; \
44    };
45
46#define MN_RENAME_OBJECT \
47    MenuItem\
48    {\
49        Identifier = SID_RENAME_OBJECT ; \
50        HelpId = CMD_SID_RENAME_OBJECT ; \
51        Text [ en-US ] = "Name...";\
52    };
53
54// #i68101#
55#define MN_TITLE_DESCRIPTION_OBJECT \
56    MenuItem\
57    {\
58        Identifier = SID_TITLE_DESCRIPTION_OBJECT; \
59        HelpId = CMD_SID_TITLE_DESCRIPTION_OBJECT; \
60        Text [ en-US ] = "Description...";\
61    };
62
63#define MN_ARRANGESUB \
64    MenuItem\
65    {\
66        Identifier = SUBMENU_OBJARRANGE ; \
67        HelpID = HID_SCMENU_OBJARRANGE ; \
68        Text [ en-US ] = "~Arrange" ; \
69        SubMenu = Menu\
70        {\
71            ItemList = \
72            {\
73                MenuItem\
74                {\
75                    ITEM_FORMAT_FRAME_TO_TOP\
76                };\
77                MenuItem\
78                {\
79                    Identifier = SID_FRAME_UP ; \
80                    HelpId = CMD_SID_FRAME_UP ; \
81                    /* ### ACHTUNG: Neuer Text in Resource? W~eiter nach vorn : Weiter nach vorn */\
82                    Text [ en-US ] = "Bring ~Forward" ; \
83				};\
84                MenuItem\
85                {\
86                    Identifier = SID_FRAME_DOWN ; \
87                    HelpId = CMD_SID_FRAME_DOWN ; \
88                    /* ### ACHTUNG: Neuer Text in Resource? Weiter ~nach hinten : Weiter nach hinten */\
89                    Text [ en-US ] = "Send Back~ward" ; \
90				};\
91                MenuItem\
92                {\
93                    ITEM_FORMAT_FRAME_TO_BOTTOM\
94                };\
95                MenuItem { Separator = TRUE ; }; \
96                MenuItem\
97                {\
98                    ITEM_FORMAT_OBJECT_HEAVEN\
99                };\
100                MenuItem\
101                {\
102                    ITEM_FORMAT_OBJECT_HELL\
103                };\
104            };\
105        };\
106	};
107
108#define MN_ANCHORSUB \
109    MenuItem\
110    {\
111        Identifier = SUBMENU_ANCHOR ; \
112        HelpID = HID_SCMENU_ANCHOR ; \
113        Text [ en-US ] = "An~chor" ; \
114        SubMenu = Menu\
115        {\
116            ItemList = \
117            {\
118                MenuItem\
119                {\
120                    RadioCheck = TRUE ; \
121                    Identifier = SID_ANCHOR_PAGE ; \
122                    HelpId = CMD_SID_ANCHOR_PAGE ; \
123                    Text [ en-US ] = "To P~age" ; \
124				};\
125                MenuItem\
126                {\
127                    RadioCheck = TRUE ; \
128                    Identifier = SID_ANCHOR_CELL ; \
129                    HelpId = CMD_SID_ANCHOR_CELL ; \
130                    Text [ en-US ] = "To ~Cell" ; \
131				};\
132            };\
133        };\
134	};
135
136#define MN_ALIGNSUB	\
137    MenuItem\
138    {\
139        Identifier = SID_OBJECT_ALIGN ; \
140        HelpId = CMD_SID_OBJECT_ALIGN ; \
141        Text [ en-US ] = "A~lignment" ; \
142        SubMenu = Menu\
143        {\
144            ItemList = \
145            {\
146                MenuItem\
147                {\
148                    ITEM_FORMAT_OBJECT_ALIGN_LEFT\
149                };\
150                MenuItem\
151                {\
152                    ITEM_FORMAT_OBJECT_ALIGN_CENTER\
153                };\
154                MenuItem\
155                {\
156                    ITEM_FORMAT_OBJECT_ALIGN_RIGHT\
157                };\
158                MenuItem\
159                {\
160                    Separator = TRUE ; \
161                };\
162                MenuItem\
163                {\
164                    ITEM_FORMAT_OBJECT_ALIGN_UP\
165                };\
166                MenuItem\
167                {\
168                    ITEM_FORMAT_OBJECT_ALIGN_MIDDLE\
169                };\
170                MenuItem\
171                {\
172                    ITEM_FORMAT_OBJECT_ALIGN_DOWN\
173                };\
174            };\
175        };\
176	};
177
178
179 //	Popup-Menues ---------------------------------------------------------------------
180 //
181String RID_POPUP_DRAWFORM
182{
183	/* ### ACHTUNG: Neuer Text in Resource? Popup-Men� f�r Zeichenobjekte : Popup-Men� f�r Zeichenobjekte */
184	Text [ en-US ] = "Popup menu for form objects";
185};
186 //
187 //		Popup-Menue fuer (Uno-) Controls
188 //
189Menu RID_POPUP_DRAWFORM
190{
191	ItemList =
192	{
193		MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
194
195		//-#i68101#----------------------
196		MenuItem { Separator = TRUE ; };
197		MN_TITLE_DESCRIPTION_OBJECT
198        MN_RENAME_OBJECT
199		//-#i68101#----------------------
200
201		 //------------------------------
202		MenuItem { Separator = TRUE ; };
203		 //------------------------------
204		MenuItem { ITEM_FORM_CONTROL_PROPERTIES };
205		MenuItem { ITEM_FORM_PROPERTIES };
206		MenuItem { ITEM_REPLACE_CONTROL };
207		 //------------------------------
208		MenuItem { Separator = TRUE ; };
209		 //------------------------------
210		MN_ARRANGESUB
211		MN_ALIGNSUB
212		MN_ANCHORSUB
213		 //------------------------------
214		MenuItem { Separator = TRUE ; };
215		 //------------------------------
216		ITEM_GROUP_MENU
217	};
218};
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251