xref: /aoo41x/main/svx/source/form/fmexpl.src (revision 14d89e6d)
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#include <svx/svxids.hrc>
23#include "svx/fmresids.hrc"
24#include "fmexpl.hrc"
25#include "globlmn.hrc"
26#include <svx/svxcommands.h>
27#include "fmhelp.hrc"
28
29Menu RID_FMEXPLORER_POPUPMENU
30{
31	ItemList =
32	{
33		MenuItem
34		{
35			Identifier = SID_FM_NEW ;
36			HelpId = HID_FM_NEW ;
37			Text [ en-US ] = "~New" ;
38			SubMenu = Menu
39			{
40				ItemList =
41				{
42					MenuItem
43					{
44						Identifier = SID_FM_NEW_FORM ;
45						HelpId = HID_FM_NEW_FORM ;
46						Text [ en-US ] = "Form" ;
47					};
48					MenuItem
49					{
50						Identifier = SID_FM_NEW_HIDDEN ;
51						HelpId = HID_FM_NEW_HIDDEN ;
52						Text [ en-US ] = "Hidden Control" ;
53					};
54				};
55			};
56		};
57		MenuItem
58		{
59			Identifier = SID_FM_CHANGECONTROLTYPE ;
60			HelpId = CMD_SID_FM_CHANGECONTROLTYPE ;
61			Text [ en-US ] = "Replace with";
62		};
63		MenuItem { ITEM_EDIT_CUT };
64		MenuItem { ITEM_EDIT_COPY };
65		MenuItem { ITEM_EDIT_PASTE };
66		MenuItem
67		{
68			Identifier = SID_FM_DELETE ;
69			HelpId = HID_FM_DELETE ;
70			Text [ en-US ] = "~Delete" ;
71		};
72		MenuItem
73		{
74			Identifier = SID_FM_TAB_DIALOG ;
75			HelpId = CMD_SID_FM_TAB_DIALOG ;
76			Text [ en-US ] = "Tab Order..." ;
77		};
78		MenuItem
79		{
80			Identifier = SID_FM_RENAME_OBJECT ;
81			HelpId = HID_FM_RENAME_OBJECT ;
82			Text [ en-US ] = "~Rename" ;
83		};
84		MenuItem
85		{
86			Identifier = SID_FM_SHOW_PROPERTY_BROWSER ;
87			HelpId = CMD_SID_FM_SHOW_PROPERTY_BROWSER ;
88			Text [ en-US ] = "Propert~ies" ;
89		};
90		MenuItem
91		{
92			Identifier = SID_FM_OPEN_READONLY ;
93			HelpId = CMD_SID_FM_OPEN_READONLY ;
94			Text [ en-US ] = "Open in Design Mode" ;
95		};
96		MenuItem
97		{
98			Identifier = SID_FM_AUTOCONTROLFOCUS ;
99			HelpId = CMD_SID_FM_AUTOCONTROLFOCUS ;
100			Text [ en-US ] = "Automatic Control Focus";
101		};
102	};
103};
104
105Menu RID_FMSHELL_CONVERSIONMENU
106{
107	ItemList =
108	{
109		MenuItem
110		{
111			Identifier = SID_FM_CONVERTTO_EDIT ;
112			HelpId = CMD_SID_FM_CONVERTTO_EDIT ;
113			Command = ".uno:ConvertToEdit" ;
114			Text [ en-US ] = "~Text Box";
115		};
116		MenuItem
117		{
118			Identifier = SID_FM_CONVERTTO_BUTTON ;
119			HelpId = CMD_SID_FM_CONVERTTO_BUTTON ;
120			Command = ".uno:ConvertToButton" ;
121			Text [ en-US ] = "~Button";
122		};
123		MenuItem
124		{
125			Identifier = SID_FM_CONVERTTO_FIXEDTEXT ;
126			HelpId = CMD_SID_FM_CONVERTTO_FIXEDTEXT ;
127			Command = ".uno:ConvertToFixed" ;
128			Text [ en-US ] = "La~bel field";
129		};
130		MenuItem
131		{
132			Identifier = SID_FM_CONVERTTO_GROUPBOX ;
133			HelpId = CMD_SID_FM_CONVERTTO_GROUPBOX ;
134			Command = ".uno:ConvertToGroup" ;
135			Text [ en-US ] = "G~roup Box";
136		};
137		MenuItem
138		{
139			Identifier = SID_FM_CONVERTTO_LISTBOX ;
140			HelpId = CMD_SID_FM_CONVERTTO_LISTBOX ;
141			Command = ".uno:ConvertToList" ;
142			Text [ en-US ] = "L~ist Box";
143		};
144		MenuItem
145		{
146			Identifier = SID_FM_CONVERTTO_CHECKBOX ;
147			HelpId = CMD_SID_FM_CONVERTTO_CHECKBOX ;
148			Command = ".uno:ConvertToCheckBox" ;
149			Text [ en-US ] = "~Check Box";
150		};
151		MenuItem
152		{
153			Identifier = SID_FM_CONVERTTO_RADIOBUTTON ;
154			HelpId = CMD_SID_FM_CONVERTTO_RADIOBUTTON ;
155			Command = ".uno:ConvertToRadio" ;
156			Text [ en-US ] = "~Radio Button";
157		};
158		MenuItem
159		{
160			Identifier = SID_FM_CONVERTTO_COMBOBOX ;
161			HelpId = CMD_SID_FM_CONVERTTO_COMBOBOX ;
162			Command = ".uno:ConvertToCombo" ;
163			Text [ en-US ] = "Combo Bo~x";
164		};
165		MenuItem
166		{
167			Identifier = SID_FM_CONVERTTO_IMAGEBUTTON ;
168			HelpId = CMD_SID_FM_CONVERTTO_IMAGEBUTTON ;
169			Command = ".uno:ConvertToImageBtn" ;
170			Text [ en-US ] = "I~mage Button";
171		};
172		MenuItem
173		{
174			Identifier = SID_FM_CONVERTTO_FILECONTROL ;
175			HelpId = CMD_SID_FM_CONVERTTO_FILECONTROL ;
176			Command = ".uno:ConvertToFileControl" ;
177			Text [ en-US ] = "~File Selection";
178		};
179		MenuItem
180		{
181			Identifier = SID_FM_CONVERTTO_DATE ;
182			HelpId = CMD_SID_FM_CONVERTTO_DATE ;
183			Command = ".uno:ConvertToDate" ;
184			Text [ en-US ] = "~Date Field";
185		};
186		MenuItem
187		{
188			Identifier = SID_FM_CONVERTTO_TIME ;
189			HelpId = CMD_SID_FM_CONVERTTO_TIME ;
190			Command = ".uno:ConvertToTime" ;
191			Text [ en-US ] = "Tim~e Field";
192		};
193		MenuItem
194		{
195			Identifier = SID_FM_CONVERTTO_NUMERIC ;
196			HelpId = CMD_SID_FM_CONVERTTO_NUMERIC ;
197			Command = ".uno:ConvertToNumeric" ;
198			Text [ en-US ] = "~Numerical Field";
199		};
200		MenuItem
201		{
202			Identifier = SID_FM_CONVERTTO_CURRENCY ;
203			HelpId = CMD_SID_FM_CONVERTTO_CURRENCY ;
204			Command = ".uno:ConvertToCurrency" ;
205			Text [ en-US ] = "C~urrency Field";
206		};
207		MenuItem
208		{
209			Identifier = SID_FM_CONVERTTO_PATTERN ;
210			HelpId = CMD_SID_FM_CONVERTTO_PATTERN ;
211			Command = ".uno:ConvertToPattern" ;
212			Text [ en-US ] = "~Pattern Field";
213		};
214		MenuItem
215		{
216			Identifier = SID_FM_CONVERTTO_IMAGECONTROL ;
217			HelpId = CMD_SID_FM_CONVERTTO_IMAGECONTROL ;
218			Command = ".uno:ConvertToImageControl" ;
219			Text [ en-US ] = "Ima~ge Control";
220		};
221		MenuItem
222		{
223			Identifier = SID_FM_CONVERTTO_FORMATTED ;
224			HelpId = CMD_SID_FM_CONVERTTO_FORMATTED ;
225			Command = ".uno:ConvertToFormatted" ;
226			Text [ en-US ] = "Fo~rmatted Field";
227		};
228        MenuItem
229        {
230            Identifier = SID_FM_CONVERTTO_SCROLLBAR ;
231            HelpId = CMD_SID_FM_CONVERTTO_SCROLLBAR ;
232			Command = ".uno:ConvertToScrollBar" ;
233            Text [ en-US ] = "Scroll bar";
234        };
235        MenuItem
236        {
237            Identifier = SID_FM_CONVERTTO_SPINBUTTON;
238            HelpId = CMD_SID_FM_CONVERTTO_SPINBUTTON;
239			Command = ".uno:ConvertToSpinButton" ;
240            Text [ en-US ] = "Spin Button";
241        };
242        MenuItem
243        {
244            Identifier = SID_FM_CONVERTTO_NAVIGATIONBAR;
245            HelpId = CMD_SID_FM_CONVERTTO_NAVIGATIONBAR;
246            Command = ".uno:ConvertToNavigationBar" ;
247            Text [ en-US ] = "Navigation Bar" ;
248        };
249	};
250};
251
252#define NAVIGATOR_IMAGEIDS \
253	IdList = \
254	{ \
255		RID_SVXIMG_BUTTON ; \
256		RID_SVXIMG_RADIOBUTTON ; \
257		RID_SVXIMG_CHECKBOX ; \
258		RID_SVXIMG_FIXEDTEXT ; \
259		RID_SVXIMG_GROUPBOX ; \
260		RID_SVXIMG_EDIT ; \
261		RID_SVXIMG_LISTBOX ; \
262		RID_SVXIMG_COMBOBOX ; \
263		RID_SVXIMG_NAVIGATIONBAR ; \
264		RID_SVXIMG_CONTROL ; \
265		RID_SVXIMG_FORM ; \
266		RID_SVXIMG_FORMS ; \
267		RID_SVXIMG_COLLAPSEDNODE ; \
268		RID_SVXIMG_EXPANDEDNODE ; \
269		RID_SVXIMG_IMAGEBUTTON ; \
270		RID_SVXIMG_FILECONTROL ; \
271		RID_SVXIMG_DATEFIELD ; \
272		RID_SVXIMG_TIMEFIELD ; \
273		RID_SVXIMG_NUMERICFIELD ; \
274		RID_SVXIMG_CURRENCYFIELD ; \
275		RID_SVXIMG_PATTERNFIELD ; \
276		RID_SVXIMG_HIDDEN ; \
277		RID_SVXIMG_IMAGECONTROL ; \
278		RID_SVXIMG_GRID ; \
279		RID_SVXIMG_FILTER ; \
280		RID_SVXIMG_FORMATTEDFIELD ; \
281		RID_SVXIMG_DATE_N_TIME_FIELDS ; \
282		RID_SVXIMG_FIELD ; \
283		RID_SVXIMG_SCROLLBAR; \
284		RID_SVXIMG_SPINBUTTON; \
285	}; \
286	IdCount = 30
287
288ImageList RID_SVXIMGLIST_FMEXPL
289{
290    Prefix = "sx";
291	MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
292	NAVIGATOR_IMAGEIDS;
293};
294
295ImageList RID_SVXIMGLIST_FMEXPL_HC
296{
297    Prefix = "sxh";
298	MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
299	NAVIGATOR_IMAGEIDS;
300};
301
302ModalDialog RID_SVXDLG_SETFORM
303{
304    HelpID = "svx:ModalDialog:RID_SVXDLG_SETFORM";
305	OutputSize = TRUE ;
306	SVLook = TRUE ;
307	Size = MAP_APPFONT ( 200 , 200 ) ;
308	Moveable = TRUE ;
309	Closeable = TRUE ;
310	GroupBox GB_PATH
311	{
312		Pos = MAP_APPFONT ( 6 , 149 ) ;
313		Size = MAP_APPFONT ( 188 , 25 ) ;
314		Text [ en-US ] = "Path" ;
315	};
316	FixedText FT_PATH
317	{
318		Pos = MAP_APPFONT ( 12 , 155 ) ;
319		Size = MAP_APPFONT ( 156 , 15 ) ;
320	};
321	OKButton PB_OK
322	{
323		Pos = MAP_APPFONT ( 6 , 180 ) ;
324		Size = MAP_APPFONT ( 50 , 14 ) ;
325		TabStop = TRUE ;
326	};
327	CancelButton PB_CANCEL
328	{
329		Pos = MAP_APPFONT ( 59 , 180 ) ;
330		Size = MAP_APPFONT ( 50 , 14 ) ;
331		TabStop = TRUE ;
332	};
333	HelpButton PB_HELP
334	{
335		Pos = MAP_APPFONT ( 123 , 180 ) ;
336		Size = MAP_APPFONT ( 50 , 14 ) ;
337		TabStop = TRUE ;
338	};
339	Text [ en-US ] = "Select form" ;
340};
341DockingWindow RID_SVX_FMEXPLORER
342{
343    HelpID = "svx:DockingWindow:RID_SVX_FMEXPLORER";
344	OutputSize = TRUE ;
345	SVLook = TRUE ;
346	Size = MAP_APPFONT ( 200 , 200 ) ;
347	Moveable = TRUE ;
348	Closeable = TRUE ;
349	Text [ en-US ] = "Form Navigator" ;
350};
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378