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