xref: /AOO41X/main/sd/source/ui/dlg/navigatr.src (revision e33492276f639ebe26fc2b5c7b0b687b13d47e4b)
1*66220049SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*66220049SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*66220049SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*66220049SAndrew Rist * distributed with this work for additional information
6*66220049SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*66220049SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*66220049SAndrew Rist * "License"); you may not use this file except in compliance
9*66220049SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*66220049SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*66220049SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*66220049SAndrew Rist * software distributed under the License is distributed on an
15*66220049SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*66220049SAndrew Rist * KIND, either express or implied.  See the License for the
17*66220049SAndrew Rist * specific language governing permissions and limitations
18*66220049SAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*66220049SAndrew Rist *************************************************************/
21*66220049SAndrew Rist
22*66220049SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "navigatr.hrc"
25cdf0e10cSrcweir#include "helpids.h"
26cdf0e10cSrcweir#include "res_bmp.hrc"
27cdf0e10cSrcweir#define BUTTON_WIDTH 13
28cdf0e10cSrcweir#define BUTTON_COUNT 7
29cdf0e10cSrcweir#define BUTTON_SIZE MAP_APPFONT( BUTTON_WIDTH, BUTTON_WIDTH );
30cdf0e10cSrcweirWindow FLT_NAVIGATOR
31cdf0e10cSrcweir{
32cdf0e10cSrcweir    HelpId = HID_SD_NAVIGATOR ;
33cdf0e10cSrcweir    Size = MAP_APPFONT ( 12 + BUTTON_WIDTH * BUTTON_COUNT , 105 ) ;
34cdf0e10cSrcweir    Text = "Navigator" ;
35cdf0e10cSrcweir    SVLook = TRUE ;
36cdf0e10cSrcweir    DialogControl = TRUE;
37cdf0e10cSrcweir    Control TLB_OBJECTS
38cdf0e10cSrcweir    {
39cdf0e10cSrcweir        HelpId = HID_SD_NAVIGATOR_TLB ;
40cdf0e10cSrcweir        Border = TRUE ;
41cdf0e10cSrcweir        Pos = MAP_APPFONT ( 3 , 20 ) ;
42cdf0e10cSrcweir        Size = MAP_APPFONT ( 6 + BUTTON_WIDTH * BUTTON_COUNT , 67 ) ;
43cdf0e10cSrcweir        TabStop = TRUE ;
44cdf0e10cSrcweir    };
45cdf0e10cSrcweir    ToolBox 1
46cdf0e10cSrcweir    {
47cdf0e10cSrcweir        HelpId = HID_SD_NAVIGATOR_TBX ;
48cdf0e10cSrcweir        SVLook = TRUE ;
49cdf0e10cSrcweir        Pos = MAP_APPFONT ( 3 , 3 ) ;
50cdf0e10cSrcweir        Size = MAP_APPFONT ( 6 + BUTTON_WIDTH , 15 ) ;
51cdf0e10cSrcweir        TabStop = TRUE ;
52cdf0e10cSrcweir        ItemList =
53cdf0e10cSrcweir        {
54cdf0e10cSrcweir            ToolBoxItem
55cdf0e10cSrcweir            {
56cdf0e10cSrcweir                AutoCheck = TRUE ;
57cdf0e10cSrcweir                Identifier = TBI_PEN ;
58cdf0e10cSrcweir                HelpId = HID_SD_NAVIGATOR_TBI_PEN ;
59cdf0e10cSrcweir                Text [ en-US ] = "Pointer" ;
60cdf0e10cSrcweir            };
61cdf0e10cSrcweir            ToolBoxItem
62cdf0e10cSrcweir            {
63cdf0e10cSrcweir                Type = TOOLBOXITEM_SEPARATOR ;
64cdf0e10cSrcweir            };
65cdf0e10cSrcweir            ToolBoxItem
66cdf0e10cSrcweir            {
67cdf0e10cSrcweir                Identifier = TBI_FIRST ;
68cdf0e10cSrcweir                HelpId = HID_SD_NAVIGATOR_TBI_FIRST ;
69cdf0e10cSrcweir                 //Symbol = IMAGEBUTTON_FIRST ;
70cdf0e10cSrcweir                Text [ en-US ] = "First Slide" ;
71cdf0e10cSrcweir            };
72cdf0e10cSrcweir            ToolBoxItem
73cdf0e10cSrcweir            {
74cdf0e10cSrcweir                Identifier = TBI_PREVIOUS ;
75cdf0e10cSrcweir                HelpId = HID_SD_NAVIGATOR_TBI_PREV ;
76cdf0e10cSrcweir                 //Symbol = IMAGEBUTTON_PREV ;
77cdf0e10cSrcweir                Text [ en-US ] = "Previous Slide" ;
78cdf0e10cSrcweir            };
79cdf0e10cSrcweir            ToolBoxItem
80cdf0e10cSrcweir            {
81cdf0e10cSrcweir                Identifier = TBI_NEXT ;
82cdf0e10cSrcweir                HelpId = HID_SD_NAVIGATOR_TBI_NEXT ;
83cdf0e10cSrcweir                 //Symbol = IMAGEBUTTON_NEXT ;
84cdf0e10cSrcweir                /* ### ACHTUNG: Neuer Text in Resource? N�chste Seite : N�chste Seite */
85cdf0e10cSrcweir                /* ### ACHTUNG: Neuer Text in Resource? Zur n�chsten Seite springen : Zur n�chsten Seite springen */
86cdf0e10cSrcweir                Text [ en-US ] = "Next Slide" ;
87cdf0e10cSrcweir            };
88cdf0e10cSrcweir            ToolBoxItem
89cdf0e10cSrcweir            {
90cdf0e10cSrcweir                Identifier = TBI_LAST ;
91cdf0e10cSrcweir                HelpId = HID_SD_NAVIGATOR_TBI_LAST ;
92cdf0e10cSrcweir                 //Symbol = IMAGEBUTTON_LAST ;
93cdf0e10cSrcweir                Text [ en-US ] = "Last Slide" ;
94cdf0e10cSrcweir            };
95cdf0e10cSrcweir            ToolBoxItem
96cdf0e10cSrcweir            {
97cdf0e10cSrcweir                Type = TOOLBOXITEM_SEPARATOR ;
98cdf0e10cSrcweir            };
99cdf0e10cSrcweir            ToolBoxItem
100cdf0e10cSrcweir            {
101cdf0e10cSrcweir                Identifier = TBI_DRAGTYPE ;
102cdf0e10cSrcweir                HelpId = HID_SD_NAVIGATOR_TBI_DRAGTYPE ;
103cdf0e10cSrcweir                DropDown = TRUE ;
104cdf0e10cSrcweir                 //Left = FALSE;
105cdf0e10cSrcweir                /* ### ACHTUNG: Neuer Text in Resource? Modus f�r Drag & Drop ausw�hlen : Modus f�r Drag & Drop ausw�hlen */
106cdf0e10cSrcweir                Text [ en-US ] = "Drag Mode" ;
107cdf0e10cSrcweir            };
108cdf0e10cSrcweir            ToolBoxItem
109cdf0e10cSrcweir            {
110cdf0e10cSrcweir                Identifier = TBI_SHAPE_FILTER ;
111cdf0e10cSrcweir                HelpId = HID_SD_NAVIGATOR_TBI_SHAPE_FILTER ;
112cdf0e10cSrcweir                DropDown = TRUE ;
113cdf0e10cSrcweir                Text [ en-US ] = "Show Shapes" ;
114cdf0e10cSrcweir            };
115cdf0e10cSrcweir        };
116cdf0e10cSrcweir    };
117cdf0e10cSrcweir    ListBox LB_DOCS
118cdf0e10cSrcweir    {
119cdf0e10cSrcweir        HelpId = HID_SD_NAVIGATOR_LB ;
120cdf0e10cSrcweir        Border = TRUE ;
121cdf0e10cSrcweir        Pos = MAP_APPFONT ( 3 , 89 ) ;
122cdf0e10cSrcweir        Size = MAP_APPFONT ( 6 + BUTTON_WIDTH * BUTTON_COUNT , 90 ) ;
123cdf0e10cSrcweir        TabStop = TRUE ;
124cdf0e10cSrcweir        DropDown = TRUE ;
125cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Documents" ;
126cdf0e10cSrcweir        /* ### ACHTUNG: Neuer Text in Resource? Ge�ffnete Dokumente : Ge�ffnete Dokumente */
127cdf0e10cSrcweir    };
128cdf0e10cSrcweir
129cdf0e10cSrcweir    #define NAVIGATR_IDLIST \
130cdf0e10cSrcweir        IdList =            \
131cdf0e10cSrcweir        {                   \
132cdf0e10cSrcweir            TBI_PEN ;   \
133cdf0e10cSrcweir            TBI_FIRST ; \
134cdf0e10cSrcweir            TBI_PREVIOUS ;  \
135cdf0e10cSrcweir            TBI_NEXT ;  \
136cdf0e10cSrcweir            TBI_LAST ;  \
137cdf0e10cSrcweir            TBI_EMBEDDED ;  \
138cdf0e10cSrcweir            TBI_LINK ; \
139cdf0e10cSrcweir            TBI_HYPERLINK ; \
140cdf0e10cSrcweir        };                 \
141cdf0e10cSrcweir        IdCount = { 8 ; };
142cdf0e10cSrcweir
143cdf0e10cSrcweir    #define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; }
144cdf0e10cSrcweir
145cdf0e10cSrcweir    ImageList IL_NAVIGATR
146cdf0e10cSrcweir    {
147cdf0e10cSrcweir        Prefix = "nv";
148cdf0e10cSrcweir        MaskColor = IMAGE_STDBTN_COLOR ;
149cdf0e10cSrcweir        NAVIGATR_IDLIST
150cdf0e10cSrcweir    };
151cdf0e10cSrcweir    ImageList ILH_NAVIGATR
152cdf0e10cSrcweir    {
153cdf0e10cSrcweir        Prefix = "nvh";
154cdf0e10cSrcweir        MaskColor = IMAGE_STDBTN_COLOR ;
155cdf0e10cSrcweir        NAVIGATR_IDLIST
156cdf0e10cSrcweir    };
157cdf0e10cSrcweir};
158cdf0e10cSrcweir
159cdf0e10cSrcweirString STR_OBJECTS_TREE
160cdf0e10cSrcweir{
161cdf0e10cSrcweir    Text [ en-US ] = "Page Tree";
162cdf0e10cSrcweir};
163