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