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