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