xref: /trunk/main/cui/source/customize/selector.src (revision aa2578ada007fe3bf53e728ccd60a159fde5a3c4)
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*aa2578adSmseidel
24b4b8d4b6SMatthias Seidel// include ---------------------------------------------------------------
25cdf0e10cSrcweir#include "helpid.hrc"
26cdf0e10cSrcweir#include <cuires.hrc>
27cdf0e10cSrcweir#include "selector.hrc"
28cdf0e10cSrcweir
29cdf0e10cSrcweir#define FIXEDTEXT_DIALOG_DESCRIPTION \
30cdf0e10cSrcweir    Text [ en-US ] = "Select the library that contains the macro you want. Then select the macro under 'Macro name'." ; \
31cdf0e10cSrcweir
32cdf0e10cSrcweirString STR_SELECTOR_ADD_COMMANDS
33cdf0e10cSrcweir{
34b4b8d4b6SMatthias Seidel    Text [ en-US ] = "Add Commands" ;
35cdf0e10cSrcweir};
36cdf0e10cSrcweir
37cdf0e10cSrcweirString STR_SELECTOR_MACROS
38cdf0e10cSrcweir{
39cdf0e10cSrcweir    Text [ en-US ] = "%PRODUCTNAME Macros" ;
40cdf0e10cSrcweir};
41cdf0e10cSrcweir
42cdf0e10cSrcweirString STR_SELECTOR_CATEGORIES
43cdf0e10cSrcweir{
44cdf0e10cSrcweir    Text [ en-US ] = "~Category" ;
45cdf0e10cSrcweir};
46cdf0e10cSrcweir
47cdf0e10cSrcweirString STR_SELECTOR_COMMANDS
48cdf0e10cSrcweir{
49cdf0e10cSrcweir    Text [ en-US ] = "Commands" ;
50cdf0e10cSrcweir};
51cdf0e10cSrcweir
52cdf0e10cSrcweirString STR_SELECTOR_ADD
53cdf0e10cSrcweir{
54b4b8d4b6SMatthias Seidel    Text [ en-US ] = "Add" ;
55cdf0e10cSrcweir};
56cdf0e10cSrcweir
57cdf0e10cSrcweirString STR_SELECTOR_RUN
58cdf0e10cSrcweir{
59b4b8d4b6SMatthias Seidel    Text [ en-US ] = "Run" ;
60cdf0e10cSrcweir};
61cdf0e10cSrcweir
62cdf0e10cSrcweirString STR_SELECTOR_CLOSE
63cdf0e10cSrcweir{
64b4b8d4b6SMatthias Seidel    Text [ en-US ] = "Close" ;
65cdf0e10cSrcweir};
66cdf0e10cSrcweir
67cdf0e10cSrcweirString STR_SELECTOR_ADD_COMMANDS_DESCRIPTION
68cdf0e10cSrcweir{
69b4b8d4b6SMatthias 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." ;
70cdf0e10cSrcweir};
71cdf0e10cSrcweir
72cdf0e10cSrcweirString STR_BASICMACROS
73cdf0e10cSrcweir{
74cdf0e10cSrcweir    Text [ en-US ] = "BASIC Macros" ;
75cdf0e10cSrcweir};
76cdf0e10cSrcweir
77cdf0e10cSrcweir
78cdf0e10cSrcweirModelessDialog RID_DLG_SCRIPTSELECTOR
79cdf0e10cSrcweir{
80cdf0e10cSrcweir    OutputSize = TRUE ;
81cdf0e10cSrcweir    Size = MAP_APPFONT ( 256, 233 ) ;
82cdf0e10cSrcweir    Text [ en-US ] = "Macro Selector" ;
83cdf0e10cSrcweir    HelpId = HID_SELECTOR_DIALOG ;
84cdf0e10cSrcweir    SvLook = TRUE ;
85cdf0e10cSrcweir    Moveable = TRUE ;
86cdf0e10cSrcweir    Hide = TRUE ;
87cdf0e10cSrcweir    FixedText TXT_SELECTOR_DIALOG_DESCRIPTION
88cdf0e10cSrcweir    {
89cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 8 ) ;
90cdf0e10cSrcweir        Size = MAP_APPFONT ( 190, 48 ) ;
91cdf0e10cSrcweir        Group = TRUE ;
92cdf0e10cSrcweir        Left = TRUE ;
93cdf0e10cSrcweir        WordBreak = TRUE ;
94cdf0e10cSrcweir        FIXEDTEXT_DIALOG_DESCRIPTION
95cdf0e10cSrcweir    };
96cdf0e10cSrcweir    FixedText TXT_SELECTOR_CATEGORIES
97cdf0e10cSrcweir    {
98cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 62 ) ;
99cdf0e10cSrcweir        Size = MAP_APPFONT ( 83, 8 ) ;
100cdf0e10cSrcweir        Group = TRUE ;
101cdf0e10cSrcweir        Left = TRUE ;
102cdf0e10cSrcweir        Text [ en-US ] = "Library" ;
103cdf0e10cSrcweir    };
104cdf0e10cSrcweir    Control BOX_SELECTOR_CATEGORIES
105cdf0e10cSrcweir    {
106cdf0e10cSrcweir        Border = TRUE ;
107cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 73 ) ;
108cdf0e10cSrcweir        Size = MAP_APPFONT ( 83, 89 ) ;
109cdf0e10cSrcweir        TabStop = TRUE ;
110cdf0e10cSrcweir        HelpId = HID_SELECTOR_CATEGORIES ;
111cdf0e10cSrcweir        String STR_MYMACROS
112cdf0e10cSrcweir        {
113cdf0e10cSrcweir                Text [ en-US ] = "My Macros" ;
114cdf0e10cSrcweir        };
115cdf0e10cSrcweir        String STR_PRODMACROS
116cdf0e10cSrcweir        {
117cdf0e10cSrcweir                Text [ en-US ] = "%PRODUCTNAME Macros" ;
118cdf0e10cSrcweir        };
119cdf0e10cSrcweir        Image IMG_HARDDISK
120cdf0e10cSrcweir        {
121b4b8d4b6SMatthias Seidel                ImageBitmap = Bitmap {File = "harddisk_16.png" ;} ;
122cdf0e10cSrcweir        };
123cdf0e10cSrcweir        Image IMG_HARDDISK_HC
124cdf0e10cSrcweir        {
125b4b8d4b6SMatthias Seidel                ImageBitmap = Bitmap {File = "harddisk_16_h.png" ;} ;
126cdf0e10cSrcweir        };
127cdf0e10cSrcweir        Image IMG_LIB
128cdf0e10cSrcweir        {
129cdf0e10cSrcweir                ImageBitmap = Bitmap {File = "im30820.png" ;} ;
130cdf0e10cSrcweir        };
131cdf0e10cSrcweir        Image IMG_LIB_HC
132cdf0e10cSrcweir        {
133cdf0e10cSrcweir                ImageBitmap = Bitmap {File = "imh30820.png" ;} ;
134cdf0e10cSrcweir        };
135cdf0e10cSrcweir        Image IMG_MACRO
136cdf0e10cSrcweir        {
137cdf0e10cSrcweir                ImageBitmap = Bitmap {File = "im30821.png" ;} ;
138cdf0e10cSrcweir        };
139cdf0e10cSrcweir        Image IMG_MACRO_HC
140cdf0e10cSrcweir        {
141cdf0e10cSrcweir                ImageBitmap = Bitmap {File = "imh30821.png" ;} ;
142cdf0e10cSrcweir        };
143cdf0e10cSrcweir        Image IMG_DOC
144cdf0e10cSrcweir        {
145cdf0e10cSrcweir                ImageBitmap = Bitmap {File = "im30826.png" ;} ;
146cdf0e10cSrcweir        };
147cdf0e10cSrcweir        Image IMG_DOC_HC
148cdf0e10cSrcweir        {
149cdf0e10cSrcweir                ImageBitmap = Bitmap {File = "imh30826.png" ;} ;
150cdf0e10cSrcweir        };
151cdf0e10cSrcweir    };
152cdf0e10cSrcweir    FixedText TXT_SELECTOR_COMMANDS
153cdf0e10cSrcweir    {
154cdf0e10cSrcweir        Pos = MAP_APPFONT ( 101, 62 ) ;
155cdf0e10cSrcweir        Size = MAP_APPFONT ( 93, 8 ) ;
156cdf0e10cSrcweir        Left = TRUE ;
157cdf0e10cSrcweir        Text [ en-US ] = "Macro name" ;
158cdf0e10cSrcweir    };
159cdf0e10cSrcweir    Control BOX_SELECTOR_COMMANDS
160cdf0e10cSrcweir    {
161cdf0e10cSrcweir        Border = TRUE ;
162cdf0e10cSrcweir        Pos = MAP_APPFONT ( 101, 73 ) ;
163cdf0e10cSrcweir        Size = MAP_APPFONT ( 93, 89 ) ;
164cdf0e10cSrcweir        TabStop = TRUE ;
165cdf0e10cSrcweir        HelpId = HID_SELECTOR_COMMANDS ;
166cdf0e10cSrcweir    };
167cdf0e10cSrcweir    OKButton BTN_SELECTOR_OK
168cdf0e10cSrcweir    {
169cdf0e10cSrcweir        Pos = MAP_APPFONT ( 200, 73 ) ;
170cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
171cdf0e10cSrcweir        DefButton = TRUE ;
172cdf0e10cSrcweir    };
173cdf0e10cSrcweir    CancelButton BTN_SELECTOR_CANCEL
174cdf0e10cSrcweir    {
175cdf0e10cSrcweir        Pos = MAP_APPFONT ( 200, 90 ) ;
176cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
177cdf0e10cSrcweir    };
178cdf0e10cSrcweir    HelpButton BTN_SELECTOR_HELP
179cdf0e10cSrcweir    {
180cdf0e10cSrcweir        Pos = MAP_APPFONT ( 200, 107 ) ;
181cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
182cdf0e10cSrcweir    };
183cdf0e10cSrcweir    FixedLine GRP_SELECTOR_DESCRIPTION
184cdf0e10cSrcweir    {
185cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 168 ) ;
186cdf0e10cSrcweir        Size = MAP_APPFONT ( 224, 8 ) ;
187cdf0e10cSrcweir        Group = TRUE ;
188cdf0e10cSrcweir        Text [ en-US ] = "Description" ;
189cdf0e10cSrcweir    };
190cdf0e10cSrcweir    FixedText TXT_SELECTOR_DESCRIPTION
191cdf0e10cSrcweir    {
192cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 179 ) ;
193cdf0e10cSrcweir        Size = MAP_APPFONT ( 224, 48 ) ;
194cdf0e10cSrcweir        WordBreak = TRUE ;
195cdf0e10cSrcweir    };
196cdf0e10cSrcweir};
197b4b8d4b6SMatthias Seidel
198cdf0e10cSrcweir// ********************************************************************** EOF
199