xref: /trunk/main/sc/source/ui/navipi/navipi.src (revision 2ff71504)
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 "navipi.hrc"
25
26#define SC_NAVI_CMD_IDLIST \
27	IdList =			   \
28	{					   \
29		IID_DATA ;		   \
30		IID_UP ;		   \
31		IID_DOWN ;		   \
32		IID_SCENARIOS ;	   \
33		IID_DROPMODE ;	   \
34		IID_CHANGEROOT ;   \
35		IID_ZOOMOUT ;	   \
36	};					   \
37	IdCount = { 8 ; };
38
39// SC_CONTENT_...
40#define SC_NAVI_CONT_IDLIST \
41	IdList =				\
42	{						\
43		1 ;					\
44		2 ;					\
45		3 ;					\
46		4 ;					\
47		5 ;					\
48		6 ;					\
49		7 ;					\
50		8 ;					\
51	};						\
52	IdCount = { 8 ; };
53
54Window RID_SCDLG_NAVIGATOR
55{
56	SVLook = TRUE ;
57	HelpId = HID_SC_NAVIGATOR ;
58	 //?	Pos = MAP_APPFONT( 0, 0 );
59	Size = MAP_APPFONT ( 115 , 116 ) ;
60	OutputSize = TRUE ;
61	DialogControl = TRUE ;
62	Hide = TRUE ;
63	Text [ en-US ] = "Navigator" ;
64	 //    Closeable = TRUE ;
65	 //    Moveable = TRUE ;
66	 //    Zoomable = TRUE ;
67	 //    Sizeable = TRUE ;
68	 //    EnableResizing = TRUE ;
69	 //    HideWhenDeactivate = TRUE ;
70	 //    Border = TRUE ;
71	 //    Dockable = TRUE ;
72	FixedText FT_ROW
73	{
74		 //			Pos = MAP_APPFONT( 2, 20 );
75		Pos = MAP_APPFONT ( 2 , 19 ) ;
76		 // an kleinere Toolbox-Bitmaps angepasst
77		Size = MAP_APPFONT ( 19 , 10 ) ;
78		Text [ en-US ] = "Row" ;
79	};
80	NumericField ED_ROW
81	{
82		HelpId = HID_SC_NAVIPI_ROW ;
83		Border = TRUE ;
84		 //			Pos = MAP_APPFONT( 31, 19 );
85		Pos = MAP_APPFONT ( 31 , 18 ) ;
86		 // an kleinere Toolbox-Bitmaps angepasst
87		Size = MAP_APPFONT ( 30 , 12 ) ;
88		Right = TRUE ;
89		Repeat = TRUE ;
90		Spin = TRUE ;
91		SpinSize = 1 ;
92		Minimum = 1 ;
93		First = 1 ;
94		QuickHelpText [ en-US ] = "Row" ;
95	};
96	FixedText FT_COL
97	{
98		Pos = MAP_APPFONT ( 2 , 5 ) ;
99		Size = MAP_APPFONT ( 23 , 10 ) ;
100		Text [ en-US ] = "Column" ;
101	};
102	SpinField ED_COL
103	{
104		HelpId = HID_SC_NAVIPI_COL ;
105		Border = TRUE ;
106		Pos = MAP_APPFONT ( 31 , 4 ) ;
107		Size = MAP_APPFONT ( 30 , 12 ) ;
108		Right = TRUE ;
109		Repeat = TRUE ;
110		Spin = TRUE ;
111		QuickHelpText [ en-US ] = "Column" ;
112	};
113	Control LB_ENTRIES
114	{
115		 // "Control" braucht immer eigene HelpId
116		HelpId = HID_SC_NAVIPI_ENTRIES ;
117		Border = TRUE ;
118		 //			Pos = MAP_APPFONT( 2, 52 );
119		Pos = MAP_APPFONT ( 2 , 35 ) ;
120		Size = MAP_APPFONT ( 110 , 100 ) ;
121		TabStop = TRUE ;
122	};
123	ListBox LB_DOCUMENTS
124	{
125		HelpId = HID_SC_NAVIPI_DOC ;
126		Border = TRUE ;
127		 //			Pos = MAP_APPFONT( 2, 35 );
128		Pos = MAP_APPFONT ( 2 , 89 ) ;
129		Size = MAP_APPFONT ( 82 , 50 ) ;
130		TabStop = TRUE ;
131		DropDown = TRUE ;
132		QuickHelpText [ en-US ] = "Document" ;
133	};
134    ImageList IL_CMD
135	{
136        Prefix = "na";
137		MaskColor = STD_MASKCOLOR ;
138        SC_NAVI_CMD_IDLIST
139    };
140    ImageList ILH_CMD
141	{
142        Prefix = "nah";
143		MaskColor = SC_HC_MASKCOLOR ;
144        SC_NAVI_CMD_IDLIST
145    };
146	ToolBox TBX_CMD
147	{
148		Pos = MAP_APPFONT ( 66 , 3 ) ;
149		HelpId = HID_SC_NAVIPI_TOOLBOX ;
150		SVLook = TRUE ;
151		Border = FALSE ;
152		LineCount = 2 ;
153		ItemList =
154		{
155			ToolBoxItem
156			{
157				Identifier = IID_DATA ;
158				HelpId = HID_SC_NAVIPI_DATA ;
159				Text [ en-US ] = "Data Range" ;
160			};
161			ToolBoxItem
162			{
163				Identifier = IID_UP ;
164				HelpId = HID_SC_NAVIPI_UP ;
165				Text [ en-US ] = "Start" ;
166			};
167			ToolBoxItem
168			{
169				Identifier = IID_DOWN ;
170				HelpId = HID_SC_NAVIPI_DOWN ;
171				Text [ en-US ] = "End" ;
172			};
173			 //--------------------------------------------
174			 //			ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR; };
175			 //--------------------------------------------
176			 //----------------------------------------
177			ToolBoxItem { Type = TOOLBOXITEM_BREAK ; };
178			 //----------------------------------------
179			ToolBoxItem
180			{
181				Identifier = IID_ZOOMOUT ;
182				HelpId = HID_SC_NAVIPI_ZOOM ;
183				Text [ en-US ] = "Contents" ;
184			};
185			ToolBoxItem
186			{
187				Identifier = IID_CHANGEROOT ;
188				HelpId = HID_SC_NAVIPI_ROOT ;
189				Text [ en-US ] = "Content View" ;
190			};
191			ToolBoxItem
192			{
193				Identifier = IID_SCENARIOS ;
194				HelpId = HID_SC_NAVIPI_SCEN ;
195				Text [ en-US ] = "Scenarios" ;
196			};
197			ToolBoxItem
198			{
199				Identifier = IID_DROPMODE ;
200				HelpId = HID_SC_NAVIPI_DROP ;
201				DropDown = TRUE ;
202				Text [ en-US ] = "Drag Mode" ;
203			};
204		};
205	};
206	String STR_DRAGMODE
207	{
208		Text [ en-US ] = "Drag Mode" ;
209	};
210	String STR_DISPLAY
211	{
212		Text [ en-US ] = "Display" ;
213	};
214	String STR_ACTIVE
215	{
216		Text [ en-US ] = "active" ;
217	};
218	String STR_NOTACTIVE
219	{
220		Text [ en-US ] = "inactive" ;
221	};
222	String STR_HIDDEN
223	{
224		Text [ en-US ] = "hidden" ;
225	};
226	String STR_ACTIVEWIN
227	{
228		Text [ en-US ] = "Active Window" ;
229	};
230
231	String STR_QHLP_SCEN_LISTBOX
232	{
233		Text [ en-US ] = "Scenario Name";
234	};
235
236	String STR_QHLP_SCEN_COMMENT
237	{
238		Text [ en-US ] = "Comment";
239	};
240
241};
242
243
244ImageList RID_IMAGELIST_NAVCONT
245{
246    Prefix = "nc";
247	MaskColor = STD_MASKCOLOR ;
248    SC_NAVI_CONT_IDLIST
249};
250ImageList RID_IMAGELIST_H_NAVCONT
251{
252    Prefix = "nch";
253	MaskColor = SC_HC_MASKCOLOR ;
254    SC_NAVI_CONT_IDLIST
255};
256
257Image RID_IMG_DROP_URL
258{
259	ImageBitmap = Bitmap { File = "dropurl.png" ; };
260	MaskColor = STD_MASKCOLOR ;
261};
262Image RID_IMG_DROP_LINK
263{
264	ImageBitmap = Bitmap { File = "droplink.png" ; };
265	MaskColor = STD_MASKCOLOR ;
266};
267Image RID_IMG_DROP_COPY
268{
269	ImageBitmap = Bitmap { File = "dropcopy.png" ; };
270	MaskColor = STD_MASKCOLOR ;
271};
272Image RID_IMG_H_DROP_URL
273{
274	ImageBitmap = Bitmap { File = "dropurl_h.png" ; };
275	MaskColor = SC_HC_MASKCOLOR ;
276};
277Image RID_IMG_H_DROP_LINK
278{
279	ImageBitmap = Bitmap { File = "droplink_h.png" ; };
280	MaskColor = SC_HC_MASKCOLOR ;
281};
282Image RID_IMG_H_DROP_COPY
283{
284	ImageBitmap = Bitmap { File = "dropcopy_h.png" ; };
285	MaskColor = SC_HC_MASKCOLOR ;
286};
287
288//	content description strings are also used in ScLinkTargetsObj
289
290String SCSTR_CONTENT_ROOT
291{
292	Text [ en-US ] = "Contents" ;
293};
294String SCSTR_CONTENT_TABLE
295{
296	Text [ en-US ] = "Sheets" ;
297};
298String SCSTR_CONTENT_RANGENAME
299{
300	Text [ en-US ] = "Range names" ;
301};
302String SCSTR_CONTENT_DBAREA
303{
304	Text [ en-US ] = "Database ranges" ;
305};
306String SCSTR_CONTENT_GRAPHIC
307{
308	Text [ en-US ] = "Graphics" ;
309};
310String SCSTR_CONTENT_OLEOBJECT
311{
312	Text [ en-US ] = "OLE objects" ;
313};
314String SCSTR_CONTENT_NOTE
315{
316	Text [ en-US ] = "Comments" ;
317};
318String SCSTR_CONTENT_AREALINK
319{
320	Text [ en-US ] = "Linked areas" ;
321};
322String SCSTR_CONTENT_DRAWING
323{
324	Text [ en-US ] = "Drawing objects" ;
325};
326 // PopupMenu -------------------------------------------------------------
327Menu RID_POPUP_DROPMODE
328{
329	ItemList =
330	{
331		MenuItem
332		{
333			Identifier = RID_DROPMODE_URL ;
334			HelpId = HID_SC_DROPMODE_URL ;
335			Text [ en-US ] = "Insert as Hyperlink" ;
336		};
337		MenuItem
338		{
339			Identifier = RID_DROPMODE_LINK ;
340			HelpId = HID_SC_DROPMODE_LINK ;
341			Text [ en-US ] = "Insert as Link" ;
342		};
343		MenuItem
344		{
345			Identifier = RID_DROPMODE_COPY ;
346			HelpId = HID_SC_DROPMODE_COPY ;
347			Text [ en-US ] = "Insert as Copy" ;
348		};
349	};
350};
351Menu RID_POPUP_NAVIPI_SCENARIO
352{
353	ItemList =
354	{
355		MenuItem
356		{
357			Identifier = RID_NAVIPI_SCENARIO_DELETE ;
358			HelpId = HID_SC_SCENARIO_DELETE ;
359			Text [ en-US ] = "Delete" ;
360		};
361		MenuItem
362		{
363			Identifier = RID_NAVIPI_SCENARIO_EDIT ;
364			HelpId = HID_SC_SCENARIO_EDIT ;
365			Text [ en-US ] = "Properties..." ;
366		};
367	};
368};
369
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