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