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