xref: /trunk/main/sd/source/ui/dlg/navigatr.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
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 "navigatr.hrc"
29#include "helpids.h"
30#include "res_bmp.hrc"
31#define BUTTON_WIDTH 13
32#define BUTTON_COUNT 7
33#define BUTTON_SIZE MAP_APPFONT( BUTTON_WIDTH, BUTTON_WIDTH );
34Window FLT_NAVIGATOR
35{
36    HelpId = HID_SD_NAVIGATOR ;
37    Size = MAP_APPFONT ( 12 + BUTTON_WIDTH * BUTTON_COUNT , 105 ) ;
38    Text = "Navigator" ;
39    SVLook = TRUE ;
40    DialogControl = TRUE;
41    Control TLB_OBJECTS
42    {
43        HelpId = HID_SD_NAVIGATOR_TLB ;
44        Border = TRUE ;
45        Pos = MAP_APPFONT ( 3 , 20 ) ;
46        Size = MAP_APPFONT ( 6 + BUTTON_WIDTH * BUTTON_COUNT , 67 ) ;
47        TabStop = TRUE ;
48    };
49    ToolBox 1
50    {
51        HelpId = HID_SD_NAVIGATOR_TBX ;
52        SVLook = TRUE ;
53        Pos = MAP_APPFONT ( 3 , 3 ) ;
54        Size = MAP_APPFONT ( 6 + BUTTON_WIDTH , 15 ) ;
55        TabStop = TRUE ;
56        ItemList =
57        {
58            ToolBoxItem
59            {
60                AutoCheck = TRUE ;
61                Identifier = TBI_PEN ;
62                HelpId = HID_SD_NAVIGATOR_TBI_PEN ;
63                Text [ en-US ] = "Pointer" ;
64            };
65            ToolBoxItem
66            {
67                Type = TOOLBOXITEM_SEPARATOR ;
68            };
69            ToolBoxItem
70            {
71                Identifier = TBI_FIRST ;
72                HelpId = HID_SD_NAVIGATOR_TBI_FIRST ;
73                 //Symbol = IMAGEBUTTON_FIRST ;
74                Text [ en-US ] = "First Slide" ;
75            };
76            ToolBoxItem
77            {
78                Identifier = TBI_PREVIOUS ;
79                HelpId = HID_SD_NAVIGATOR_TBI_PREV ;
80                 //Symbol = IMAGEBUTTON_PREV ;
81                Text [ en-US ] = "Previous Slide" ;
82            };
83            ToolBoxItem
84            {
85                Identifier = TBI_NEXT ;
86                HelpId = HID_SD_NAVIGATOR_TBI_NEXT ;
87                 //Symbol = IMAGEBUTTON_NEXT ;
88                /* ### ACHTUNG: Neuer Text in Resource? N�chste Seite : N�chste Seite */
89                /* ### ACHTUNG: Neuer Text in Resource? Zur n�chsten Seite springen : Zur n�chsten Seite springen */
90                Text [ en-US ] = "Next Slide" ;
91            };
92            ToolBoxItem
93            {
94                Identifier = TBI_LAST ;
95                HelpId = HID_SD_NAVIGATOR_TBI_LAST ;
96                 //Symbol = IMAGEBUTTON_LAST ;
97                Text [ en-US ] = "Last Slide" ;
98            };
99            ToolBoxItem
100            {
101                Type = TOOLBOXITEM_SEPARATOR ;
102            };
103            ToolBoxItem
104            {
105                Identifier = TBI_DRAGTYPE ;
106                HelpId = HID_SD_NAVIGATOR_TBI_DRAGTYPE ;
107                DropDown = TRUE ;
108                 //Left = FALSE;
109                /* ### ACHTUNG: Neuer Text in Resource? Modus f�r Drag & Drop ausw�hlen : Modus f�r Drag & Drop ausw�hlen */
110                Text [ en-US ] = "Drag Mode" ;
111            };
112            ToolBoxItem
113            {
114                Identifier = TBI_SHAPE_FILTER ;
115                HelpId = HID_SD_NAVIGATOR_TBI_SHAPE_FILTER ;
116                DropDown = TRUE ;
117                Text [ en-US ] = "Show Shapes" ;
118            };
119        };
120    };
121    ListBox LB_DOCS
122    {
123        HelpId = HID_SD_NAVIGATOR_LB ;
124        Border = TRUE ;
125        Pos = MAP_APPFONT ( 3 , 89 ) ;
126        Size = MAP_APPFONT ( 6 + BUTTON_WIDTH * BUTTON_COUNT , 90 ) ;
127        TabStop = TRUE ;
128        DropDown = TRUE ;
129        QuickHelpText [ en-US ] = "Documents" ;
130        /* ### ACHTUNG: Neuer Text in Resource? Ge�ffnete Dokumente : Ge�ffnete Dokumente */
131    };
132
133    #define NAVIGATR_IDLIST \
134        IdList =            \
135        {                   \
136            TBI_PEN ;   \
137            TBI_FIRST ; \
138            TBI_PREVIOUS ;  \
139            TBI_NEXT ;  \
140            TBI_LAST ;  \
141            TBI_EMBEDDED ;  \
142            TBI_LINK ; \
143            TBI_HYPERLINK ; \
144        };                 \
145        IdCount = { 8 ; };
146
147    #define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; }
148
149    ImageList IL_NAVIGATR
150    {
151        Prefix = "nv";
152        MaskColor = IMAGE_STDBTN_COLOR ;
153        NAVIGATR_IDLIST
154    };
155    ImageList ILH_NAVIGATR
156    {
157        Prefix = "nvh";
158        MaskColor = IMAGE_STDBTN_COLOR ;
159        NAVIGATR_IDLIST
160    };
161};
162
163String STR_OBJECTS_TREE
164{
165    Text [ en-US ] = "Page Tree";
166};
167