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