xref: /AOO42X/main/sc/source/ui/navipi/navipi.src (revision 9e1087c0b576d3181c46efb1ceac96dfd6eab482)
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#include "navipi.hrc"
23
24#define SC_NAVI_CMD_IDLIST  \
25    IdList =                \
26    {                       \
27        IID_DATA ;          \
28        IID_UP ;            \
29        IID_DOWN ;          \
30        IID_SCENARIOS ;     \
31        IID_DROPMODE ;      \
32        IID_CHANGEROOT ;    \
33        IID_ZOOMOUT ;       \
34    };                      \
35    IdCount = { 8 ; };
36
37// SC_CONTENT_...
38#define SC_NAVI_CONT_IDLIST \
39    IdList =                \
40    {                       \
41        1 ;                 \
42        2 ;                 \
43        3 ;                 \
44        4 ;                 \
45        5 ;                 \
46        6 ;                 \
47        7 ;                 \
48        8 ;                 \
49    };                      \
50    IdCount = { 8 ; };
51
52Window RID_SCDLG_NAVIGATOR
53{
54    SVLook = TRUE ;
55    HelpId = HID_SC_NAVIGATOR ;
56    //Pos = MAP_APPFONT( 0, 0 ) ;
57    Size = MAP_APPFONT ( 115, 116 ) ;
58    OutputSize = TRUE ;
59    DialogControl = TRUE ;
60    Hide = TRUE ;
61    Text [ en-US ] = "Navigator" ;
62    //Closeable = TRUE ;
63    //Moveable = TRUE ;
64    //Zoomable = TRUE ;
65    //Sizeable = TRUE ;
66    //EnableResizing = TRUE ;
67    //HideWhenDeactivate = TRUE ;
68    //Border = TRUE ;
69    //Dockable = TRUE ;
70    FixedText FT_ROW
71    {
72        //Pos = MAP_APPFONT( 2, 20 ) ;
73        Pos = MAP_APPFONT ( 2, 19 ) ;
74        // an kleinere Toolbox-Bitmaps angepasst
75        Size = MAP_APPFONT ( 19, 10 ) ;
76        Text [ en-US ] = "Row" ;
77    };
78    NumericField ED_ROW
79    {
80        HelpId = HID_SC_NAVIPI_ROW ;
81        Border = TRUE ;
82        //Pos = MAP_APPFONT( 31, 19 ) ;
83        Pos = MAP_APPFONT ( 31, 18 ) ;
84        // an kleinere Toolbox-Bitmaps angepasst
85        Size = MAP_APPFONT ( 30, 12 ) ;
86        Right = TRUE ;
87        Repeat = TRUE ;
88        Spin = TRUE ;
89        SpinSize = 1 ;
90        Minimum = 1 ;
91        First = 1 ;
92        QuickHelpText [ en-US ] = "Row" ;
93    };
94    FixedText FT_COL
95    {
96        Pos = MAP_APPFONT ( 2, 5 ) ;
97        Size = MAP_APPFONT ( 23, 10 ) ;
98        Text [ en-US ] = "Column" ;
99    };
100    SpinField ED_COL
101    {
102        HelpId = HID_SC_NAVIPI_COL ;
103        Border = TRUE ;
104        Pos = MAP_APPFONT ( 31, 4 ) ;
105        Size = MAP_APPFONT ( 30, 12 ) ;
106        Right = TRUE ;
107        Repeat = TRUE ;
108        Spin = TRUE ;
109        QuickHelpText [ en-US ] = "Column" ;
110    };
111    Control LB_ENTRIES
112    {
113        // "Control" braucht immer eigene HelpId
114        HelpId = HID_SC_NAVIPI_ENTRIES ;
115        Border = TRUE ;
116        //Pos = MAP_APPFONT( 2, 52 ) ;
117        Pos = MAP_APPFONT ( 2, 35 ) ;
118        Size = MAP_APPFONT ( 110, 100 ) ;
119        TabStop = TRUE ;
120    };
121    ListBox LB_DOCUMENTS
122    {
123        HelpId = HID_SC_NAVIPI_DOC ;
124        Border = TRUE ;
125        //Pos = MAP_APPFONT( 2, 35 ) ;
126        Pos = MAP_APPFONT ( 2, 89 ) ;
127        Size = MAP_APPFONT ( 82, 50 ) ;
128        TabStop = TRUE ;
129        DropDown = TRUE ;
130        QuickHelpText [ en-US ] = "Document" ;
131    };
132    ImageList IL_CMD
133    {
134        Prefix = "na" ;
135        MaskColor = STD_MASKCOLOR ;
136        SC_NAVI_CMD_IDLIST
137    };
138    ImageList ILH_CMD
139    {
140        Prefix = "nah";
141        MaskColor = SC_HC_MASKCOLOR ;
142        SC_NAVI_CMD_IDLIST
143    };
144    ToolBox TBX_CMD
145    {
146        Pos = MAP_APPFONT ( 66, 3 ) ;
147        HelpId = HID_SC_NAVIPI_TOOLBOX ;
148        SVLook = TRUE ;
149        Border = FALSE ;
150        LineCount = 2 ;
151        ItemList =
152        {
153            ToolBoxItem
154            {
155                Identifier = IID_DATA ;
156                HelpId = HID_SC_NAVIPI_DATA ;
157                Text [ en-US ] = "Data Range" ;
158            };
159            ToolBoxItem
160            {
161                Identifier = IID_UP ;
162                HelpId = HID_SC_NAVIPI_UP ;
163                Text [ en-US ] = "Start" ;
164            };
165            ToolBoxItem
166            {
167                Identifier = IID_DOWN ;
168                HelpId = HID_SC_NAVIPI_DOWN ;
169                Text [ en-US ] = "End" ;
170            };
171            //--------------------------------------------
172            // ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; };
173            //--------------------------------------------
174            //----------------------------------------
175            ToolBoxItem { Type = TOOLBOXITEM_BREAK ; };
176            //----------------------------------------
177            ToolBoxItem
178            {
179                Identifier = IID_ZOOMOUT ;
180                HelpId = HID_SC_NAVIPI_ZOOM ;
181                Text [ en-US ] = "Contents" ;
182            };
183            ToolBoxItem
184            {
185                Identifier = IID_CHANGEROOT ;
186                HelpId = HID_SC_NAVIPI_ROOT ;
187                Text [ en-US ] = "Content View" ;
188            };
189            ToolBoxItem
190            {
191                Identifier = IID_SCENARIOS ;
192                HelpId = HID_SC_NAVIPI_SCEN ;
193                Text [ en-US ] = "Scenarios" ;
194            };
195            ToolBoxItem
196            {
197                Identifier = IID_DROPMODE ;
198                HelpId = HID_SC_NAVIPI_DROP ;
199                DropDown = TRUE ;
200                Text [ en-US ] = "Drag Mode" ;
201            };
202        };
203    };
204    String STR_DRAGMODE
205    {
206        Text [ en-US ] = "Drag Mode" ;
207    };
208    String STR_DISPLAY
209    {
210        Text [ en-US ] = "Display" ;
211    };
212    String STR_ACTIVE
213    {
214        Text [ en-US ] = "active" ;
215    };
216    String STR_NOTACTIVE
217    {
218        Text [ en-US ] = "inactive" ;
219    };
220    String STR_HIDDEN
221    {
222        Text [ en-US ] = "hidden" ;
223    };
224    String STR_ACTIVEWIN
225    {
226        Text [ en-US ] = "Active Window" ;
227    };
228
229    String STR_QHLP_SCEN_LISTBOX
230    {
231        Text [ en-US ] = "Scenario Name" ;
232    };
233
234    String STR_QHLP_SCEN_COMMENT
235    {
236        Text [ en-US ] = "Comment" ;
237    };
238};
239
240
241ImageList RID_IMAGELIST_NAVCONT
242{
243    Prefix = "nc" ;
244    MaskColor = STD_MASKCOLOR ;
245    SC_NAVI_CONT_IDLIST
246};
247ImageList RID_IMAGELIST_H_NAVCONT
248{
249    Prefix = "nch" ;
250    MaskColor = SC_HC_MASKCOLOR ;
251    SC_NAVI_CONT_IDLIST
252};
253
254Image RID_IMG_DROP_URL
255{
256    ImageBitmap = Bitmap { File = "dropurl.png" ; };
257};
258Image RID_IMG_DROP_LINK
259{
260    ImageBitmap = Bitmap { File = "droplink.png" ; };
261};
262Image RID_IMG_DROP_COPY
263{
264    ImageBitmap = Bitmap { File = "dropcopy.png" ; };
265};
266Image RID_IMG_H_DROP_URL
267{
268    ImageBitmap = Bitmap { File = "dropurl_h.png" ; };
269};
270Image RID_IMG_H_DROP_LINK
271{
272    ImageBitmap = Bitmap { File = "droplink_h.png" ; };
273};
274Image RID_IMG_H_DROP_COPY
275{
276    ImageBitmap = Bitmap { File = "dropcopy_h.png" ; };
277};
278
279// content description strings are also used in ScLinkTargetsObj
280
281String SCSTR_CONTENT_ROOT
282{
283    Text [ en-US ] = "Contents" ;
284};
285String SCSTR_CONTENT_TABLE
286{
287    Text [ en-US ] = "Sheets" ;
288};
289String SCSTR_CONTENT_RANGENAME
290{
291    Text [ en-US ] = "Range names" ;
292};
293String SCSTR_CONTENT_DBAREA
294{
295    Text [ en-US ] = "Database ranges" ;
296};
297String SCSTR_CONTENT_GRAPHIC
298{
299    Text [ en-US ] = "Graphics" ;
300};
301String SCSTR_CONTENT_OLEOBJECT
302{
303    Text [ en-US ] = "OLE objects" ;
304};
305String SCSTR_CONTENT_NOTE
306{
307    Text [ en-US ] = "Comments" ;
308};
309String SCSTR_CONTENT_AREALINK
310{
311    Text [ en-US ] = "Linked areas" ;
312};
313String SCSTR_CONTENT_DRAWING
314{
315    Text [ en-US ] = "Drawing objects" ;
316};
317// PopupMenu -------------------------------------------------------------
318Menu RID_POPUP_DROPMODE
319{
320    ItemList =
321    {
322        MenuItem
323        {
324            Identifier = RID_DROPMODE_URL ;
325            HelpId = HID_SC_DROPMODE_URL ;
326            Text [ en-US ] = "Insert as Hyperlink" ;
327        };
328        MenuItem
329        {
330            Identifier = RID_DROPMODE_LINK ;
331            HelpId = HID_SC_DROPMODE_LINK ;
332            Text [ en-US ] = "Insert as Link" ;
333        };
334        MenuItem
335        {
336            Identifier = RID_DROPMODE_COPY ;
337            HelpId = HID_SC_DROPMODE_COPY ;
338            Text [ en-US ] = "Insert as Copy" ;
339        };
340    };
341};
342Menu RID_POPUP_NAVIPI_SCENARIO
343{
344    ItemList =
345    {
346        MenuItem
347        {
348            Identifier = RID_NAVIPI_SCENARIO_DELETE ;
349            HelpId = HID_SC_SCENARIO_DELETE ;
350            Text [ en-US ] = "Delete" ;
351        };
352        MenuItem
353        {
354            Identifier = RID_NAVIPI_SCENARIO_EDIT ;
355            HelpId = HID_SC_SCENARIO_EDIT ;
356            Text [ en-US ] = "Properties..." ;
357        };
358    };
359};
360
361// ********************************************************************** EOF
362