xref: /trunk/main/sc/source/ui/navipi/navipi.src (revision 2ff71504)
182177cdbSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
382177cdbSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
482177cdbSAndrew Rist * or more contributor license agreements.  See the NOTICE file
582177cdbSAndrew Rist * distributed with this work for additional information
682177cdbSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
782177cdbSAndrew Rist * to you under the Apache License, Version 2.0 (the
882177cdbSAndrew Rist * "License"); you may not use this file except in compliance
982177cdbSAndrew Rist * with the License.  You may obtain a copy of the License at
1082177cdbSAndrew Rist *
1182177cdbSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
1282177cdbSAndrew Rist *
1382177cdbSAndrew Rist * Unless required by applicable law or agreed to in writing,
1482177cdbSAndrew Rist * software distributed under the License is distributed on an
1582177cdbSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1682177cdbSAndrew Rist * KIND, either express or implied.  See the License for the
1782177cdbSAndrew Rist * specific language governing permissions and limitations
1882177cdbSAndrew Rist * under the License.
1982177cdbSAndrew Rist *
2082177cdbSAndrew Rist *************************************************************/
2182177cdbSAndrew Rist
2282177cdbSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "navipi.hrc"
25cdf0e10cSrcweir
26cdf0e10cSrcweir#define SC_NAVI_CMD_IDLIST \
27cdf0e10cSrcweir	IdList =			   \
28cdf0e10cSrcweir	{					   \
29cdf0e10cSrcweir		IID_DATA ;		   \
30cdf0e10cSrcweir		IID_UP ;		   \
31cdf0e10cSrcweir		IID_DOWN ;		   \
32cdf0e10cSrcweir		IID_SCENARIOS ;	   \
33cdf0e10cSrcweir		IID_DROPMODE ;	   \
34cdf0e10cSrcweir		IID_CHANGEROOT ;   \
35cdf0e10cSrcweir		IID_ZOOMOUT ;	   \
36cdf0e10cSrcweir	};					   \
37cdf0e10cSrcweir	IdCount = { 8 ; };
38cdf0e10cSrcweir
39cdf0e10cSrcweir// SC_CONTENT_...
40cdf0e10cSrcweir#define SC_NAVI_CONT_IDLIST \
41cdf0e10cSrcweir	IdList =				\
42cdf0e10cSrcweir	{						\
43cdf0e10cSrcweir		1 ;					\
44cdf0e10cSrcweir		2 ;					\
45cdf0e10cSrcweir		3 ;					\
46cdf0e10cSrcweir		4 ;					\
47cdf0e10cSrcweir		5 ;					\
48cdf0e10cSrcweir		6 ;					\
49cdf0e10cSrcweir		7 ;					\
50cdf0e10cSrcweir		8 ;					\
51cdf0e10cSrcweir	};						\
52cdf0e10cSrcweir	IdCount = { 8 ; };
53cdf0e10cSrcweir
54cdf0e10cSrcweirWindow RID_SCDLG_NAVIGATOR
55cdf0e10cSrcweir{
56cdf0e10cSrcweir	SVLook = TRUE ;
57cdf0e10cSrcweir	HelpId = HID_SC_NAVIGATOR ;
58cdf0e10cSrcweir	 //?	Pos = MAP_APPFONT( 0, 0 );
59cdf0e10cSrcweir	Size = MAP_APPFONT ( 115 , 116 ) ;
60cdf0e10cSrcweir	OutputSize = TRUE ;
61cdf0e10cSrcweir	DialogControl = TRUE ;
62cdf0e10cSrcweir	Hide = TRUE ;
63cdf0e10cSrcweir	Text [ en-US ] = "Navigator" ;
64cdf0e10cSrcweir	 //    Closeable = TRUE ;
65cdf0e10cSrcweir	 //    Moveable = TRUE ;
66cdf0e10cSrcweir	 //    Zoomable = TRUE ;
67cdf0e10cSrcweir	 //    Sizeable = TRUE ;
68cdf0e10cSrcweir	 //    EnableResizing = TRUE ;
69cdf0e10cSrcweir	 //    HideWhenDeactivate = TRUE ;
70cdf0e10cSrcweir	 //    Border = TRUE ;
71cdf0e10cSrcweir	 //    Dockable = TRUE ;
72cdf0e10cSrcweir	FixedText FT_ROW
73cdf0e10cSrcweir	{
74cdf0e10cSrcweir		 //			Pos = MAP_APPFONT( 2, 20 );
75cdf0e10cSrcweir		Pos = MAP_APPFONT ( 2 , 19 ) ;
76cdf0e10cSrcweir		 // an kleinere Toolbox-Bitmaps angepasst
77cdf0e10cSrcweir		Size = MAP_APPFONT ( 19 , 10 ) ;
78cdf0e10cSrcweir		Text [ en-US ] = "Row" ;
79cdf0e10cSrcweir	};
80cdf0e10cSrcweir	NumericField ED_ROW
81cdf0e10cSrcweir	{
82cdf0e10cSrcweir		HelpId = HID_SC_NAVIPI_ROW ;
83cdf0e10cSrcweir		Border = TRUE ;
84cdf0e10cSrcweir		 //			Pos = MAP_APPFONT( 31, 19 );
85cdf0e10cSrcweir		Pos = MAP_APPFONT ( 31 , 18 ) ;
86cdf0e10cSrcweir		 // an kleinere Toolbox-Bitmaps angepasst
87cdf0e10cSrcweir		Size = MAP_APPFONT ( 30 , 12 ) ;
88cdf0e10cSrcweir		Right = TRUE ;
89cdf0e10cSrcweir		Repeat = TRUE ;
90cdf0e10cSrcweir		Spin = TRUE ;
91cdf0e10cSrcweir		SpinSize = 1 ;
92cdf0e10cSrcweir		Minimum = 1 ;
93cdf0e10cSrcweir		First = 1 ;
94cdf0e10cSrcweir		QuickHelpText [ en-US ] = "Row" ;
95cdf0e10cSrcweir	};
96cdf0e10cSrcweir	FixedText FT_COL
97cdf0e10cSrcweir	{
98cdf0e10cSrcweir		Pos = MAP_APPFONT ( 2 , 5 ) ;
99cdf0e10cSrcweir		Size = MAP_APPFONT ( 23 , 10 ) ;
100cdf0e10cSrcweir		Text [ en-US ] = "Column" ;
101cdf0e10cSrcweir	};
102cdf0e10cSrcweir	SpinField ED_COL
103cdf0e10cSrcweir	{
104cdf0e10cSrcweir		HelpId = HID_SC_NAVIPI_COL ;
105cdf0e10cSrcweir		Border = TRUE ;
106cdf0e10cSrcweir		Pos = MAP_APPFONT ( 31 , 4 ) ;
107cdf0e10cSrcweir		Size = MAP_APPFONT ( 30 , 12 ) ;
108cdf0e10cSrcweir		Right = TRUE ;
109cdf0e10cSrcweir		Repeat = TRUE ;
110cdf0e10cSrcweir		Spin = TRUE ;
111cdf0e10cSrcweir		QuickHelpText [ en-US ] = "Column" ;
112cdf0e10cSrcweir	};
113cdf0e10cSrcweir	Control LB_ENTRIES
114cdf0e10cSrcweir	{
115cdf0e10cSrcweir		 // "Control" braucht immer eigene HelpId
116cdf0e10cSrcweir		HelpId = HID_SC_NAVIPI_ENTRIES ;
117cdf0e10cSrcweir		Border = TRUE ;
118cdf0e10cSrcweir		 //			Pos = MAP_APPFONT( 2, 52 );
119cdf0e10cSrcweir		Pos = MAP_APPFONT ( 2 , 35 ) ;
120cdf0e10cSrcweir		Size = MAP_APPFONT ( 110 , 100 ) ;
121cdf0e10cSrcweir		TabStop = TRUE ;
122cdf0e10cSrcweir	};
123cdf0e10cSrcweir	ListBox LB_DOCUMENTS
124cdf0e10cSrcweir	{
125cdf0e10cSrcweir		HelpId = HID_SC_NAVIPI_DOC ;
126cdf0e10cSrcweir		Border = TRUE ;
127cdf0e10cSrcweir		 //			Pos = MAP_APPFONT( 2, 35 );
128cdf0e10cSrcweir		Pos = MAP_APPFONT ( 2 , 89 ) ;
129cdf0e10cSrcweir		Size = MAP_APPFONT ( 82 , 50 ) ;
130cdf0e10cSrcweir		TabStop = TRUE ;
131cdf0e10cSrcweir		DropDown = TRUE ;
132cdf0e10cSrcweir		QuickHelpText [ en-US ] = "Document" ;
133cdf0e10cSrcweir	};
134cdf0e10cSrcweir    ImageList IL_CMD
135cdf0e10cSrcweir	{
136cdf0e10cSrcweir        Prefix = "na";
137cdf0e10cSrcweir		MaskColor = STD_MASKCOLOR ;
138cdf0e10cSrcweir        SC_NAVI_CMD_IDLIST
139cdf0e10cSrcweir    };
140cdf0e10cSrcweir    ImageList ILH_CMD
141cdf0e10cSrcweir	{
142cdf0e10cSrcweir        Prefix = "nah";
143cdf0e10cSrcweir		MaskColor = SC_HC_MASKCOLOR ;
144cdf0e10cSrcweir        SC_NAVI_CMD_IDLIST
145cdf0e10cSrcweir    };
146cdf0e10cSrcweir	ToolBox TBX_CMD
147cdf0e10cSrcweir	{
148cdf0e10cSrcweir		Pos = MAP_APPFONT ( 66 , 3 ) ;
149cdf0e10cSrcweir		HelpId = HID_SC_NAVIPI_TOOLBOX ;
150cdf0e10cSrcweir		SVLook = TRUE ;
151cdf0e10cSrcweir		Border = FALSE ;
152cdf0e10cSrcweir		LineCount = 2 ;
153cdf0e10cSrcweir		ItemList =
154cdf0e10cSrcweir		{
155cdf0e10cSrcweir			ToolBoxItem
156cdf0e10cSrcweir			{
157cdf0e10cSrcweir				Identifier = IID_DATA ;
158cdf0e10cSrcweir				HelpId = HID_SC_NAVIPI_DATA ;
159cdf0e10cSrcweir				Text [ en-US ] = "Data Range" ;
160cdf0e10cSrcweir			};
161cdf0e10cSrcweir			ToolBoxItem
162cdf0e10cSrcweir			{
163cdf0e10cSrcweir				Identifier = IID_UP ;
164cdf0e10cSrcweir				HelpId = HID_SC_NAVIPI_UP ;
165cdf0e10cSrcweir				Text [ en-US ] = "Start" ;
166cdf0e10cSrcweir			};
167cdf0e10cSrcweir			ToolBoxItem
168cdf0e10cSrcweir			{
169cdf0e10cSrcweir				Identifier = IID_DOWN ;
170cdf0e10cSrcweir				HelpId = HID_SC_NAVIPI_DOWN ;
171cdf0e10cSrcweir				Text [ en-US ] = "End" ;
172cdf0e10cSrcweir			};
173cdf0e10cSrcweir			 //--------------------------------------------
174cdf0e10cSrcweir			 //			ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR; };
175cdf0e10cSrcweir			 //--------------------------------------------
176cdf0e10cSrcweir			 //----------------------------------------
177cdf0e10cSrcweir			ToolBoxItem { Type = TOOLBOXITEM_BREAK ; };
178cdf0e10cSrcweir			 //----------------------------------------
179cdf0e10cSrcweir			ToolBoxItem
180cdf0e10cSrcweir			{
181cdf0e10cSrcweir				Identifier = IID_ZOOMOUT ;
182cdf0e10cSrcweir				HelpId = HID_SC_NAVIPI_ZOOM ;
183cdf0e10cSrcweir				Text [ en-US ] = "Contents" ;
184cdf0e10cSrcweir			};
185cdf0e10cSrcweir			ToolBoxItem
186cdf0e10cSrcweir			{
187cdf0e10cSrcweir				Identifier = IID_CHANGEROOT ;
188cdf0e10cSrcweir				HelpId = HID_SC_NAVIPI_ROOT ;
189*2ff71504Smseidel				Text [ en-US ] = "Content View" ;
190cdf0e10cSrcweir			};
191cdf0e10cSrcweir			ToolBoxItem
192cdf0e10cSrcweir			{
193cdf0e10cSrcweir				Identifier = IID_SCENARIOS ;
194cdf0e10cSrcweir				HelpId = HID_SC_NAVIPI_SCEN ;
195cdf0e10cSrcweir				Text [ en-US ] = "Scenarios" ;
196cdf0e10cSrcweir			};
197cdf0e10cSrcweir			ToolBoxItem
198cdf0e10cSrcweir			{
199cdf0e10cSrcweir				Identifier = IID_DROPMODE ;
200cdf0e10cSrcweir				HelpId = HID_SC_NAVIPI_DROP ;
201cdf0e10cSrcweir				DropDown = TRUE ;
202cdf0e10cSrcweir				Text [ en-US ] = "Drag Mode" ;
203cdf0e10cSrcweir			};
204cdf0e10cSrcweir		};
205cdf0e10cSrcweir	};
206cdf0e10cSrcweir	String STR_DRAGMODE
207cdf0e10cSrcweir	{
208cdf0e10cSrcweir		Text [ en-US ] = "Drag Mode" ;
209cdf0e10cSrcweir	};
210cdf0e10cSrcweir	String STR_DISPLAY
211cdf0e10cSrcweir	{
212cdf0e10cSrcweir		Text [ en-US ] = "Display" ;
213cdf0e10cSrcweir	};
214cdf0e10cSrcweir	String STR_ACTIVE
215cdf0e10cSrcweir	{
216cdf0e10cSrcweir		Text [ en-US ] = "active" ;
217cdf0e10cSrcweir	};
218cdf0e10cSrcweir	String STR_NOTACTIVE
219cdf0e10cSrcweir	{
220cdf0e10cSrcweir		Text [ en-US ] = "inactive" ;
221cdf0e10cSrcweir	};
222cdf0e10cSrcweir	String STR_HIDDEN
223cdf0e10cSrcweir	{
224cdf0e10cSrcweir		Text [ en-US ] = "hidden" ;
225cdf0e10cSrcweir	};
226cdf0e10cSrcweir	String STR_ACTIVEWIN
227cdf0e10cSrcweir	{
228cdf0e10cSrcweir		Text [ en-US ] = "Active Window" ;
229cdf0e10cSrcweir	};
230cdf0e10cSrcweir
231cdf0e10cSrcweir	String STR_QHLP_SCEN_LISTBOX
232cdf0e10cSrcweir	{
233cdf0e10cSrcweir		Text [ en-US ] = "Scenario Name";
234cdf0e10cSrcweir	};
235cdf0e10cSrcweir
236cdf0e10cSrcweir	String STR_QHLP_SCEN_COMMENT
237cdf0e10cSrcweir	{
238cdf0e10cSrcweir		Text [ en-US ] = "Comment";
239cdf0e10cSrcweir	};
240cdf0e10cSrcweir
241cdf0e10cSrcweir};
242cdf0e10cSrcweir
243cdf0e10cSrcweir
244cdf0e10cSrcweirImageList RID_IMAGELIST_NAVCONT
245cdf0e10cSrcweir{
246cdf0e10cSrcweir    Prefix = "nc";
247cdf0e10cSrcweir	MaskColor = STD_MASKCOLOR ;
248cdf0e10cSrcweir    SC_NAVI_CONT_IDLIST
249cdf0e10cSrcweir};
250cdf0e10cSrcweirImageList RID_IMAGELIST_H_NAVCONT
251cdf0e10cSrcweir{
252cdf0e10cSrcweir    Prefix = "nch";
253cdf0e10cSrcweir	MaskColor = SC_HC_MASKCOLOR ;
254cdf0e10cSrcweir    SC_NAVI_CONT_IDLIST
255cdf0e10cSrcweir};
256cdf0e10cSrcweir
257cdf0e10cSrcweirImage RID_IMG_DROP_URL
258cdf0e10cSrcweir{
259c2fa47f5Smseidel	ImageBitmap = Bitmap { File = "dropurl.png" ; };
260cdf0e10cSrcweir	MaskColor = STD_MASKCOLOR ;
261cdf0e10cSrcweir};
262cdf0e10cSrcweirImage RID_IMG_DROP_LINK
263cdf0e10cSrcweir{
264c2fa47f5Smseidel	ImageBitmap = Bitmap { File = "droplink.png" ; };
265cdf0e10cSrcweir	MaskColor = STD_MASKCOLOR ;
266cdf0e10cSrcweir};
267cdf0e10cSrcweirImage RID_IMG_DROP_COPY
268cdf0e10cSrcweir{
269c2fa47f5Smseidel	ImageBitmap = Bitmap { File = "dropcopy.png" ; };
270cdf0e10cSrcweir	MaskColor = STD_MASKCOLOR ;
271cdf0e10cSrcweir};
272cdf0e10cSrcweirImage RID_IMG_H_DROP_URL
273cdf0e10cSrcweir{
274c2fa47f5Smseidel	ImageBitmap = Bitmap { File = "dropurl_h.png" ; };
275cdf0e10cSrcweir	MaskColor = SC_HC_MASKCOLOR ;
276cdf0e10cSrcweir};
277cdf0e10cSrcweirImage RID_IMG_H_DROP_LINK
278cdf0e10cSrcweir{
279c2fa47f5Smseidel	ImageBitmap = Bitmap { File = "droplink_h.png" ; };
280cdf0e10cSrcweir	MaskColor = SC_HC_MASKCOLOR ;
281cdf0e10cSrcweir};
282cdf0e10cSrcweirImage RID_IMG_H_DROP_COPY
283cdf0e10cSrcweir{
284c2fa47f5Smseidel	ImageBitmap = Bitmap { File = "dropcopy_h.png" ; };
285cdf0e10cSrcweir	MaskColor = SC_HC_MASKCOLOR ;
286cdf0e10cSrcweir};
287cdf0e10cSrcweir
288cdf0e10cSrcweir//	content description strings are also used in ScLinkTargetsObj
289cdf0e10cSrcweir
290cdf0e10cSrcweirString SCSTR_CONTENT_ROOT
291cdf0e10cSrcweir{
292cdf0e10cSrcweir	Text [ en-US ] = "Contents" ;
293cdf0e10cSrcweir};
294cdf0e10cSrcweirString SCSTR_CONTENT_TABLE
295cdf0e10cSrcweir{
296cdf0e10cSrcweir	Text [ en-US ] = "Sheets" ;
297cdf0e10cSrcweir};
298cdf0e10cSrcweirString SCSTR_CONTENT_RANGENAME
299cdf0e10cSrcweir{
300cdf0e10cSrcweir	Text [ en-US ] = "Range names" ;
301cdf0e10cSrcweir};
302cdf0e10cSrcweirString SCSTR_CONTENT_DBAREA
303cdf0e10cSrcweir{
304*2ff71504Smseidel	Text [ en-US ] = "Database ranges" ;
305cdf0e10cSrcweir};
306cdf0e10cSrcweirString SCSTR_CONTENT_GRAPHIC
307cdf0e10cSrcweir{
308cdf0e10cSrcweir	Text [ en-US ] = "Graphics" ;
309cdf0e10cSrcweir};
310cdf0e10cSrcweirString SCSTR_CONTENT_OLEOBJECT
311cdf0e10cSrcweir{
312cdf0e10cSrcweir	Text [ en-US ] = "OLE objects" ;
313cdf0e10cSrcweir};
314cdf0e10cSrcweirString SCSTR_CONTENT_NOTE
315cdf0e10cSrcweir{
316cdf0e10cSrcweir	Text [ en-US ] = "Comments" ;
317cdf0e10cSrcweir};
318cdf0e10cSrcweirString SCSTR_CONTENT_AREALINK
319cdf0e10cSrcweir{
320cdf0e10cSrcweir	Text [ en-US ] = "Linked areas" ;
321cdf0e10cSrcweir};
322cdf0e10cSrcweirString SCSTR_CONTENT_DRAWING
323cdf0e10cSrcweir{
324*2ff71504Smseidel	Text [ en-US ] = "Drawing objects" ;
325cdf0e10cSrcweir};
326cdf0e10cSrcweir // PopupMenu -------------------------------------------------------------
327cdf0e10cSrcweirMenu RID_POPUP_DROPMODE
328cdf0e10cSrcweir{
329cdf0e10cSrcweir	ItemList =
330cdf0e10cSrcweir	{
331cdf0e10cSrcweir		MenuItem
332cdf0e10cSrcweir		{
333cdf0e10cSrcweir			Identifier = RID_DROPMODE_URL ;
334cdf0e10cSrcweir			HelpId = HID_SC_DROPMODE_URL ;
335cdf0e10cSrcweir			Text [ en-US ] = "Insert as Hyperlink" ;
336cdf0e10cSrcweir		};
337cdf0e10cSrcweir		MenuItem
338cdf0e10cSrcweir		{
339cdf0e10cSrcweir			Identifier = RID_DROPMODE_LINK ;
340cdf0e10cSrcweir			HelpId = HID_SC_DROPMODE_LINK ;
341cdf0e10cSrcweir			Text [ en-US ] = "Insert as Link" ;
342cdf0e10cSrcweir		};
343cdf0e10cSrcweir		MenuItem
344cdf0e10cSrcweir		{
345cdf0e10cSrcweir			Identifier = RID_DROPMODE_COPY ;
346cdf0e10cSrcweir			HelpId = HID_SC_DROPMODE_COPY ;
347cdf0e10cSrcweir			Text [ en-US ] = "Insert as Copy" ;
348cdf0e10cSrcweir		};
349cdf0e10cSrcweir	};
350cdf0e10cSrcweir};
351cdf0e10cSrcweirMenu RID_POPUP_NAVIPI_SCENARIO
352cdf0e10cSrcweir{
353cdf0e10cSrcweir	ItemList =
354cdf0e10cSrcweir	{
355cdf0e10cSrcweir		MenuItem
356cdf0e10cSrcweir		{
357cdf0e10cSrcweir			Identifier = RID_NAVIPI_SCENARIO_DELETE ;
358cdf0e10cSrcweir			HelpId = HID_SC_SCENARIO_DELETE ;
359cdf0e10cSrcweir			Text [ en-US ] = "Delete" ;
360cdf0e10cSrcweir		};
361cdf0e10cSrcweir		MenuItem
362cdf0e10cSrcweir		{
363cdf0e10cSrcweir			Identifier = RID_NAVIPI_SCENARIO_EDIT ;
364cdf0e10cSrcweir			HelpId = HID_SC_SCENARIO_EDIT ;
365cdf0e10cSrcweir			Text [ en-US ] = "Properties..." ;
366cdf0e10cSrcweir		};
367cdf0e10cSrcweir	};
368cdf0e10cSrcweir};
369cdf0e10cSrcweir
370cdf0e10cSrcweir
371cdf0e10cSrcweir
372cdf0e10cSrcweir
373cdf0e10cSrcweir
374cdf0e10cSrcweir
375cdf0e10cSrcweir
376cdf0e10cSrcweir
377cdf0e10cSrcweir
378cdf0e10cSrcweir
379cdf0e10cSrcweir
380cdf0e10cSrcweir
381cdf0e10cSrcweir
382cdf0e10cSrcweir
383cdf0e10cSrcweir
384cdf0e10cSrcweir
385cdf0e10cSrcweir
386cdf0e10cSrcweir
387cdf0e10cSrcweir
388cdf0e10cSrcweir
389cdf0e10cSrcweir
390cdf0e10cSrcweir
391cdf0e10cSrcweir
392cdf0e10cSrcweir
393cdf0e10cSrcweir
394cdf0e10cSrcweir
395cdf0e10cSrcweir
396cdf0e10cSrcweir
397cdf0e10cSrcweir
398cdf0e10cSrcweir
399cdf0e10cSrcweir
400cdf0e10cSrcweir
401cdf0e10cSrcweir
402cdf0e10cSrcweir
403cdf0e10cSrcweir
404cdf0e10cSrcweir
405cdf0e10cSrcweir
406cdf0e10cSrcweir
407cdf0e10cSrcweir
408cdf0e10cSrcweir
409cdf0e10cSrcweir
410cdf0e10cSrcweir
411