xref: /aoo42x/main/sc/source/ui/drawfunc/objdraw.src (revision 82177cdb)
1*82177cdbSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*82177cdbSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*82177cdbSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*82177cdbSAndrew Rist * distributed with this work for additional information
6*82177cdbSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*82177cdbSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*82177cdbSAndrew Rist * "License"); you may not use this file except in compliance
9*82177cdbSAndrew Rist * with the License.  You may obtain a copy of the License at
10*82177cdbSAndrew Rist *
11*82177cdbSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*82177cdbSAndrew Rist *
13*82177cdbSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*82177cdbSAndrew Rist * software distributed under the License is distributed on an
15*82177cdbSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*82177cdbSAndrew Rist * KIND, either express or implied.  See the License for the
17*82177cdbSAndrew Rist * specific language governing permissions and limitations
18*82177cdbSAndrew Rist * under the License.
19*82177cdbSAndrew Rist *
20*82177cdbSAndrew Rist *************************************************************/
21*82177cdbSAndrew Rist
22*82177cdbSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "sc.hrc"
25cdf0e10cSrcweir#include "submenu.hrc"
26cdf0e10cSrcweir#include <svx/globlmn.hrc>
27cdf0e10cSrcweir //
28cdf0e10cSrcweir //	Defines -------------------------------------------------------------------------------
29cdf0e10cSrcweir //
30cdf0e10cSrcweir#define MN_RESET\
31cdf0e10cSrcweir    MenuItem\
32cdf0e10cSrcweir    {\
33cdf0e10cSrcweir        Identifier = SID_TEXT_STANDARD ; \
34cdf0e10cSrcweir        HelpID = CMD_SID_TEXT_STANDARD ; \
35cdf0e10cSrcweir        Text [ en-US ] = "~Default" ; \
36cdf0e10cSrcweir		Text [ x-comment ] = " ";\
37cdf0e10cSrcweir	};
38cdf0e10cSrcweir
39cdf0e10cSrcweir //	Font (SID_ATTR_CHAR_FONT) und Groesse (SID_ATTR_CHAR_FONTHEIGHT) duerfen nicht im
40cdf0e10cSrcweir //	Formatmenue auftauchen, weil die Controller im ExeEnv sonst im Container angelegt werden
41cdf0e10cSrcweir#define MN_TEXT_ATTR\
42cdf0e10cSrcweir    MenuItem\
43cdf0e10cSrcweir    {\
44cdf0e10cSrcweir        Identifier = RID_MN_FORMAT_STYLE ; \
45cdf0e10cSrcweir        HelpID = HID_MN_FORMAT_STYLE ; \
46cdf0e10cSrcweir        Text [ en-US ] = "~Style" ; \
47cdf0e10cSrcweir        SubMenu = Menu\
48cdf0e10cSrcweir        {\
49cdf0e10cSrcweir            ItemList = \
50cdf0e10cSrcweir            {\
51cdf0e10cSrcweir                MenuItem\
52cdf0e10cSrcweir                {\
53cdf0e10cSrcweir                    ITEM_FORMAT_ATTR_CHAR_WEIGHT\
54cdf0e10cSrcweir                };\
55cdf0e10cSrcweir                MenuItem\
56cdf0e10cSrcweir                {\
57cdf0e10cSrcweir                    ITEM_FORMAT_ATTR_CHAR_POSTURE\
58cdf0e10cSrcweir                };\
59cdf0e10cSrcweir                MenuItem\
60cdf0e10cSrcweir                {\
61cdf0e10cSrcweir                    ITEM_FORMAT_ATTR_CHAR_OVERLINE\
62cdf0e10cSrcweir                };\
63cdf0e10cSrcweir                MenuItem\
64cdf0e10cSrcweir                {\
65cdf0e10cSrcweir                    ITEM_FORMAT_ATTR_CHAR_UNDERLINE\
66cdf0e10cSrcweir                };\
67cdf0e10cSrcweir                MenuItem\
68cdf0e10cSrcweir                {\
69cdf0e10cSrcweir                    ITEM_FORMAT_ATTR_CHAR_STRIKEOUT\
70cdf0e10cSrcweir                };\
71cdf0e10cSrcweir                MenuItem\
72cdf0e10cSrcweir                {\
73cdf0e10cSrcweir                    ITEM_FORMAT_ATTR_CHAR_SHADOWED\
74cdf0e10cSrcweir                };\
75cdf0e10cSrcweir                MenuItem\
76cdf0e10cSrcweir                {\
77cdf0e10cSrcweir                    ITEM_FORMAT_ATTR_CHAR_CONTOUR\
78cdf0e10cSrcweir                };\
79cdf0e10cSrcweir                MenuItem\
80cdf0e10cSrcweir                {\
81cdf0e10cSrcweir                    Separator = TRUE ; \
82cdf0e10cSrcweir                };\
83cdf0e10cSrcweir                MenuItem\
84cdf0e10cSrcweir                {\
85cdf0e10cSrcweir                    Identifier = SID_SET_SUPER_SCRIPT ; \
86cdf0e10cSrcweir                    HelpID = CMD_SID_SET_SUPER_SCRIPT ; \
87cdf0e10cSrcweir                    Text [ en-US ] = "~Superscript" ; \
88cdf0e10cSrcweir					Text [ x-comment ] = " ";\
89cdf0e10cSrcweir				};\
90cdf0e10cSrcweir                MenuItem\
91cdf0e10cSrcweir                {\
92cdf0e10cSrcweir                    Identifier = SID_SET_SUB_SCRIPT ; \
93cdf0e10cSrcweir                    HelpID = CMD_SID_SET_SUB_SCRIPT ; \
94cdf0e10cSrcweir                    Text [ en-US ] = "S~ubscript" ; \
95cdf0e10cSrcweir					Text [ x-comment ] = " ";\
96cdf0e10cSrcweir				};\
97cdf0e10cSrcweir            };\
98cdf0e10cSrcweir        };\
99cdf0e10cSrcweir		Text [ x-comment ] = " ";\
100cdf0e10cSrcweir	};\
101cdf0e10cSrcweir    MenuItem\
102cdf0e10cSrcweir    {\
103cdf0e10cSrcweir        Identifier = RID_MN_FORMAT_ALGN ; \
104cdf0e10cSrcweir        HelpID = HID_MN_FORMAT_ALGN ; \
105cdf0e10cSrcweir        Text [ en-US ] = "~Alignment" ; \
106cdf0e10cSrcweir        RadioCheck = TRUE ; \
107cdf0e10cSrcweir        SubMenu = Menu\
108cdf0e10cSrcweir        {\
109cdf0e10cSrcweir            ItemList = \
110cdf0e10cSrcweir            {\
111cdf0e10cSrcweir                MenuItem\
112cdf0e10cSrcweir                {\
113cdf0e10cSrcweir				    Identifier = SID_ALIGNLEFT ; \
114cdf0e10cSrcweir				    HelpID = CMD_SID_ATTR_PARA_ADJUST_LEFT ; \
115cdf0e10cSrcweir                    RadioCheck = TRUE ; \
116cdf0e10cSrcweir				    Text [ en-US ] = "~Left" ;\
117cdf0e10cSrcweir					Text [ x-comment ] = " ";	\
118cdf0e10cSrcweir				};\
119cdf0e10cSrcweir                MenuItem\
120cdf0e10cSrcweir                {\
121cdf0e10cSrcweir				    Identifier = SID_ALIGNRIGHT ; \
122cdf0e10cSrcweir				    HelpID = CMD_SID_ATTR_PARA_ADJUST_RIGHT ; \
123cdf0e10cSrcweir                    RadioCheck = TRUE ; \
124cdf0e10cSrcweir				    Text [ en-US ] = "~Right" ;\
125cdf0e10cSrcweir				};\
126cdf0e10cSrcweir                MenuItem\
127cdf0e10cSrcweir                {\
128cdf0e10cSrcweir				    Identifier = SID_ALIGNCENTERHOR ; \
129cdf0e10cSrcweir				    HelpID = CMD_SID_ATTR_PARA_ADJUST_CENTER ; \
130cdf0e10cSrcweir                    RadioCheck = TRUE ; \
131cdf0e10cSrcweir				    Text [ en-US ] = "~Centered" ;\
132cdf0e10cSrcweir				};\
133cdf0e10cSrcweir                MenuItem\
134cdf0e10cSrcweir                {\
135cdf0e10cSrcweir                    Identifier = SID_ALIGNBLOCK ; \
136cdf0e10cSrcweir                    HelpID = CMD_SID_ATTR_PARA_ADJUST_BLOCK ; \
137cdf0e10cSrcweir                    RadioCheck = TRUE ; \
138cdf0e10cSrcweir                    Text [ en-US ] = "~Justified" ; \
139cdf0e10cSrcweir					Text [ x-comment ] = " ";\
140cdf0e10cSrcweir				};\
141cdf0e10cSrcweir            };\
142cdf0e10cSrcweir        };\
143cdf0e10cSrcweir		Text [ x-comment ] = " ";\
144cdf0e10cSrcweir	};\
145cdf0e10cSrcweir    MenuItem\
146cdf0e10cSrcweir    {\
147cdf0e10cSrcweir        Identifier = RID_MN_FORMAT_LINESPACE ; \
148cdf0e10cSrcweir        HelpID = HID_MN_FORMAT_LINESPACE ; \
149cdf0e10cSrcweir        Text [ en-US ] = "~Line Spacing" ; \
150cdf0e10cSrcweir        _MenuItemFlags = MIB_RADIOCHECK ; \
151cdf0e10cSrcweir        SubMenu = Menu\
152cdf0e10cSrcweir        {\
153cdf0e10cSrcweir            ItemList = \
154cdf0e10cSrcweir            {\
155cdf0e10cSrcweir                MenuItem\
156cdf0e10cSrcweir                {\
157cdf0e10cSrcweir                    ITEM_FORMAT_PARA_LINESPACE_10\
158cdf0e10cSrcweir                    RadioCheck = TRUE ; \
159cdf0e10cSrcweir                };\
160cdf0e10cSrcweir                MenuItem\
161cdf0e10cSrcweir                {\
162cdf0e10cSrcweir                    ITEM_FORMAT_PARA_LINESPACE_15\
163cdf0e10cSrcweir                    RadioCheck = TRUE ; \
164cdf0e10cSrcweir                };\
165cdf0e10cSrcweir                MenuItem\
166cdf0e10cSrcweir                {\
167cdf0e10cSrcweir                    ITEM_FORMAT_PARA_LINESPACE_20\
168cdf0e10cSrcweir                    RadioCheck = TRUE ; \
169cdf0e10cSrcweir                };\
170cdf0e10cSrcweir            };\
171cdf0e10cSrcweir        };\
172cdf0e10cSrcweir		Text [ x-comment ] = " ";\
173cdf0e10cSrcweir	};
174cdf0e10cSrcweir
175cdf0e10cSrcweir#define MN_DRWTXT \
176cdf0e10cSrcweir    MenuItem\
177cdf0e10cSrcweir    {\
178cdf0e10cSrcweir        ITEM_FORMAT_CHAR_DLG\
179cdf0e10cSrcweir    };\
180cdf0e10cSrcweir    MenuItem\
181cdf0e10cSrcweir    {\
182cdf0e10cSrcweir        ITEM_FORMAT_PARA_DLG\
183cdf0e10cSrcweir    };
184cdf0e10cSrcweir
185cdf0e10cSrcweir#ifdef ISSUE66550_HLINK_FOR_SHAPES
186cdf0e10cSrcweir#define MN_EDITLNK \
187cdf0e10cSrcweir    MenuItem\
188cdf0e10cSrcweir    {\
189cdf0e10cSrcweir        Identifier = SID_DRAW_HLINK_EDIT ; \
190cdf0e10cSrcweir        HelpID = CMD_SID_DRAW_HLINK_EDIT ; \
191cdf0e10cSrcweir        Text [ en-US ] = "~Hyperlink..." ; \
192cdf0e10cSrcweir	};
193cdf0e10cSrcweir
194cdf0e10cSrcweir#define MN_DELLNK \
195cdf0e10cSrcweir    MenuItem\
196cdf0e10cSrcweir    {\
197cdf0e10cSrcweir        Identifier = SID_DRAW_HLINK_DELETE ; \
198cdf0e10cSrcweir        HelpID = CMD_SID_DRAW_HLINK_DELETE ; \
199cdf0e10cSrcweir        Text [ en-US ] = "~Remove Hyperlink" ; \
200cdf0e10cSrcweir	};
201cdf0e10cSrcweir#endif
202cdf0e10cSrcweir
203cdf0e10cSrcweir#define MN_DRWTXTATTR \
204cdf0e10cSrcweir    MenuItem\
205cdf0e10cSrcweir    {\
206cdf0e10cSrcweir        Identifier = SID_DRAWTEXT_ATTR_DLG ; \
207cdf0e10cSrcweir        HelpID = CMD_SID_DRAWTEXT_ATTR_DLG ; \
208cdf0e10cSrcweir        Text [ en-US ] = "Te~xt..." ; \
209cdf0e10cSrcweir        /* ### ACHTUNG: Neuer Text in Resource? Textattribute f�r die selektierten Textobjekte festlegen : Textattribute f�r die selektierten Textobjekte festlegen */\
210cdf0e10cSrcweir		Text [ x-comment ] = " ";\
211cdf0e10cSrcweir	};
212cdf0e10cSrcweir
213cdf0e10cSrcweir#define MN_ASSIGNMACRO \
214cdf0e10cSrcweir     MenuItem\
215cdf0e10cSrcweir     {\
216cdf0e10cSrcweir         Identifier = SID_ASSIGNMACRO ; \
217cdf0e10cSrcweir         HelpID = CMD_SID_ASSIGNMACRO ; \
218cdf0e10cSrcweir         Text [ en-US ] = "Assig~n Macro..." ; \
219cdf0e10cSrcweir 		Text [ x-comment ] = " ";\
220cdf0e10cSrcweir 	};
221cdf0e10cSrcweir
222cdf0e10cSrcweir#define MN_ORIGINALSIZE \
223cdf0e10cSrcweir    MenuItem\
224cdf0e10cSrcweir    {\
225cdf0e10cSrcweir        Identifier = SID_ORIGINALSIZE ; \
226cdf0e10cSrcweir        HelpId = CMD_SID_ORIGINALSIZE ; \
227cdf0e10cSrcweir        /* ### ACHTUNG: Neuer Text in Resource? Originalgr��e : Originalgr��e */\
228cdf0e10cSrcweir        Text [ en-US ] = "~Original Size" ; \
229cdf0e10cSrcweir		Text [ x-comment ] = " ";\
230cdf0e10cSrcweir	};
231cdf0e10cSrcweir
232cdf0e10cSrcweir#define MN_RENAME_OBJECT \
233cdf0e10cSrcweir    MenuItem\
234cdf0e10cSrcweir    {\
235cdf0e10cSrcweir        Identifier = SID_RENAME_OBJECT ; \
236cdf0e10cSrcweir        HelpId = CMD_SID_RENAME_OBJECT ; \
237cdf0e10cSrcweir		Text [ en-US ] = "Name...";\
238cdf0e10cSrcweir	};
239cdf0e10cSrcweir
240cdf0e10cSrcweir// #i68101#
241cdf0e10cSrcweir#define MN_TITLE_DESCRIPTION_OBJECT \
242cdf0e10cSrcweir    MenuItem\
243cdf0e10cSrcweir    {\
244cdf0e10cSrcweir        Identifier = SID_TITLE_DESCRIPTION_OBJECT; \
245cdf0e10cSrcweir        HelpId = CMD_SID_TITLE_DESCRIPTION_OBJECT; \
246cdf0e10cSrcweir        Text [ en-US ] = "Description...";\
247cdf0e10cSrcweir	};
248cdf0e10cSrcweir
249cdf0e10cSrcweir#define MN_MIRRORSUB \
250cdf0e10cSrcweir    MenuItem\
251cdf0e10cSrcweir    {\
252cdf0e10cSrcweir        Identifier = SUBMENU_OBJMIRROR ; \
253cdf0e10cSrcweir        HelpID = HID_SCMENU_OBJMIRROR ; \
254cdf0e10cSrcweir        Text [ en-US ] = "~Flip" ; \
255cdf0e10cSrcweir        SubMenu = Menu\
256cdf0e10cSrcweir        {\
257cdf0e10cSrcweir            ItemList = \
258cdf0e10cSrcweir            {\
259cdf0e10cSrcweir                MenuItem\
260cdf0e10cSrcweir                {\
261cdf0e10cSrcweir                    Identifier = SID_MIRROR_VERTICAL ; \
262cdf0e10cSrcweir                    HelpId = CMD_SID_MIRROR_VERTICAL ; \
263cdf0e10cSrcweir                    Text [ en-US ] = "~Vertically" ; \
264cdf0e10cSrcweir					Text [ x-comment ] = " ";\
265cdf0e10cSrcweir				};\
266cdf0e10cSrcweir                MenuItem\
267cdf0e10cSrcweir                {\
268cdf0e10cSrcweir                    Identifier = SID_MIRROR_HORIZONTAL ; \
269cdf0e10cSrcweir                    HelpId = CMD_SID_MIRROR_HORIZONTAL ; \
270cdf0e10cSrcweir                    Text [ en-US ] = "~Horizontal" ; \
271cdf0e10cSrcweir					Text [ x-comment ] = " ";\
272cdf0e10cSrcweir				};\
273cdf0e10cSrcweir            };\
274cdf0e10cSrcweir        };\
275cdf0e10cSrcweir		Text [ x-comment ] = " ";\
276cdf0e10cSrcweir	};
277cdf0e10cSrcweir
278cdf0e10cSrcweir#define MN_ARRANGESUB \
279cdf0e10cSrcweir    MenuItem\
280cdf0e10cSrcweir    {\
281cdf0e10cSrcweir        Identifier = SUBMENU_OBJARRANGE ; \
282cdf0e10cSrcweir        HelpID = HID_SCMENU_OBJARRANGE ; \
283cdf0e10cSrcweir        Text [ en-US ] = "~Arrange" ; \
284cdf0e10cSrcweir        SubMenu = Menu\
285cdf0e10cSrcweir        {\
286cdf0e10cSrcweir            ItemList = \
287cdf0e10cSrcweir            {\
288cdf0e10cSrcweir                MenuItem\
289cdf0e10cSrcweir                {\
290cdf0e10cSrcweir                    ITEM_FORMAT_FRAME_TO_TOP\
291cdf0e10cSrcweir                };\
292cdf0e10cSrcweir                MenuItem\
293cdf0e10cSrcweir                {\
294cdf0e10cSrcweir                    Identifier = SID_FRAME_UP ; \
295cdf0e10cSrcweir                    HelpId = CMD_SID_FRAME_UP ; \
296cdf0e10cSrcweir                    /* ### ACHTUNG: Neuer Text in Resource? W~eiter nach vorn : Weiter nach vorn */\
297cdf0e10cSrcweir                    Text [ en-US ] = "Bring ~Forward" ; \
298cdf0e10cSrcweir					Text [ x-comment ] = " ";\
299cdf0e10cSrcweir				};\
300cdf0e10cSrcweir                MenuItem\
301cdf0e10cSrcweir                {\
302cdf0e10cSrcweir                    Identifier = SID_FRAME_DOWN ; \
303cdf0e10cSrcweir                    HelpId = CMD_SID_FRAME_DOWN ; \
304cdf0e10cSrcweir                    /* ### ACHTUNG: Neuer Text in Resource? Weiter ~nach hinten : Weiter nach hinten */\
305cdf0e10cSrcweir                    Text [ en-US ] = "Send Back~ward" ; \
306cdf0e10cSrcweir					Text [ x-comment ] = " ";\
307cdf0e10cSrcweir				};\
308cdf0e10cSrcweir                MenuItem\
309cdf0e10cSrcweir                {\
310cdf0e10cSrcweir                    ITEM_FORMAT_FRAME_TO_BOTTOM\
311cdf0e10cSrcweir                };\
312cdf0e10cSrcweir                MenuItem { Separator = TRUE ; }; \
313cdf0e10cSrcweir                MenuItem\
314cdf0e10cSrcweir                {\
315cdf0e10cSrcweir                    ITEM_FORMAT_OBJECT_HEAVEN\
316cdf0e10cSrcweir                };\
317cdf0e10cSrcweir                MenuItem\
318cdf0e10cSrcweir                {\
319cdf0e10cSrcweir                    ITEM_FORMAT_OBJECT_HELL\
320cdf0e10cSrcweir                };\
321cdf0e10cSrcweir            };\
322cdf0e10cSrcweir        };\
323cdf0e10cSrcweir		Text [ x-comment ] = " ";\
324cdf0e10cSrcweir	};
325cdf0e10cSrcweir
326cdf0e10cSrcweir#define MN_ANCHORSUB \
327cdf0e10cSrcweir    MenuItem\
328cdf0e10cSrcweir    {\
329cdf0e10cSrcweir        Identifier = SUBMENU_ANCHOR ; \
330cdf0e10cSrcweir        HelpID = HID_SCMENU_ANCHOR ; \
331cdf0e10cSrcweir        Text [ en-US ] = "An~chor" ; \
332cdf0e10cSrcweir        SubMenu = Menu\
333cdf0e10cSrcweir        {\
334cdf0e10cSrcweir            ItemList = \
335cdf0e10cSrcweir            {\
336cdf0e10cSrcweir                MenuItem\
337cdf0e10cSrcweir                {\
338cdf0e10cSrcweir                    RadioCheck = TRUE ; \
339cdf0e10cSrcweir                    Identifier = SID_ANCHOR_PAGE ; \
340cdf0e10cSrcweir                    HelpId = CMD_SID_ANCHOR_PAGE ; \
341cdf0e10cSrcweir                    Text [ en-US ] = "To P~age" ; \
342cdf0e10cSrcweir					Text [ x-comment ] = " ";\
343cdf0e10cSrcweir				};\
344cdf0e10cSrcweir                MenuItem\
345cdf0e10cSrcweir                {\
346cdf0e10cSrcweir                    RadioCheck = TRUE ; \
347cdf0e10cSrcweir                    Identifier = SID_ANCHOR_CELL ; \
348cdf0e10cSrcweir                    HelpId = CMD_SID_ANCHOR_CELL ; \
349cdf0e10cSrcweir                    Text [ en-US ] = "To ~Cell" ; \
350cdf0e10cSrcweir					Text [ x-comment ] = " ";\
351cdf0e10cSrcweir				};\
352cdf0e10cSrcweir            };\
353cdf0e10cSrcweir        };\
354cdf0e10cSrcweir		Text [ x-comment ] = " ";\
355cdf0e10cSrcweir	};
356cdf0e10cSrcweir
357cdf0e10cSrcweir#define MN_ALIGNSUB	\
358cdf0e10cSrcweir    MenuItem\
359cdf0e10cSrcweir    {\
360cdf0e10cSrcweir        Identifier = SID_OBJECT_ALIGN ; \
361cdf0e10cSrcweir        HelpId = CMD_SID_OBJECT_ALIGN ; \
362cdf0e10cSrcweir        Text [ en-US ] = "A~lignment" ; \
363cdf0e10cSrcweir        SubMenu = Menu\
364cdf0e10cSrcweir        {\
365cdf0e10cSrcweir            ItemList = \
366cdf0e10cSrcweir            {\
367cdf0e10cSrcweir                MenuItem\
368cdf0e10cSrcweir                {\
369cdf0e10cSrcweir                    ITEM_FORMAT_OBJECT_ALIGN_LEFT\
370cdf0e10cSrcweir                };\
371cdf0e10cSrcweir                MenuItem\
372cdf0e10cSrcweir                {\
373cdf0e10cSrcweir                    ITEM_FORMAT_OBJECT_ALIGN_CENTER\
374cdf0e10cSrcweir                };\
375cdf0e10cSrcweir                MenuItem\
376cdf0e10cSrcweir                {\
377cdf0e10cSrcweir                    ITEM_FORMAT_OBJECT_ALIGN_RIGHT\
378cdf0e10cSrcweir                };\
379cdf0e10cSrcweir                MenuItem\
380cdf0e10cSrcweir                {\
381cdf0e10cSrcweir                    Separator = TRUE ; \
382cdf0e10cSrcweir                };\
383cdf0e10cSrcweir                MenuItem\
384cdf0e10cSrcweir                {\
385cdf0e10cSrcweir                    ITEM_FORMAT_OBJECT_ALIGN_UP\
386cdf0e10cSrcweir                };\
387cdf0e10cSrcweir                MenuItem\
388cdf0e10cSrcweir                {\
389cdf0e10cSrcweir                    ITEM_FORMAT_OBJECT_ALIGN_MIDDLE\
390cdf0e10cSrcweir                };\
391cdf0e10cSrcweir                MenuItem\
392cdf0e10cSrcweir                {\
393cdf0e10cSrcweir                    ITEM_FORMAT_OBJECT_ALIGN_DOWN\
394cdf0e10cSrcweir                };\
395cdf0e10cSrcweir            };\
396cdf0e10cSrcweir        };\
397cdf0e10cSrcweir		Text [ x-comment ] = " ";\
398cdf0e10cSrcweir	};
399cdf0e10cSrcweir
400cdf0e10cSrcweir //
401cdf0e10cSrcweir //	------------------------------------------------------------------------------
402cdf0e10cSrcweir //
403cdf0e10cSrcweir //
404cdf0e10cSrcweir //		Objekt-Leisten
405cdf0e10cSrcweir //
406cdf0e10cSrcweirString RID_DRAW_OBJECTBAR
407cdf0e10cSrcweir{
408cdf0e10cSrcweir	Text [ en-US ] = "Drawing Object Bar" ;
409cdf0e10cSrcweir	Text [ x-comment ] = " ";
410cdf0e10cSrcweir};
411cdf0e10cSrcweir //
412cdf0e10cSrcweir //	Text-Toolbox
413cdf0e10cSrcweir //
414cdf0e10cSrcweirString RID_TEXT_TOOLBOX
415cdf0e10cSrcweir{
416cdf0e10cSrcweir	Text [ en-US ] = "Text Object Bar" ;
417cdf0e10cSrcweir	Text [ x-comment ] = " ";
418cdf0e10cSrcweir};
419cdf0e10cSrcweir //
420cdf0e10cSrcweir //	Graphics toolbox
421cdf0e10cSrcweir //
422cdf0e10cSrcweirString RID_GRAPHIC_OBJECTBAR
423cdf0e10cSrcweir{
424cdf0e10cSrcweir	Text [ en-US ] = "Graphics Object Bar";
425cdf0e10cSrcweir};
426cdf0e10cSrcweir //
427cdf0e10cSrcweir //	Popup-Menues ---------------------------------------------------------------------
428cdf0e10cSrcweir //
429cdf0e10cSrcweirString RID_POPUP_DRAW
430cdf0e10cSrcweir{
431cdf0e10cSrcweir	/* ### ACHTUNG: Neuer Text in Resource? Popup-Men� f�r Zeichenobjekte : Popup-Men� f�r Zeichenobjekte */
432cdf0e10cSrcweir	Text [ en-US ] = "Pop-up menu for drawing objects" ;
433cdf0e10cSrcweir	Text [ x-comment ] = " ";
434cdf0e10cSrcweir};
435cdf0e10cSrcweir //
436cdf0e10cSrcweir //		Popup-Menue fuer (allgemeine) Zeichenobjekte
437cdf0e10cSrcweir //
438cdf0e10cSrcweirMenu RID_POPUP_DRAW
439cdf0e10cSrcweir{
440cdf0e10cSrcweir	ItemList =
441cdf0e10cSrcweir	{
442cdf0e10cSrcweir		MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE };
443cdf0e10cSrcweir		MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA };
444cdf0e10cSrcweir		MN_DRWTXTATTR // Text...
445cdf0e10cSrcweir		MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
446cdf0e10cSrcweir
447cdf0e10cSrcweir		//-#i68101#----------------------
448cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
449cdf0e10cSrcweir        MN_TITLE_DESCRIPTION_OBJECT
450cdf0e10cSrcweir        MN_RENAME_OBJECT
451cdf0e10cSrcweir		//-#i68101#----------------------
452cdf0e10cSrcweir
453cdf0e10cSrcweir		 //------------------------------
454cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
455cdf0e10cSrcweir		 //------------------------------
456cdf0e10cSrcweir		MN_MIRRORSUB
457cdf0e10cSrcweir		MN_ARRANGESUB
458cdf0e10cSrcweir		MN_ALIGNSUB
459cdf0e10cSrcweir		MN_ANCHORSUB
460cdf0e10cSrcweir		MN_ASSIGNMACRO
461cdf0e10cSrcweir		 //------------------------------
462cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
463cdf0e10cSrcweir		 //------------------------------
464cdf0e10cSrcweir		MenuItem
465cdf0e10cSrcweir		{
466cdf0e10cSrcweir			ITEM_FORMAT_BEZIER_EDIT
467cdf0e10cSrcweir			RadioCheck = FALSE ;
468cdf0e10cSrcweir			AutoCheck = TRUE ;
469cdf0e10cSrcweir		};
470cdf0e10cSrcweir		MenuItem
471cdf0e10cSrcweir		{
472cdf0e10cSrcweir			ITEM_FORMAT_FONTWORK
473cdf0e10cSrcweir		};
474cdf0e10cSrcweir		 //------------------------------
475cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
476cdf0e10cSrcweir		 //------------------------------
477cdf0e10cSrcweir		ITEM_GROUP_MENU
478cdf0e10cSrcweir#ifdef ISSUE66550_HLINK_FOR_SHAPES
479cdf0e10cSrcweir		 //------------------------------
480cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
481cdf0e10cSrcweir		 //------------------------------
482cdf0e10cSrcweir		MN_EDITLNK
483cdf0e10cSrcweir		MN_DELLNK
484cdf0e10cSrcweir        MenuItem { ITEM_OPEN_HYPERLINK };
485cdf0e10cSrcweir#endif
486cdf0e10cSrcweir	};
487cdf0e10cSrcweir};
488cdf0e10cSrcweir
489cdf0e10cSrcweir //
490cdf0e10cSrcweir //		Popup-Menue fuer (Uno-) Controls
491cdf0e10cSrcweir //
492cdf0e10cSrcweir
493cdf0e10cSrcweirMenu RID_POPUP_CONTROL
494cdf0e10cSrcweir{
495cdf0e10cSrcweir	ItemList =
496cdf0e10cSrcweir	{
497cdf0e10cSrcweir		MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
498cdf0e10cSrcweir
499cdf0e10cSrcweir		//-#i68101#----------------------
500cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
501cdf0e10cSrcweir		MN_TITLE_DESCRIPTION_OBJECT
502cdf0e10cSrcweir        MN_RENAME_OBJECT
503cdf0e10cSrcweir		//-#i68101#----------------------
504cdf0e10cSrcweir
505cdf0e10cSrcweir		 //------------------------------
506cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
507cdf0e10cSrcweir		 //------------------------------
508cdf0e10cSrcweir		MenuItem { ITEM_FORM_CONTROL_PROPERTIES };
509cdf0e10cSrcweir		MenuItem { ITEM_FORM_PROPERTIES };
510cdf0e10cSrcweir		 //------------------------------
511cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
512cdf0e10cSrcweir		 //------------------------------
513cdf0e10cSrcweir		MN_ARRANGESUB
514cdf0e10cSrcweir		MN_ALIGNSUB
515cdf0e10cSrcweir		MN_ANCHORSUB
516cdf0e10cSrcweir		 //------------------------------
517cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
518cdf0e10cSrcweir		 //------------------------------
519cdf0e10cSrcweir		ITEM_GROUP_MENU
520cdf0e10cSrcweir	};
521cdf0e10cSrcweir};
522cdf0e10cSrcweir
523cdf0e10cSrcweir //
524cdf0e10cSrcweir //		Grafik
525cdf0e10cSrcweir //
526cdf0e10cSrcweir
527cdf0e10cSrcweirMenu RID_POPUP_GRAPHIC
528cdf0e10cSrcweir{
529cdf0e10cSrcweir	ItemList =
530cdf0e10cSrcweir	{
531cdf0e10cSrcweir		MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE }; // #i25616#
532cdf0e10cSrcweir		MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA }; // #i25616#
533cdf0e10cSrcweir		MN_DRWTXTATTR
534cdf0e10cSrcweir		MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
535cdf0e10cSrcweir		MN_ORIGINALSIZE
536cdf0e10cSrcweir
537cdf0e10cSrcweir		//-#i68101#----------------------
538cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
539cdf0e10cSrcweir        MN_TITLE_DESCRIPTION_OBJECT
540cdf0e10cSrcweir        MN_RENAME_OBJECT
541cdf0e10cSrcweir		//-#i68101#----------------------
542cdf0e10cSrcweir
543cdf0e10cSrcweir		 //------------------------------
544cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
545cdf0e10cSrcweir		 //------------------------------
546cdf0e10cSrcweir		MN_MIRRORSUB
547cdf0e10cSrcweir		MN_ARRANGESUB
548cdf0e10cSrcweir		MN_ALIGNSUB
549cdf0e10cSrcweir		MN_ANCHORSUB
550cdf0e10cSrcweir		MN_ASSIGNMACRO
551cdf0e10cSrcweir		 //------------------------------
552cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
553cdf0e10cSrcweir		 //------------------------------
554cdf0e10cSrcweir		ITEM_GROUP_MENU
555cdf0e10cSrcweir#ifdef ISSUE66550_HLINK_FOR_SHAPES
556cdf0e10cSrcweir		 //------------------------------
557cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
558cdf0e10cSrcweir		 //------------------------------
559cdf0e10cSrcweir		MN_EDITLNK
560cdf0e10cSrcweir		MN_DELLNK
561cdf0e10cSrcweir        MenuItem { ITEM_OPEN_HYPERLINK };
562cdf0e10cSrcweir#endif
563cdf0e10cSrcweir	};
564cdf0e10cSrcweir};
565cdf0e10cSrcweir
566cdf0e10cSrcweir //
567cdf0e10cSrcweir //		Media
568cdf0e10cSrcweir //
569cdf0e10cSrcweir
570cdf0e10cSrcweirMenu RID_POPUP_MEDIA
571cdf0e10cSrcweir{
572cdf0e10cSrcweir	ItemList =
573cdf0e10cSrcweir	{
574cdf0e10cSrcweir		MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
575cdf0e10cSrcweir
576cdf0e10cSrcweir		//-#i68101#----------------------
577cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
578cdf0e10cSrcweir        MN_TITLE_DESCRIPTION_OBJECT
579cdf0e10cSrcweir        MN_RENAME_OBJECT
580cdf0e10cSrcweir		//-#i68101#----------------------
581cdf0e10cSrcweir
582cdf0e10cSrcweir		 //------------------------------
583cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
584cdf0e10cSrcweir		 //------------------------------
585cdf0e10cSrcweir		MN_MIRRORSUB
586cdf0e10cSrcweir		MN_ARRANGESUB
587cdf0e10cSrcweir		MN_ALIGNSUB
588cdf0e10cSrcweir		MN_ANCHORSUB
589cdf0e10cSrcweir		 //------------------------------
590cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
591cdf0e10cSrcweir		 //------------------------------
592cdf0e10cSrcweir		ITEM_GROUP_MENU
593cdf0e10cSrcweir	   };
594cdf0e10cSrcweir};
595cdf0e10cSrcweir
596cdf0e10cSrcweir //
597cdf0e10cSrcweir //		Ole-Objekt
598cdf0e10cSrcweir //
599cdf0e10cSrcweir
600cdf0e10cSrcweirMenu RID_POPUP_OLE
601cdf0e10cSrcweir{
602cdf0e10cSrcweir	ItemList =
603cdf0e10cSrcweir	{
604a5258243SPedro Giffuni		//-#i118485# Added support for Line,Area and Text
605a5258243SPedro Giffuni		MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE };
606a5258243SPedro Giffuni		MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA };
607a5258243SPedro Giffuni		MN_DRWTXTATTR
608a5258243SPedro Giffuni		//-#i118485#----------------------
609a5258243SPedro Giffuni
610cdf0e10cSrcweir		MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
611cdf0e10cSrcweir		MN_ORIGINALSIZE
612cdf0e10cSrcweir
613cdf0e10cSrcweir		//-#i68101#----------------------
614cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
615cdf0e10cSrcweir        MN_TITLE_DESCRIPTION_OBJECT
616cdf0e10cSrcweir        MN_RENAME_OBJECT
617cdf0e10cSrcweir		//-#i68101#----------------------
618cdf0e10cSrcweir
619cdf0e10cSrcweir		 //------------------------------
620cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
621cdf0e10cSrcweir		 //------------------------------
622cdf0e10cSrcweir		MN_ARRANGESUB
623cdf0e10cSrcweir		MN_ALIGNSUB
624cdf0e10cSrcweir		MN_ANCHORSUB
625cdf0e10cSrcweir		 //------------------------------
626cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
627cdf0e10cSrcweir		 //------------------------------
628cdf0e10cSrcweir		ITEM_GROUP_MENU
629cdf0e10cSrcweir	};
630cdf0e10cSrcweir};
631cdf0e10cSrcweir
632cdf0e10cSrcweir //
633cdf0e10cSrcweir //		Charts
634cdf0e10cSrcweir //
635cdf0e10cSrcweir
636cdf0e10cSrcweirMenu RID_POPUP_CHART
637cdf0e10cSrcweir{
638cdf0e10cSrcweir	ItemList =
639cdf0e10cSrcweir	{
640a5258243SPedro Giffuni		//-#i118485# Added support for Line,Area and Text
641a5258243SPedro Giffuni		MenuItem { ITEM_FORMAT_ATTRIBUTES_LINE };
642a5258243SPedro Giffuni		MenuItem { ITEM_FORMAT_ATTRIBUTES_AREA };
643a5258243SPedro Giffuni		MN_DRWTXTATTR
644a5258243SPedro Giffuni		//-#i118485#----------------------
645a5258243SPedro Giffuni
646cdf0e10cSrcweir		MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
647cdf0e10cSrcweir		MN_ORIGINALSIZE
648cdf0e10cSrcweir
649cdf0e10cSrcweir		//-#i68101#----------------------
650cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
651cdf0e10cSrcweir        MN_TITLE_DESCRIPTION_OBJECT
652cdf0e10cSrcweir        MN_RENAME_OBJECT
653cdf0e10cSrcweir		//-#i68101#----------------------
654cdf0e10cSrcweir
655cdf0e10cSrcweir		 //------------------------------
656cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
657cdf0e10cSrcweir		 //------------------------------
658cdf0e10cSrcweir		MN_ARRANGESUB
659cdf0e10cSrcweir		MN_ALIGNSUB
660cdf0e10cSrcweir		MN_ANCHORSUB
661cdf0e10cSrcweir		 //------------------------------
662cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
663cdf0e10cSrcweir		 //------------------------------
664cdf0e10cSrcweir		ITEM_GROUP_MENU
665cdf0e10cSrcweir	};
666cdf0e10cSrcweir};
667cdf0e10cSrcweir
668cdf0e10cSrcweir //
669cdf0e10cSrcweir //  PopUpDraw Text
670cdf0e10cSrcweir //
671cdf0e10cSrcweir
672cdf0e10cSrcweirString RID_POPUP_DRAWTEXT
673cdf0e10cSrcweir{
674cdf0e10cSrcweir	/* ### ACHTUNG: Neuer Text in Resource? Popup-Men� f�r Text-Objekte : Popup-Men� f�r Text-Objekte */
675cdf0e10cSrcweir	Text [ en-US ] = "Pop-up menu for text objects" ;
676cdf0e10cSrcweir	Text [ x-comment ] = " ";
677cdf0e10cSrcweir};
678cdf0e10cSrcweir
679cdf0e10cSrcweirMenu RID_POPUP_DRAWTEXT
680cdf0e10cSrcweir{
681cdf0e10cSrcweir	ItemList =
682cdf0e10cSrcweir	{
683cdf0e10cSrcweir		MN_RESET
684cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
685cdf0e10cSrcweir		MN_DRWTXTATTR
686cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
687cdf0e10cSrcweir		MenuItem
688cdf0e10cSrcweir		{
689cdf0e10cSrcweir			ITEM_FORMAT_ATTR_CHAR_FONT
690cdf0e10cSrcweir		};
691cdf0e10cSrcweir		MenuItem
692cdf0e10cSrcweir		{
693cdf0e10cSrcweir			ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT
694cdf0e10cSrcweir		};
695cdf0e10cSrcweir		 // Stil, Ausrichtung, Zeilenabstand
696cdf0e10cSrcweir		MN_TEXT_ATTR
697cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
698cdf0e10cSrcweir		 // Zeichen, Absatz
699cdf0e10cSrcweir		MN_DRWTXT
700cdf0e10cSrcweir        MenuItem { Separator = TRUE ; };
701cdf0e10cSrcweir        MenuItem
702cdf0e10cSrcweir        {
703cdf0e10cSrcweir            ITEM_OPEN_HYPERLINK
704cdf0e10cSrcweir        };
705cdf0e10cSrcweir	};
706cdf0e10cSrcweir};
707cdf0e10cSrcweir
708