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