xref: /trunk/main/basctl/source/basicide/macrodlg.src (revision 31d35622ee258902b338f9bfdfb2a2ed84b7bb6c)
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 <sfx2/sfx.hrc>
23#include "macrodlg.hrc"
24#include <basidesh.hrc>
25#include <helpid.hrc>
26ModalDialog RID_MACROCHOOSER
27{
28    HelpId = "basctl:ModalDialog:RID_MACROCHOOSER" ;
29    OutputSize = TRUE ;
30    SVLook = TRUE ;
31    Size = MAP_APPFONT ( 287, 165 ) ;
32    Text [ en-US ] = "%PRODUCTNAME Basic Macros" ;
33    Moveable = TRUE ;
34    //Closeable = TRUE ;
35
36    FixedText RID_TXT_MACROSIN
37    {
38        Pos = MAP_APPFONT ( 122, 30 ) ;
39        Size = MAP_APPFONT ( 100, 10 ) ;
40        Text [ en-US ] = "Existing macros ~in:" ;
41    };
42    Control RID_CTRL_MACRO
43    {
44        HelpID = HID_BASICIDE_MACROS ;
45        Border = TRUE ;
46        Pos = MAP_APPFONT ( 122, 41 ) ;
47        Size = MAP_APPFONT ( 100, 117 ) ;
48        // Size = MAP_APPFONT ( 100, 117 ) ;
49        TabStop = TRUE ;
50    };
51    Control RID_CTRL_LIB
52    {
53        HelpID = HID_BASICIDE_LIBS ;
54        Border = TRUE ;
55        Pos = MAP_APPFONT ( 6, 41 ) ;
56        Size = MAP_APPFONT ( 110, 117 ) ;
57        TabStop = TRUE ;
58    };
59    FixedText RID_TXT_MACRONAME
60    {
61        Pos = MAP_APPFONT ( 6, 3 ) ;
62        Size = MAP_APPFONT ( 100, 10 ) ;
63        Text [ en-US ] = "~Macro name" ;
64    };
65    Edit RID_ED_MACRONAME
66    {
67        HelpID = "basctl:Edit:RID_MACROCHOOSER:RID_ED_MACRONAME" ;
68        Border = TRUE ;
69        SVLook = TRUE ;
70        Pos = MAP_APPFONT ( 6, 14 ) ;
71        Size = MAP_APPFONT ( 110, 12 ) ;
72        TabStop = TRUE ;
73    };
74    FixedText RID_TXT_MACROFROM
75    {
76        Pos = MAP_APPFONT ( 6, 30 ) ;
77        Size = MAP_APPFONT ( 100, 10 ) ;
78        Text [ en-US ] = "Macro ~from" ;
79    };
80    FixedText RID_TXT_SAVEMACRO
81    {
82        Pos = MAP_APPFONT ( 6, 30 ) ;
83        Size = MAP_APPFONT ( 100, 10 ) ;
84        Text [ en-US ] = "Save m~acro in" ;
85    };
86
87    FixedText RID_TXT_DESCRIPTION
88    {
89        Pos = MAP_APPFONT ( 6, 117 ) ;
90        Size = MAP_APPFONT ( 100, 10 ) ;
91        Text [ en-US ] = "De~scription" ;
92    };
93    PushButton RID_PB_RUN
94    {
95        HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_RUN" ;
96        Pos = MAP_APPFONT ( 231, 6 ) ;
97        Size = MAP_APPFONT ( 50, 14 ) ;
98        DefButton = TRUE ;
99        Text [ en-US ] = "R~un" ;
100        TabStop = TRUE ;
101    };
102    CancelButton RID_PB_CLOSE
103    {
104        Pos = MAP_APPFONT ( 231, 23 ) ;
105        Size = MAP_APPFONT ( 50, 14 ) ;
106        TabStop = TRUE ;
107        Text [ en-US ] = "Close" ;
108    };
109
110    PushButton RID_PB_ASSIGN
111    {
112        HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_ASSIGN" ;
113        Pos = MAP_APPFONT ( 231, 60 ) ;
114        Size = MAP_APPFONT ( 50, 14 ) ;
115        Text [ en-US ] = "~Assign..." ;
116        TabStop = TRUE ;
117    };
118    PushButton RID_PB_EDIT
119    {
120        HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_EDIT" ;
121        Size = MAP_APPFONT ( 50, 14 ) ;
122        Pos = MAP_APPFONT ( 231, 77 ) ;
123        Text [ en-US ] = "~Edit" ;
124        TabStop = TRUE ;
125    };
126    PushButton RID_PB_NEWLIB
127    {
128        HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_NEWLIB" ;
129        Pos = MAP_APPFONT ( 231, 60 ) ;
130        Size = MAP_APPFONT ( 50, 14 ) ;
131        Text [ en-US ] = "New ~Library" ;
132    };
133    PushButton RID_PB_NEWMOD
134    {
135        HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_NEWMOD" ;
136        Size = MAP_APPFONT ( 50, 14 ) ;
137        Pos = MAP_APPFONT ( 231, 77 ) ;
138        Text [ en-US ] = "New M~odule" ;
139    };
140    PushButton RID_PB_DEL
141    {
142        HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_DEL" ;
143        Pos = MAP_APPFONT ( 231, 94 ) ;
144        Size = MAP_APPFONT ( 50, 14 ) ;
145        Text [ en-US ] = "~Delete" ;
146        TabStop = TRUE ;
147    };
148    PushButton RID_PB_ORG
149    {
150        HelpID = "basctl:PushButton:RID_MACROCHOOSER:RID_PB_ORG" ;
151        Pos = MAP_APPFONT ( 231, 114 ) ;
152        Size = MAP_APPFONT ( 50, 14 ) ;
153        Text [ en-US ] = "~Organizer..." ;
154    };
155    HelpButton RID_PB_HELP
156    {
157        Pos = MAP_APPFONT ( 231, 131 ) ;
158        Size = MAP_APPFONT ( 50, 14 ) ;
159        TabStop = TRUE ;
160    };
161    MultiLineEdit RID_ML_DESCRIPTION
162    {
163        HelpID = "basctl:MultiLineEdit:RID_MACROCHOOSER:RID_ML_DESCRIPTION" ;
164        Border = TRUE ;
165        Pos = MAP_APPFONT ( 6, 131 ) ;
166        Size = MAP_APPFONT ( 216, 28 ) ;
167        TabStop = TRUE ;
168        VScroll = TRUE ;
169        IgnoreTab = TRUE ;
170    };
171};
172String RID_STR_STDMACRONAME
173{
174    Text [ en-US ] = "Macro" ;
175};
176String RID_STR_BTNDEL
177{
178    Text [ en-US ] = "~Delete" ;
179};
180String RID_STR_BTNNEW
181{
182    Text [ en-US ] = "~New" ;
183};
184String RID_STR_CLOSE
185{
186    Text [ en-US ] = "Close" ;
187};
188String RID_STR_CHOOSE
189{
190    Text [ en-US ] = "Choose" ;
191};
192String RID_STR_RUN
193{
194    Text [ en-US ] = "Run" ;
195};
196
197String RID_STR_RECORD
198{
199    Text [ en-US ] = "~Save" ;
200};
201
202// ********************************************************************** EOF
203