xref: /aoo42x/main/sw/source/ui/utlui/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 "cmdid.h"
29#include "utlui.hrc"
30#include "navipi.hrc"
31#include "helpid.h"
32#include "access.hrc"
33
34Window DLG_NAVIGATION_PI
35{
36	HelpID = HID_NAVIGATION_PI ;
37	OutputSize = TRUE ;
38	DialogControl = TRUE ;
39	SVLook = TRUE ;
40	 //	Size = MAP_PIXEL( 235, 195 );
41	 //	ZoomInOutputSize = MAP_PIXEL(235, 56);
42	Size = MAP_PIXEL ( 282 , 59 ) ;
43	 //    Closeable = TRUE ;
44	 //    Zoomable = TRUE ;
45	 //    Moveable = TRUE ;
46	 //	ZoomIn = FALSE;
47	Hide = TRUE ;
48	 //    HideWhenDeactivate = TRUE ;
49	 //    Sizeable = TRUE ;
50	 //    EnableResizing = TRUE ;
51	 //    Dockable = TRUE ;
52	 //    Sizeable = TRUE ;
53	Text [ en-US ] = "Navigator" ;
54	ExtraData =
55	{
56		198;
57	};
58	/************************************************************************************
59	Toolbox ab 323 x
60************************************************************************************/
61#define NAVI_IDLIST \
62        IdList =                                    \
63        {                                           \
64            FN_UP ;                   \
65            FN_DOWN ;                \
66            FN_SELECT_HEADER ;      \
67            FN_SELECT_FOOTER ;      \
68            FN_SELECT_FOOTNOTE ;    \
69            FN_SHOW_CONTENT_BOX ;       \
70            FN_SHOW_ROOT ;      \
71            FN_ITEM_UP ;        \
72            FN_ITEM_DOWN ;      \
73            FN_ITEM_LEFT ;      \
74            FN_ITEM_RIGHT ;     \
75            FN_DROP_REGION ;    \
76            FN_OUTLINE_LEVEL ;    \
77            FN_SELECT_SET_AUTO_BOOKMARK ; \
78            FN_DROP_REGION_LINK ;   \
79            FN_DROP_REGION_COPY ;   \
80            FN_GLOBAL_SWITCH ;         \
81            FN_GLOBAL_EDIT ;           \
82            FN_GLOBAL_UPDATE ;         \
83            FN_GLOBAL_OPEN ;           \
84            FN_GLOBAL_SAVE_CONTENT ;     \
85            FN_CREATE_NAVIGATION ;       \
86        };                                               \
87        IdCount = { 21 ; };
88
89    ImageList IL_CONTENT
90	{
91        Prefix = "sc";
92        MaskColor = IMAGE_MASK_COLOR ;
93        NAVI_IDLIST
94    };
95    ImageList ILH_CONTENT
96	{
97        Prefix = "sch";
98        MaskColor = IMAGE_MASK_COLOR ;
99        NAVI_IDLIST
100    };
101    Toolbox TB_CONTENT
102	{
103		Pos = MAP_PIXEL ( 5 , 5 ) ;
104		Size = MAP_PIXEL ( 300 , 47 ) ;
105		LineCount = 2 ;
106		ItemList =
107		{
108			ToolBoxItem
109			{
110				Identifier = FN_GLOBAL_SWITCH ;
111				HelpID = HID_NAVI_TBX17 ;
112				Text [ en-US ] = "Toggle" ;
113			};
114			ToolBoxItem
115			{
116				Identifier = FN_CREATE_NAVIGATION ;
117				HelpID = HID_NAVI_TBX24 ;
118				Text [ en-US ] = "Navigation" ;
119                DropDown = TRUE ;
120            };
121            ToolBoxItem
122			{
123				Identifier = FN_UP ;
124				 //					ItemBitmap = Bitmap { File = "navup.bmp"; };
125				HelpID = HID_NAVI_TBX2 ;
126				/* ### ACHTUNG: Neuer Text in Resource? R�ckw�rts : R�ckw�rts */
127				Text [ en-US ] = "Back" ;
128			};
129			ToolBoxItem
130			{
131				Identifier = FN_DOWN ;
132				 //					ItemBitmap = Bitmap { File = "navdn.bmp"; };
133				HelpID = HID_NAVI_TBX3 ;
134				/* ### ACHTUNG: Neuer Text in Resource? Vorw�rts : Vorw�rts */
135				Text [ en-US ] = "Forward" ;
136			};
137			ToolBoxItem
138			{
139				Identifier = FN_DROP_REGION ;
140				HelpID = HID_NAVI_TBX4 ;
141				/* ### ACHTUNG: Neuer Text in Resource? Modus f�r Drag & Drop ausw�hlen : Modus f�r Drag & Drop ausw�hlen */
142				DropDown = TRUE ;
143				Text [ en-US ] = "Drag Mode" ;
144			};
145			ToolBoxItem
146			{
147				Type = TOOLBOXITEM_SEPARATOR ;
148			};
149			ToolBoxItem
150			{
151				Identifier = FN_ITEM_UP ;
152				 //					ItemBitmap = Bitmap { File = "navchup.bmp"; };
153				HelpID = HID_NAVI_TBX5 ;
154				Text [ en-US ] = "Promote Chapter" ;
155				 //HelpText[english_us-wrong] = "Move chapter down";//"Move chapter up"
156			};
157			ToolBoxItem
158			{
159				Identifier = FN_ITEM_DOWN ;
160				 //					ItemBitmap = Bitmap { File = "navchdn.bmp"; };
161				HelpID = HID_NAVI_TBX6 ;
162				Text [ en-US ] = "Demote Chapter" ;
163			};
164			ToolBoxItem
165			{
166				Type = TOOLBOXITEM_BREAK ;
167			};
168			ToolBoxItem
169			{
170				Identifier = FN_SHOW_CONTENT_BOX ;
171				HelpID = HID_NAVI_TBX7 ;
172				Text [ en-US ] = "List Box On/Off" ;
173			};
174			ToolBoxItem
175			{
176				Identifier = FN_SHOW_ROOT ;
177				HelpID = HID_NAVI_TBX8 ;
178				Text [ en-US ] = "Content View" ;
179			};
180			ToolBoxItem
181			{
182				Type = TOOLBOXITEM_SEPARATOR ;
183			};
184			ToolBoxItem
185			{
186				Identifier = FN_SELECT_SET_AUTO_BOOKMARK ;
187				HelpID = HID_NAVI_TBX9 ;
188				 //					ItemBitmap = Bitmap { File = "navstmp.bmp"; };
189				Text [ en-US ] = "Set Reminder" ;
190			};
191			ToolBoxItem
192			{
193				Type = TOOLBOXITEM_SEPARATOR ;
194			};
195			ToolBoxItem
196			{
197				Identifier = FN_SELECT_HEADER ;
198				 //					ItemBitmap = Bitmap { File = "navhead.bmp"; };
199				HelpID = HID_NAVI_TBX10 ;
200				Text [ en-US ] = "Header" ;
201			};
202			ToolBoxItem
203			{
204				Identifier = FN_SELECT_FOOTER ;
205				 //					ItemBitmap = Bitmap { File = "navfoot.bmp"; };
206				HelpID = HID_NAVI_TBX11 ;
207				/* ### ACHTUNG: Neuer Text in Resource? Fu�zeile : Fu�zeile */
208				Text [ en-US ] = "Footer" ;
209				/* ### ACHTUNG: Neuer Text in Resource? Springen zur Fu�zeile : Springen zur Fu�zeile */
210			};
211			ToolBoxItem
212			{
213				Identifier = FN_SELECT_FOOTNOTE ;
214				 //					ItemBitmap = Bitmap { File = "navnote.bmp"; };
215				HelpID = HID_NAVI_TBX12 ;
216				Text [ en-US ] = "Anchor<->Text" ;
217				/* ### ACHTUNG: Neuer Text in Resource? Springen zwischen Fu�notenankern und dem Fu�notentext : Springen zwischen Fu�notenankern und dem Fu�notentext */
218			};
219			ToolBoxItem
220			{
221				Type = TOOLBOXITEM_SEPARATOR ;
222			};
223			ToolBoxItem
224			{
225				Identifier = FN_OUTLINE_LEVEL ;
226				HelpID = HID_NAVI_TBX13 ;
227				/* ### ACHTUNG: Neuer Text in Resource? Angezeigte �berschriftenebenen : Angezeigte �berschriftenebenen */
228				Text [ en-US ] = "Heading Levels Shown" ;
229				DropDown = TRUE ;
230			};
231			ToolBoxItem
232			{
233				Type = TOOLBOXITEM_SEPARATOR ;
234			};
235			ToolBoxItem
236			{
237				Identifier = FN_ITEM_LEFT ;
238				HelpID = HID_NAVI_TBX14 ;
239				 //					ItemBitmap = Bitmap { File = "navchlf.bmp"; };
240				Text [ en-US ] = "Promote Level" ;
241			};
242			ToolBoxItem
243			{
244				Identifier = FN_ITEM_RIGHT ;
245				 //					ItemBitmap = Bitmap { File = "navchrg.bmp"; };
246				HelpID = HID_NAVI_TBX15 ;
247				Text [ en-US ] = "Demote Level" ;
248			};
249		};
250	};
251	ToolBox TB_GLOBAL
252	{
253		Pos = MAP_PIXEL ( 5 , 5 ) ;
254		Size = MAP_PIXEL ( 300 , 47 ) ;
255		LineCount = 1 ;
256		Hide = TRUE ;
257		ItemList =
258		{
259			ToolBoxItem
260			{
261				Identifier = FN_GLOBAL_SWITCH ;
262				HelpID = HID_NAVI_TBX17 ;
263				Text [ en-US ] = "Toggle" ;
264			};
265			ToolBoxItem
266			{
267				Type = TOOLBOXITEM_SEPARATOR ;
268			};
269			ToolBoxItem
270			{
271				Identifier = FN_GLOBAL_EDIT ;
272				HelpID = HID_NAVI_TBX18 ;
273				Text [ en-US ] = "Edit" ;
274			};
275			ToolBoxItem
276			{
277				Identifier = FN_GLOBAL_UPDATE ;
278				HelpID = HID_NAVI_TBX19 ;
279				Text [ en-US ] = "Update" ;
280			};
281			ToolBoxItem
282			{
283				Identifier = FN_GLOBAL_OPEN ;
284				HelpID = HID_NAVI_TBX20 ;
285				/* ### ACHTUNG: Neuer Text in Resource? Einf�gen : Einf�gen */
286				Text [ en-US ] = "Insert" ;
287			};
288			ToolBoxItem
289			{
290				Type = TOOLBOXITEM_SEPARATOR ;
291			};
292			ToolBoxItem
293			{
294				Identifier = FN_GLOBAL_SAVE_CONTENT ;
295				HelpID = HID_NAVI_TBX21 ;
296				Text [ en-US ] = "Save Contents as well" ;
297			};
298			ToolBoxItem
299			{
300				Type = TOOLBOXITEM_SEPARATOR ;
301			};
302			ToolBoxItem
303			{
304				Identifier = FN_ITEM_UP ;
305				HelpID = HID_NAVI_TBX22 ;
306				/* ### ACHTUNG: Neuer Text in Resource? Nach oben verschieben : Nach unten verschieben */
307				Text [ en-US ] = "Move Up" ;
308			};
309			ToolBoxItem
310			{
311				Identifier = FN_ITEM_DOWN ;
312				HelpID = HID_NAVI_TBX23 ;
313				/* ### ACHTUNG: Neuer Text in Resource? Nach unten verschieben : Nach oben verschieben */
314				Text [ en-US ] = "Move Down" ;
315			};
316		};
317	};
318	/* TreeListBox */
319	Control TL_CONTENT
320	{
321		HelpID = HID_NAVI_CONTENT ;
322		Border = TRUE ;
323		Pos = MAP_PIXEL ( 5 , 62 ) ;
324		Size = MAP_PIXEL ( 274 , 112 ) ;
325		TabStop = TRUE ;
326		ClipChildren = TRUE ;
327		Hide = TRUE ;
328	};
329	Control TL_GLOBAL
330	{
331		HelpID = HID_NAVI_GLOBAL ;
332		Border = TRUE ;
333		Pos = MAP_PIXEL ( 5 , 34 ) ;
334		Size = MAP_PIXEL ( 274 , 112 ) ;
335		TabStop = TRUE ;
336		ClipChildren = TRUE ;
337		Hide = TRUE ;
338	};
339	ListBox LB_DOCS
340	{
341		Border = TRUE ;
342		Pos = MAP_PIXEL ( 5 , 115 ) ;
343		Size = MAP_APPFONT ( 150 , 50 ) ;
344		DropDown = TRUE ;
345	};
346	NumericField NF_PAGE
347	{
348		Border = TRUE ;
349		Pos = MAP_PIXEL ( 50 , 29 ) ;
350        Size = MAP_PIXEL ( 34 , 20 ) ;
351		TabStop = TRUE ;
352		Left = TRUE ;
353		Repeat = TRUE ;
354		Spin = TRUE ;
355		Minimum = 1 ;
356		First = 1 ;
357		 // Outline als Default
358		Maximum = 5 ;
359		Last = 5 ;
360		Value = 5 ;
361	};
362	String ST_OUTLINE_LEVEL
363	{
364		Text [ en-US ] = "Outline Level" ;
365	};
366	String ST_DRAGMODE
367	{
368		Text [ en-US ] = "Drag Mode" ;
369	};
370	String ST_HYPERLINK
371	{
372		/* ### ACHTUNG: Neuer Text in Resource? Als Hyperlink einf�gen : Als Hyperlink einf�gen */
373		Text [ en-US ] = "Insert as Hyperlink" ;
374	};
375	String ST_LINK_REGION
376	{
377		/* ### ACHTUNG: Neuer Text in Resource? Als Verkn�pfung einf�gen : Als Verkn�pfung einf�gen */
378		Text [ en-US ] = "Insert as Link" ;
379	};
380	String ST_COPY_REGION
381	{
382		/* ### ACHTUNG: Neuer Text in Resource? Als Kopie einf�gen : Als Kopie einf�gen */
383		Text [ en-US ] = "Insert as Copy" ;
384	};
385	String ST_DISPLAY
386	{
387		Text [ en-US ] = "Display" ;
388	};
389	String ST_ACTIVE_VIEW
390	{
391		Text [ en-US ] = "Active Window" ;
392	};
393	String ST_HIDDEN
394	{
395		Text [ en-US ] = "hidden" ;
396	};
397	String ST_ACTIVE
398	{
399		Text [ en-US ] = "active" ;
400	};
401	String ST_INACTIVE
402	{
403		Text [ en-US ] = "inactive" ;
404	};
405	String ST_EDIT_ENTRY
406	{
407		Text [ en-US ] = "Edit..." ;
408	};
409	String ST_UPDATE
410	{
411		Text [ en-US ] = "~Update" ;
412	};
413	String ST_EDIT_CONTENT
414	{
415		Text [ en-US ] = "Edit" ;
416	};
417    String ST_EDIT_LINK
418	{
419    	Text [ en-US ] = "Edit link";
420	};
421	String ST_INSERT
422	{
423		/* ### ACHTUNG: Neuer Text in Resource? Einf�gen : Einf�gen */
424		Text [ en-US ] = "Insert" ;
425	};
426	String ST_INDEX
427	{
428		Text [ en-US ] = "~Index";
429	};
430	String ST_FILE
431	{
432		Text [ en-US ] = "File" ;
433	};
434	String ST_NEW_FILE
435	{
436		Text [ en-US ] = "New Document" ;
437	};
438	String ST_TEXT
439	{
440		Text [ en-US ] = "Text" ;
441	};
442	String ST_DELETE
443	{
444		/* ### ACHTUNG: Neuer Text in Resource? L�schen : L�schen */
445		Text [ en-US ] = "Delete" ;
446	};
447	String ST_DELETE_ENTRY
448	{
449		Text [ en-US ] = "~Delete" ;
450	};
451	String ST_UPDATE_SEL
452	{
453		Text [ en-US ] = "Selection" ;
454	};
455	String ST_UPDATE_INDEX
456	{
457		Text [ en-US ] = "Indexes" ;
458	};
459	String ST_UPDATE_LINK
460	{
461		/* ### ACHTUNG: Neuer Text in Resource? Verkn�pfungen : Verkn�pfungen */
462		Text [ en-US ] = "Links" ;
463	};
464	String ST_UPDATE_ALL
465	{
466		Text [ en-US ] = "All" ;
467	};
468	String ST_REMOVE_INDEX
469	{
470		Text [ en-US ] = "~Remove Index" ;
471	};
472	String ST_REMOVE_TBL_PROTECTION
473	{
474		Text [ en-US ] = "~Unprotect" ;
475	};
476	String ST_INVISIBLE
477	{
478		Text [ en-US ] = "hidden";
479	};
480	String ST_BROKEN_LINK
481	{
482		Text [ en-US ] = "File not found: ";
483	};
484	String ST_RENAME
485	{
486		Text [ en-US ] = "~Rename";
487	};
488	String ST_READONLY_IDX
489	{
490		Text [ en-US ] = "Read-~only";
491	};
492	String ST_POSTIT_SHOW
493	{
494		Text [ en-US ] = "Show All";
495	};
496	String ST_POSTIT_HIDE
497	{
498		Text [ en-US ] = "Hide All";
499	};
500	String ST_POSTIT_DELETE
501	{
502		Text [ en-US ] = "Delete All";
503	};
504};
505#define NAVI_ENTRY_IDS \
506    IdList =           \
507    {                  \
508        20000 ;        \
509        20001 ;        \
510        20002 ;        \
511        20003 ;        \
512        20004 ;        \
513        20005 ;        \
514        20006 ;        \
515        20007 ;        \
516        20008 ;        \
517        20009 ;        \
518        20010 ;        \
519        20011 ;        \
520    };                 \
521    IdCount = { 12 ; };
522
523
524
525ImageList IMG_NAVI_ENTRYBMP
526{
527    Prefix = "nc";
528    MaskColor = IMAGE_MASK_COLOR ;
529    NAVI_ENTRY_IDS
530};
531
532ImageList IMG_NAVI_ENTRYBMPH
533{
534    Prefix = "nch";
535    MaskColor = IMAGE_MASK_COLOR ;
536    NAVI_ENTRY_IDS
537};
538
539//IAccessibility2 Implementation 2009-----
540String STR_ACCESS_TL_GLOBAL
541{
542	Text [ en-US ] = "Global View";
543};
544String STR_ACCESS_TL_CONTENT
545{
546	Text [ en-US ] = "Content View";
547};
548//-----IAccessibility2 Implementation 2009
549
550