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