xref: /aoo41x/main/sc/source/ui/navipi/navipi.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include "navipi.hrc"
29
30#define SC_NAVI_CMD_IDLIST \
31	IdList =			   \
32	{					   \
33		IID_DATA ;		   \
34		IID_UP ;		   \
35		IID_DOWN ;		   \
36		IID_SCENARIOS ;	   \
37		IID_DROPMODE ;	   \
38		IID_CHANGEROOT ;   \
39		IID_ZOOMOUT ;	   \
40	};					   \
41	IdCount = { 8 ; };
42
43// SC_CONTENT_...
44#define SC_NAVI_CONT_IDLIST \
45	IdList =				\
46	{						\
47		1 ;					\
48		2 ;					\
49		3 ;					\
50		4 ;					\
51		5 ;					\
52		6 ;					\
53		7 ;					\
54		8 ;					\
55	};						\
56	IdCount = { 8 ; };
57
58Window RID_SCDLG_NAVIGATOR
59{
60	SVLook = TRUE ;
61	HelpId = HID_SC_NAVIGATOR ;
62	 //?	Pos = MAP_APPFONT( 0, 0 );
63	Size = MAP_APPFONT ( 115 , 116 ) ;
64	OutputSize = TRUE ;
65	DialogControl = TRUE ;
66	Hide = TRUE ;
67	Text [ en-US ] = "Navigator" ;
68	 //    Closeable = TRUE ;
69	 //    Moveable = TRUE ;
70	 //    Zoomable = TRUE ;
71	 //    Sizeable = TRUE ;
72	 //    EnableResizing = TRUE ;
73	 //    HideWhenDeactivate = TRUE ;
74	 //    Border = TRUE ;
75	 //    Dockable = TRUE ;
76	FixedText FT_ROW
77	{
78		 //			Pos = MAP_APPFONT( 2, 20 );
79		Pos = MAP_APPFONT ( 2 , 19 ) ;
80		 // an kleinere Toolbox-Bitmaps angepasst
81		Size = MAP_APPFONT ( 19 , 10 ) ;
82		Text [ en-US ] = "Row" ;
83	};
84	NumericField ED_ROW
85	{
86		HelpId = HID_SC_NAVIPI_ROW ;
87		Border = TRUE ;
88		 //			Pos = MAP_APPFONT( 31, 19 );
89		Pos = MAP_APPFONT ( 31 , 18 ) ;
90		 // an kleinere Toolbox-Bitmaps angepasst
91		Size = MAP_APPFONT ( 30 , 12 ) ;
92		Right = TRUE ;
93		Repeat = TRUE ;
94		Spin = TRUE ;
95		SpinSize = 1 ;
96		Minimum = 1 ;
97		First = 1 ;
98		QuickHelpText [ en-US ] = "Row" ;
99	};
100	FixedText FT_COL
101	{
102		Pos = MAP_APPFONT ( 2 , 5 ) ;
103		Size = MAP_APPFONT ( 23 , 10 ) ;
104		Text [ en-US ] = "Column" ;
105	};
106	SpinField ED_COL
107	{
108		HelpId = HID_SC_NAVIPI_COL ;
109		Border = TRUE ;
110		Pos = MAP_APPFONT ( 31 , 4 ) ;
111		Size = MAP_APPFONT ( 30 , 12 ) ;
112		Right = TRUE ;
113		Repeat = TRUE ;
114		Spin = TRUE ;
115		QuickHelpText [ en-US ] = "Column" ;
116	};
117	Control LB_ENTRIES
118	{
119		 // "Control" braucht immer eigene HelpId
120		HelpId = HID_SC_NAVIPI_ENTRIES ;
121		Border = TRUE ;
122		 //			Pos = MAP_APPFONT( 2, 52 );
123		Pos = MAP_APPFONT ( 2 , 35 ) ;
124		Size = MAP_APPFONT ( 110 , 100 ) ;
125		TabStop = TRUE ;
126	};
127	ListBox LB_DOCUMENTS
128	{
129		HelpId = HID_SC_NAVIPI_DOC ;
130		Border = TRUE ;
131		 //			Pos = MAP_APPFONT( 2, 35 );
132		Pos = MAP_APPFONT ( 2 , 89 ) ;
133		Size = MAP_APPFONT ( 82 , 50 ) ;
134		TabStop = TRUE ;
135		DropDown = TRUE ;
136		QuickHelpText [ en-US ] = "Document" ;
137	};
138    ImageList IL_CMD
139	{
140        Prefix = "na";
141		MaskColor = STD_MASKCOLOR ;
142        SC_NAVI_CMD_IDLIST
143    };
144    ImageList ILH_CMD
145	{
146        Prefix = "nah";
147		MaskColor = SC_HC_MASKCOLOR ;
148        SC_NAVI_CMD_IDLIST
149    };
150	ToolBox TBX_CMD
151	{
152		Pos = MAP_APPFONT ( 66 , 3 ) ;
153		HelpId = HID_SC_NAVIPI_TOOLBOX ;
154		SVLook = TRUE ;
155		Border = FALSE ;
156		LineCount = 2 ;
157		ItemList =
158		{
159			ToolBoxItem
160			{
161				Identifier = IID_DATA ;
162				HelpId = HID_SC_NAVIPI_DATA ;
163				Text [ en-US ] = "Data Range" ;
164			};
165			ToolBoxItem
166			{
167				Identifier = IID_UP ;
168				HelpId = HID_SC_NAVIPI_UP ;
169				Text [ en-US ] = "Start" ;
170			};
171			ToolBoxItem
172			{
173				Identifier = IID_DOWN ;
174				HelpId = HID_SC_NAVIPI_DOWN ;
175				Text [ en-US ] = "End" ;
176			};
177			 //--------------------------------------------
178			 //			ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR; };
179			 //--------------------------------------------
180			 //----------------------------------------
181			ToolBoxItem { Type = TOOLBOXITEM_BREAK ; };
182			 //----------------------------------------
183			ToolBoxItem
184			{
185				Identifier = IID_ZOOMOUT ;
186				HelpId = HID_SC_NAVIPI_ZOOM ;
187				Text [ en-US ] = "Contents" ;
188			};
189			ToolBoxItem
190			{
191				Identifier = IID_CHANGEROOT ;
192				HelpId = HID_SC_NAVIPI_ROOT ;
193				Text [ en-US ] = "Toggle" ;
194			};
195			ToolBoxItem
196			{
197				Identifier = IID_SCENARIOS ;
198				HelpId = HID_SC_NAVIPI_SCEN ;
199				Text [ en-US ] = "Scenarios" ;
200			};
201			ToolBoxItem
202			{
203				Identifier = IID_DROPMODE ;
204				HelpId = HID_SC_NAVIPI_DROP ;
205				DropDown = TRUE ;
206				Text [ en-US ] = "Drag Mode" ;
207			};
208		};
209	};
210	String STR_DRAGMODE
211	{
212		Text [ en-US ] = "Drag Mode" ;
213	};
214	String STR_DISPLAY
215	{
216		Text [ en-US ] = "Display" ;
217	};
218	String STR_ACTIVE
219	{
220		Text [ en-US ] = "active" ;
221	};
222	String STR_NOTACTIVE
223	{
224		Text [ en-US ] = "inactive" ;
225	};
226	String STR_HIDDEN
227	{
228		Text [ en-US ] = "hidden" ;
229	};
230	String STR_ACTIVEWIN
231	{
232		Text [ en-US ] = "Active Window" ;
233	};
234
235	String STR_QHLP_SCEN_LISTBOX
236	{
237		Text [ en-US ] = "Scenario Name";
238	};
239
240	String STR_QHLP_SCEN_COMMENT
241	{
242		Text [ en-US ] = "Comment";
243	};
244
245};
246
247
248ImageList RID_IMAGELIST_NAVCONT
249{
250    Prefix = "nc";
251	MaskColor = STD_MASKCOLOR ;
252    SC_NAVI_CONT_IDLIST
253};
254ImageList RID_IMAGELIST_H_NAVCONT
255{
256    Prefix = "nch";
257	MaskColor = SC_HC_MASKCOLOR ;
258    SC_NAVI_CONT_IDLIST
259};
260
261Image RID_IMG_DROP_URL
262{
263	ImageBitmap = Bitmap { File = "dropurl.bmp" ; };
264	MaskColor = STD_MASKCOLOR ;
265};
266Image RID_IMG_DROP_LINK
267{
268	ImageBitmap = Bitmap { File = "droplink.bmp" ; };
269	MaskColor = STD_MASKCOLOR ;
270};
271Image RID_IMG_DROP_COPY
272{
273	ImageBitmap = Bitmap { File = "dropcopy.bmp" ; };
274	MaskColor = STD_MASKCOLOR ;
275};
276Image RID_IMG_H_DROP_URL
277{
278	ImageBitmap = Bitmap { File = "dropurl_h.bmp" ; };
279	MaskColor = SC_HC_MASKCOLOR ;
280};
281Image RID_IMG_H_DROP_LINK
282{
283	ImageBitmap = Bitmap { File = "droplink_h.bmp" ; };
284	MaskColor = SC_HC_MASKCOLOR ;
285};
286Image RID_IMG_H_DROP_COPY
287{
288	ImageBitmap = Bitmap { File = "dropcopy_h.bmp" ; };
289	MaskColor = SC_HC_MASKCOLOR ;
290};
291
292//	content description strings are also used in ScLinkTargetsObj
293
294String SCSTR_CONTENT_ROOT
295{
296	Text [ en-US ] = "Contents" ;
297};
298String SCSTR_CONTENT_TABLE
299{
300	Text [ en-US ] = "Sheets" ;
301};
302String SCSTR_CONTENT_RANGENAME
303{
304	Text [ en-US ] = "Range names" ;
305};
306String SCSTR_CONTENT_DBAREA
307{
308	Text [ en-US ] = "Database Ranges" ;
309};
310String SCSTR_CONTENT_GRAPHIC
311{
312	Text [ en-US ] = "Graphics" ;
313};
314String SCSTR_CONTENT_OLEOBJECT
315{
316	Text [ en-US ] = "OLE objects" ;
317};
318String SCSTR_CONTENT_NOTE
319{
320	Text [ en-US ] = "Comments" ;
321};
322String SCSTR_CONTENT_AREALINK
323{
324	Text [ en-US ] = "Linked areas" ;
325};
326String SCSTR_CONTENT_DRAWING
327{
328	Text [ en-US ] = "Drawing objects";
329};
330 // PopupMenu -------------------------------------------------------------
331Menu RID_POPUP_DROPMODE
332{
333	ItemList =
334	{
335		MenuItem
336		{
337			Identifier = RID_DROPMODE_URL ;
338			HelpId = HID_SC_DROPMODE_URL ;
339			Text [ en-US ] = "Insert as Hyperlink" ;
340		};
341		MenuItem
342		{
343			Identifier = RID_DROPMODE_LINK ;
344			HelpId = HID_SC_DROPMODE_LINK ;
345			Text [ en-US ] = "Insert as Link" ;
346		};
347		MenuItem
348		{
349			Identifier = RID_DROPMODE_COPY ;
350			HelpId = HID_SC_DROPMODE_COPY ;
351			Text [ en-US ] = "Insert as Copy" ;
352		};
353	};
354};
355Menu RID_POPUP_NAVIPI_SCENARIO
356{
357	ItemList =
358	{
359		MenuItem
360		{
361			Identifier = RID_NAVIPI_SCENARIO_DELETE ;
362			HelpId = HID_SC_SCENARIO_DELETE ;
363			Text [ en-US ] = "Delete" ;
364		};
365		MenuItem
366		{
367			Identifier = RID_NAVIPI_SCENARIO_EDIT ;
368			HelpId = HID_SC_SCENARIO_EDIT ;
369			Text [ en-US ] = "Properties..." ;
370		};
371	};
372};
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415