xref: /aoo42x/main/sc/source/ui/drawfunc/drformsh.src (revision dbcc5eab)
182177cdbSAndrew Rist/**************************************************************
2*dbcc5eabSmseidel *
382177cdbSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
482177cdbSAndrew Rist * or more contributor license agreements.  See the NOTICE file
582177cdbSAndrew Rist * distributed with this work for additional information
682177cdbSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
782177cdbSAndrew Rist * to you under the Apache License, Version 2.0 (the
882177cdbSAndrew Rist * "License"); you may not use this file except in compliance
982177cdbSAndrew Rist * with the License.  You may obtain a copy of the License at
10*dbcc5eabSmseidel *
1182177cdbSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*dbcc5eabSmseidel *
1382177cdbSAndrew Rist * Unless required by applicable law or agreed to in writing,
1482177cdbSAndrew Rist * software distributed under the License is distributed on an
1582177cdbSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1682177cdbSAndrew Rist * KIND, either express or implied.  See the License for the
1782177cdbSAndrew Rist * specific language governing permissions and limitations
1882177cdbSAndrew Rist * under the License.
19*dbcc5eabSmseidel *
2082177cdbSAndrew Rist *************************************************************/
2182177cdbSAndrew Rist
2282177cdbSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "sc.hrc"
25cdf0e10cSrcweir#include "submenu.hrc"
26cdf0e10cSrcweir#include <svx/globlmn.hrc>
27*dbcc5eabSmseidel//
28*dbcc5eabSmseidel//	Defines -------------------------------------------------------------------------------
29*dbcc5eabSmseidel//
30cdf0e10cSrcweir#define MN_LAYER\
31*dbcc5eabSmseidel	ToolBoxItem\
32*dbcc5eabSmseidel	{\
33*dbcc5eabSmseidel		Identifier = SID_FRAME_TO_TOP ; \
34*dbcc5eabSmseidel		HelpID = CMD_SID_FRAME_TO_TOP ; \
35*dbcc5eabSmseidel	};\
36*dbcc5eabSmseidel	ToolBoxItem\
37*dbcc5eabSmseidel	{\
38*dbcc5eabSmseidel		Identifier = SID_FRAME_TO_BOTTOM ; \
39*dbcc5eabSmseidel		HelpID = CMD_SID_FRAME_TO_BOTTOM ; \
40*dbcc5eabSmseidel	};
41cdf0e10cSrcweir
42cdf0e10cSrcweir#define MN_RENAME_OBJECT \
43*dbcc5eabSmseidel	MenuItem\
44*dbcc5eabSmseidel	{\
45*dbcc5eabSmseidel		Identifier = SID_RENAME_OBJECT ; \
46*dbcc5eabSmseidel		HelpId = CMD_SID_RENAME_OBJECT ; \
47*dbcc5eabSmseidel		Text [ en-US ] = "Name..." ;\
48*dbcc5eabSmseidel	};
49cdf0e10cSrcweir
50cdf0e10cSrcweir// #i68101#
51cdf0e10cSrcweir#define MN_TITLE_DESCRIPTION_OBJECT \
52*dbcc5eabSmseidel	MenuItem\
53*dbcc5eabSmseidel	{\
54*dbcc5eabSmseidel		Identifier = SID_TITLE_DESCRIPTION_OBJECT ; \
55*dbcc5eabSmseidel		HelpId = CMD_SID_TITLE_DESCRIPTION_OBJECT ; \
56*dbcc5eabSmseidel		Text [ en-US ] = "Description..." ;\
57*dbcc5eabSmseidel	};
58cdf0e10cSrcweir
59cdf0e10cSrcweir#define MN_ARRANGESUB \
60*dbcc5eabSmseidel	MenuItem\
61*dbcc5eabSmseidel	{\
62*dbcc5eabSmseidel		Identifier = SUBMENU_OBJARRANGE ; \
63*dbcc5eabSmseidel		HelpID = HID_SCMENU_OBJARRANGE ; \
64*dbcc5eabSmseidel		Text [ en-US ] = "~Arrange" ; \
65*dbcc5eabSmseidel		SubMenu = Menu\
66*dbcc5eabSmseidel		{\
67*dbcc5eabSmseidel			ItemList = \
68*dbcc5eabSmseidel			{\
69*dbcc5eabSmseidel				MenuItem\
70*dbcc5eabSmseidel				{\
71*dbcc5eabSmseidel					ITEM_FORMAT_FRAME_TO_TOP\
72*dbcc5eabSmseidel				};\
73*dbcc5eabSmseidel				MenuItem\
74*dbcc5eabSmseidel				{\
75*dbcc5eabSmseidel					Identifier = SID_FRAME_UP ; \
76*dbcc5eabSmseidel					HelpId = CMD_SID_FRAME_UP ; \
77*dbcc5eabSmseidel					Text [ en-US ] = "Bring ~Forward" ; \
78*dbcc5eabSmseidel				};\
79*dbcc5eabSmseidel				MenuItem\
80*dbcc5eabSmseidel				{\
81*dbcc5eabSmseidel					Identifier = SID_FRAME_DOWN ; \
82*dbcc5eabSmseidel					HelpId = CMD_SID_FRAME_DOWN ; \
83*dbcc5eabSmseidel					Text [ en-US ] = "Send Back~ward" ; \
84*dbcc5eabSmseidel				};\
85*dbcc5eabSmseidel				MenuItem\
86*dbcc5eabSmseidel				{\
87*dbcc5eabSmseidel					ITEM_FORMAT_FRAME_TO_BOTTOM\
88cdf0e10cSrcweir				};\
89*dbcc5eabSmseidel				MenuItem { Separator = TRUE ; }; \
90*dbcc5eabSmseidel				MenuItem\
91*dbcc5eabSmseidel				{\
92*dbcc5eabSmseidel					ITEM_FORMAT_OBJECT_HEAVEN\
93cdf0e10cSrcweir				};\
94*dbcc5eabSmseidel				MenuItem\
95*dbcc5eabSmseidel				{\
96*dbcc5eabSmseidel					ITEM_FORMAT_OBJECT_HELL\
97*dbcc5eabSmseidel				};\
98*dbcc5eabSmseidel			};\
99*dbcc5eabSmseidel		};\
100cdf0e10cSrcweir	};
101cdf0e10cSrcweir
102cdf0e10cSrcweir#define MN_ANCHORSUB \
103*dbcc5eabSmseidel	MenuItem\
104*dbcc5eabSmseidel	{\
105*dbcc5eabSmseidel		Identifier = SUBMENU_ANCHOR ; \
106*dbcc5eabSmseidel		HelpID = HID_SCMENU_ANCHOR ; \
107*dbcc5eabSmseidel		Text [ en-US ] = "An~chor" ; \
108*dbcc5eabSmseidel		SubMenu = Menu\
109*dbcc5eabSmseidel		{\
110*dbcc5eabSmseidel			ItemList = \
111*dbcc5eabSmseidel			{\
112*dbcc5eabSmseidel				MenuItem\
113*dbcc5eabSmseidel				{\
114*dbcc5eabSmseidel					RadioCheck = TRUE ; \
115*dbcc5eabSmseidel					Identifier = SID_ANCHOR_PAGE ; \
116*dbcc5eabSmseidel					HelpId = CMD_SID_ANCHOR_PAGE ; \
117*dbcc5eabSmseidel					Text [ en-US ] = "To P~age" ; \
118cdf0e10cSrcweir				};\
119*dbcc5eabSmseidel				MenuItem\
120*dbcc5eabSmseidel				{\
121*dbcc5eabSmseidel					RadioCheck = TRUE ; \
122*dbcc5eabSmseidel					Identifier = SID_ANCHOR_CELL ; \
123*dbcc5eabSmseidel					HelpId = CMD_SID_ANCHOR_CELL ; \
124*dbcc5eabSmseidel					Text [ en-US ] = "To ~Cell" ; \
125cdf0e10cSrcweir				};\
126*dbcc5eabSmseidel			};\
127*dbcc5eabSmseidel		};\
128cdf0e10cSrcweir	};
129cdf0e10cSrcweir
130cdf0e10cSrcweir#define MN_ALIGNSUB	\
131*dbcc5eabSmseidel	MenuItem\
132*dbcc5eabSmseidel	{\
133*dbcc5eabSmseidel		Identifier = SID_OBJECT_ALIGN ; \
134*dbcc5eabSmseidel		HelpId = CMD_SID_OBJECT_ALIGN ; \
135*dbcc5eabSmseidel		Text [ en-US ] = "A~lignment" ; \
136*dbcc5eabSmseidel		SubMenu = Menu\
137*dbcc5eabSmseidel		{\
138*dbcc5eabSmseidel			ItemList = \
139*dbcc5eabSmseidel			{\
140*dbcc5eabSmseidel				MenuItem\
141*dbcc5eabSmseidel				{\
142*dbcc5eabSmseidel					ITEM_FORMAT_OBJECT_ALIGN_LEFT\
143*dbcc5eabSmseidel				};\
144*dbcc5eabSmseidel				MenuItem\
145*dbcc5eabSmseidel				{\
146*dbcc5eabSmseidel					ITEM_FORMAT_OBJECT_ALIGN_CENTER\
147*dbcc5eabSmseidel				};\
148*dbcc5eabSmseidel				MenuItem\
149*dbcc5eabSmseidel				{\
150*dbcc5eabSmseidel					ITEM_FORMAT_OBJECT_ALIGN_RIGHT\
151*dbcc5eabSmseidel				};\
152*dbcc5eabSmseidel				MenuItem\
153*dbcc5eabSmseidel				{\
154*dbcc5eabSmseidel					Separator = TRUE ; \
155*dbcc5eabSmseidel				};\
156*dbcc5eabSmseidel				MenuItem\
157*dbcc5eabSmseidel				{\
158*dbcc5eabSmseidel					ITEM_FORMAT_OBJECT_ALIGN_UP\
159*dbcc5eabSmseidel				};\
160*dbcc5eabSmseidel				MenuItem\
161*dbcc5eabSmseidel				{\
162*dbcc5eabSmseidel					ITEM_FORMAT_OBJECT_ALIGN_MIDDLE\
163*dbcc5eabSmseidel				};\
164*dbcc5eabSmseidel				MenuItem\
165*dbcc5eabSmseidel				{\
166*dbcc5eabSmseidel					ITEM_FORMAT_OBJECT_ALIGN_DOWN\
167*dbcc5eabSmseidel				};\
168*dbcc5eabSmseidel			};\
169*dbcc5eabSmseidel		};\
170cdf0e10cSrcweir	};
171cdf0e10cSrcweir
172cdf0e10cSrcweir
173*dbcc5eabSmseidel//	Popup-Menues ---------------------------------------------------------------------
174*dbcc5eabSmseidel//
175cdf0e10cSrcweirString RID_POPUP_DRAWFORM
176cdf0e10cSrcweir{
177*dbcc5eabSmseidel	Text [ en-US ] = "Popup menu for form objects" ;
178cdf0e10cSrcweir};
179*dbcc5eabSmseidel//
180*dbcc5eabSmseidel//		Popup-Menu for (Uno-) Controls
181*dbcc5eabSmseidel//
182cdf0e10cSrcweirMenu RID_POPUP_DRAWFORM
183cdf0e10cSrcweir{
184cdf0e10cSrcweir	ItemList =
185cdf0e10cSrcweir	{
186cdf0e10cSrcweir		MenuItem { ITEM_FORMAT_ATTR_TRANSFORM };
187cdf0e10cSrcweir
188cdf0e10cSrcweir		//-#i68101#----------------------
189cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
190cdf0e10cSrcweir		MN_TITLE_DESCRIPTION_OBJECT
191*dbcc5eabSmseidel		MN_RENAME_OBJECT
192cdf0e10cSrcweir		//-#i68101#----------------------
193cdf0e10cSrcweir
194*dbcc5eabSmseidel		//------------------------------
195cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
196*dbcc5eabSmseidel		//------------------------------
197cdf0e10cSrcweir		MenuItem { ITEM_FORM_CONTROL_PROPERTIES };
198cdf0e10cSrcweir		MenuItem { ITEM_FORM_PROPERTIES };
199cdf0e10cSrcweir		MenuItem { ITEM_REPLACE_CONTROL };
200*dbcc5eabSmseidel		//------------------------------
201cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
202*dbcc5eabSmseidel		//------------------------------
203cdf0e10cSrcweir		MN_ARRANGESUB
204cdf0e10cSrcweir		MN_ALIGNSUB
205cdf0e10cSrcweir		MN_ANCHORSUB
206*dbcc5eabSmseidel		//------------------------------
207cdf0e10cSrcweir		MenuItem { Separator = TRUE ; };
208*dbcc5eabSmseidel		//------------------------------
209cdf0e10cSrcweir		ITEM_GROUP_MENU
210cdf0e10cSrcweir	};
211cdf0e10cSrcweir};
212cdf0e10cSrcweir
213*dbcc5eabSmseidel// ********************************************************************** EOF
214