xref: /trunk/main/cui/source/customize/selector.src (revision b4b8d4b6b9a4e15e375a6c9b661f69b111d4b368)
10e2af6afSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
30e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
40e2af6afSAndrew Rist * or more contributor license agreements.  See the NOTICE file
50e2af6afSAndrew Rist * distributed with this work for additional information
60e2af6afSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
70e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the
80e2af6afSAndrew Rist * "License"); you may not use this file except in compliance
90e2af6afSAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
130e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing,
140e2af6afSAndrew Rist * software distributed under the License is distributed on an
150e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
160e2af6afSAndrew Rist * KIND, either express or implied.  See the License for the
170e2af6afSAndrew Rist * specific language governing permissions and limitations
180e2af6afSAndrew Rist * under the License.
19cdf0e10cSrcweir *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
220e2af6afSAndrew Rist
23*b4b8d4b6SMatthias Seidel// include ---------------------------------------------------------------
24cdf0e10cSrcweir#include "helpid.hrc"
25cdf0e10cSrcweir#include <cuires.hrc>
26cdf0e10cSrcweir#include "selector.hrc"
27cdf0e10cSrcweir
28cdf0e10cSrcweir#define FIXEDTEXT_DIALOG_DESCRIPTION \
29cdf0e10cSrcweir    Text [ en-US ] = "Select the library that contains the macro you want. Then select the macro under 'Macro name'." ;\
30cdf0e10cSrcweir
31cdf0e10cSrcweirString STR_SELECTOR_ADD_COMMANDS
32cdf0e10cSrcweir{
33*b4b8d4b6SMatthias Seidel    Text [ en-US ] = "Add Commands" ;
34cdf0e10cSrcweir};
35cdf0e10cSrcweir
36cdf0e10cSrcweirString STR_SELECTOR_MACROS
37cdf0e10cSrcweir{
38cdf0e10cSrcweir    Text [ en-US ] = "%PRODUCTNAME Macros" ;
39cdf0e10cSrcweir};
40cdf0e10cSrcweir
41cdf0e10cSrcweirString STR_SELECTOR_CATEGORIES
42cdf0e10cSrcweir{
43cdf0e10cSrcweir    Text [ en-US ] = "~Category" ;
44cdf0e10cSrcweir};
45cdf0e10cSrcweir
46cdf0e10cSrcweirString STR_SELECTOR_COMMANDS
47cdf0e10cSrcweir{
48cdf0e10cSrcweir    Text [ en-US ] = "Commands" ;
49cdf0e10cSrcweir};
50cdf0e10cSrcweir
51cdf0e10cSrcweirString STR_SELECTOR_ADD
52cdf0e10cSrcweir{
53*b4b8d4b6SMatthias Seidel    Text [ en-US ] = "Add" ;
54cdf0e10cSrcweir};
55cdf0e10cSrcweir
56cdf0e10cSrcweirString STR_SELECTOR_RUN
57cdf0e10cSrcweir{
58*b4b8d4b6SMatthias Seidel    Text [ en-US ] = "Run" ;
59cdf0e10cSrcweir};
60cdf0e10cSrcweir
61cdf0e10cSrcweirString STR_SELECTOR_CLOSE
62cdf0e10cSrcweir{
63*b4b8d4b6SMatthias Seidel    Text [ en-US ] = "Close" ;
64cdf0e10cSrcweir};
65cdf0e10cSrcweir
66cdf0e10cSrcweirString STR_SELECTOR_ADD_COMMANDS_DESCRIPTION
67cdf0e10cSrcweir{
68*b4b8d4b6SMatthias Seidel    Text [ en-US ] = "To add a command to a toolbar, select the category and then the command. Then drag the command to the Commands list of the Toolbars tab page in the Customize dialog." ;
69cdf0e10cSrcweir};
70cdf0e10cSrcweir
71cdf0e10cSrcweirString STR_BASICMACROS
72cdf0e10cSrcweir{
73cdf0e10cSrcweir    Text [ en-US ] = "BASIC Macros" ;
74cdf0e10cSrcweir};
75cdf0e10cSrcweir
76cdf0e10cSrcweir
77cdf0e10cSrcweirModelessDialog RID_DLG_SCRIPTSELECTOR
78cdf0e10cSrcweir{
79cdf0e10cSrcweir    OutputSize = TRUE ;
80cdf0e10cSrcweir    Size = MAP_APPFONT ( 256, 233 ) ;
81cdf0e10cSrcweir    Text [ en-US ] = "Macro Selector" ;
82cdf0e10cSrcweir    HelpId = HID_SELECTOR_DIALOG;
83cdf0e10cSrcweir    SvLook = TRUE ;
84cdf0e10cSrcweir    Moveable = TRUE ;
85cdf0e10cSrcweir    Hide = TRUE;
86cdf0e10cSrcweir    FixedText TXT_SELECTOR_DIALOG_DESCRIPTION
87cdf0e10cSrcweir    {
88cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 8 ) ;
89cdf0e10cSrcweir        Size = MAP_APPFONT ( 190, 48 ) ;
90cdf0e10cSrcweir        Group = TRUE ;
91cdf0e10cSrcweir        Left = TRUE ;
92cdf0e10cSrcweir        WordBreak = TRUE ;
93cdf0e10cSrcweir        FIXEDTEXT_DIALOG_DESCRIPTION
94cdf0e10cSrcweir    };
95cdf0e10cSrcweir    FixedText TXT_SELECTOR_CATEGORIES
96cdf0e10cSrcweir    {
97cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 62 ) ;
98cdf0e10cSrcweir        Size = MAP_APPFONT ( 83, 8 ) ;
99cdf0e10cSrcweir        Group = TRUE ;
100cdf0e10cSrcweir        Left = TRUE ;
101cdf0e10cSrcweir        Text [ en-US ] = "Library" ;
102cdf0e10cSrcweir    };
103cdf0e10cSrcweir    Control BOX_SELECTOR_CATEGORIES
104cdf0e10cSrcweir    {
105cdf0e10cSrcweir        Border = TRUE ;
106cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 73 ) ;
107cdf0e10cSrcweir        Size = MAP_APPFONT ( 83, 89 ) ;
108cdf0e10cSrcweir        TabStop = TRUE;
109cdf0e10cSrcweir        HelpId = HID_SELECTOR_CATEGORIES;
110cdf0e10cSrcweir        String STR_MYMACROS
111cdf0e10cSrcweir        {
112cdf0e10cSrcweir                Text [ en-US ] = "My Macros" ;
113cdf0e10cSrcweir        };
114cdf0e10cSrcweir        String STR_PRODMACROS
115cdf0e10cSrcweir        {
116cdf0e10cSrcweir                Text [ en-US ] = "%PRODUCTNAME Macros" ;
117cdf0e10cSrcweir        };
118cdf0e10cSrcweir        Image IMG_HARDDISK
119cdf0e10cSrcweir        {
120*b4b8d4b6SMatthias Seidel                ImageBitmap = Bitmap { File = "harddisk_16.png" ; };
121cdf0e10cSrcweir        };
122cdf0e10cSrcweir        Image IMG_HARDDISK_HC
123cdf0e10cSrcweir        {
124*b4b8d4b6SMatthias Seidel                ImageBitmap = Bitmap { File = "harddisk_16_h.png" ; };
125cdf0e10cSrcweir        };
126cdf0e10cSrcweir        Image IMG_LIB
127cdf0e10cSrcweir        {
128cdf0e10cSrcweir                ImageBitmap = Bitmap { File = "im30820.png" ; };
129cdf0e10cSrcweir        };
130cdf0e10cSrcweir        Image IMG_LIB_HC
131cdf0e10cSrcweir        {
132cdf0e10cSrcweir                ImageBitmap = Bitmap { File = "imh30820.png" ; };
133cdf0e10cSrcweir        };
134cdf0e10cSrcweir        Image IMG_MACRO
135cdf0e10cSrcweir        {
136cdf0e10cSrcweir                ImageBitmap = Bitmap { File = "im30821.png" ; };
137cdf0e10cSrcweir        };
138cdf0e10cSrcweir        Image IMG_MACRO_HC
139cdf0e10cSrcweir        {
140cdf0e10cSrcweir                ImageBitmap = Bitmap { File = "imh30821.png" ; };
141cdf0e10cSrcweir        };
142cdf0e10cSrcweir        Image IMG_DOC
143cdf0e10cSrcweir        {
144cdf0e10cSrcweir                ImageBitmap = Bitmap { File = "im30826.png" ; };
145cdf0e10cSrcweir        };
146cdf0e10cSrcweir        Image IMG_DOC_HC
147cdf0e10cSrcweir        {
148cdf0e10cSrcweir                ImageBitmap = Bitmap { File = "imh30826.png" ; };
149cdf0e10cSrcweir        };
150cdf0e10cSrcweir    };
151cdf0e10cSrcweir    FixedText TXT_SELECTOR_COMMANDS
152cdf0e10cSrcweir    {
153cdf0e10cSrcweir        Pos = MAP_APPFONT ( 101, 62 ) ;
154cdf0e10cSrcweir        Size = MAP_APPFONT ( 93, 8 ) ;
155cdf0e10cSrcweir        Left = TRUE ;
156cdf0e10cSrcweir        Text [ en-US ] = "Macro name" ;
157cdf0e10cSrcweir    };
158cdf0e10cSrcweir    Control BOX_SELECTOR_COMMANDS
159cdf0e10cSrcweir    {
160cdf0e10cSrcweir        Border = TRUE ;
161cdf0e10cSrcweir        Pos = MAP_APPFONT ( 101, 73 ) ;
162cdf0e10cSrcweir        Size = MAP_APPFONT ( 93, 89 ) ;
163cdf0e10cSrcweir        TabStop = TRUE;
164cdf0e10cSrcweir        HelpId = HID_SELECTOR_COMMANDS;
165cdf0e10cSrcweir    };
166cdf0e10cSrcweir    OKButton BTN_SELECTOR_OK
167cdf0e10cSrcweir    {
168cdf0e10cSrcweir        Pos = MAP_APPFONT ( 200, 73 ) ;
169cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
170cdf0e10cSrcweir        DefButton = TRUE;
171cdf0e10cSrcweir    };
172cdf0e10cSrcweir    CancelButton BTN_SELECTOR_CANCEL
173cdf0e10cSrcweir    {
174cdf0e10cSrcweir        Pos = MAP_APPFONT ( 200, 90 ) ;
175cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
176cdf0e10cSrcweir    };
177cdf0e10cSrcweir    HelpButton BTN_SELECTOR_HELP
178cdf0e10cSrcweir    {
179cdf0e10cSrcweir        Pos = MAP_APPFONT ( 200, 107 ) ;
180cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
181cdf0e10cSrcweir    };
182cdf0e10cSrcweir    FixedLine GRP_SELECTOR_DESCRIPTION
183cdf0e10cSrcweir    {
184cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 168 ) ;
185cdf0e10cSrcweir        Size = MAP_APPFONT ( 224, 8 ) ;
186cdf0e10cSrcweir        Group = TRUE ;
187cdf0e10cSrcweir        Text [ en-US ] = "Description" ;
188cdf0e10cSrcweir    };
189cdf0e10cSrcweir    FixedText TXT_SELECTOR_DESCRIPTION
190cdf0e10cSrcweir    {
191cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 179 ) ;
192cdf0e10cSrcweir        Size = MAP_APPFONT ( 224, 48 ) ;
193cdf0e10cSrcweir        WordBreak = TRUE ;
194cdf0e10cSrcweir    };
195cdf0e10cSrcweir};
196*b4b8d4b6SMatthias Seidel
197cdf0e10cSrcweir// ********************************************************************** EOF
198