xref: /trunk/main/sc/source/ui/dbgui/asciiopt.src (revision ffd38472365e95f6a578737bc9a5eb0fac624a86)
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 "asciiopt.hrc"
23
24ModalDialog RID_SCDLG_ASCII
25{
26    HelpID = "sc:ModalDialog:RID_SCDLG_ASCII" ;
27    OutputSize = TRUE ;
28    SVLook = TRUE ;
29    Size = MAP_APPFONT ( 320, 305 ) ;
30    Text [ en-US ] = "Text Import" ;
31    Moveable = TRUE ;
32
33    OKButton BTN_OK
34    {
35        Pos = MAP_APPFONT ( 264, 6 ) ;
36        Size = MAP_APPFONT ( 50, 14 ) ;
37        TabStop = TRUE ;
38        DefButton = TRUE ;
39    };
40    CancelButton BTN_CANCEL
41    {
42        Pos = MAP_APPFONT ( 264, 23 ) ;
43        Size = MAP_APPFONT ( 50, 14 ) ;
44        TabStop = TRUE ;
45    };
46    HelpButton BTN_HELP
47    {
48        Pos = MAP_APPFONT ( 264, 43 ) ;
49        Size = MAP_APPFONT ( 50, 14 ) ;
50        TabStop = TRUE ;
51    };
52
53    FixedLine FL_FIELDOPT
54    {
55        Pos = MAP_APPFONT ( 6, 3 ) ;
56        Size = MAP_APPFONT ( 252, 8 ) ;
57        Text [ en-US ] = "Import" ;
58    };
59
60    FixedText FT_CHARSET
61    {
62        Pos = MAP_APPFONT ( 12, 16 ) ;
63        Size = MAP_APPFONT ( 60, 8 ) ;
64        Text [ en-US ] = "Ch~aracter set" ;
65    };
66
67    ListBox LB_CHARSET
68    {
69        HelpID = "sc:ListBox:RID_SCDLG_ASCII:LB_CHARSET" ;
70        Pos = MAP_APPFONT ( 76, 14 ) ;
71        Size = MAP_APPFONT ( 130, 61 ) ;
72        TabStop = TRUE ;
73        DropDown = TRUE ;
74        Sort = TRUE ;
75    };
76
77    FixedText FT_CUSTOMLANG
78    {
79        Pos = MAP_APPFONT ( 12, 32 ) ;
80        Size = MAP_APPFONT ( 60, 8 ) ;
81        Text [ en-US ] = "Language" ;
82    };
83
84    ListBox LB_CUSTOMLANG
85    {
86        HelpID = "sc:ListBox:RID_SCDLG_ASCII:LB_CUSTOMLANG" ;
87        Pos = MAP_APPFONT ( 76, 30 ) ;
88        Size = MAP_APPFONT ( 130, 61 ) ;
89        TabStop = TRUE ;
90        DropDown = TRUE ;
91        Sort = TRUE ;
92    };
93
94    FixedText FT_AT_ROW
95    {
96        Pos = MAP_APPFONT ( 12, 48 ) ;
97        Size = MAP_APPFONT ( 60, 8 ) ;
98        Text [ en-US ] = "From ro~w" ;
99    };
100
101    NumericField NF_AT_ROW
102    {
103        HelpID = "sc:NumericField:RID_SCDLG_ASCII:NF_AT_ROW" ;
104        Border = TRUE ;
105        SVLook = TRUE ;
106        Pos = MAP_APPFONT ( 76, 46 ) ;
107        Size = MAP_APPFONT ( 30, 12 ) ;
108        TabStop = TRUE ;
109        Spin = TRUE ;
110        Repeat = TRUE ;
111        Minimum = 1 ;
112    };
113
114    FixedLine FL_SEPOPT
115    {
116        Pos = MAP_APPFONT ( 6, 63 ) ;
117        Size = MAP_APPFONT ( 252, 8 ) ;
118        Text [ en-US ] = "Separator options" ;
119    };
120    RadioButton RB_FIXED
121    {
122        HelpID = "sc:RadioButton:RID_SCDLG_ASCII:RB_FIXED" ;
123        Pos = MAP_APPFONT ( 12, 75 ) ;
124        Size = MAP_APPFONT ( 243, 10 ) ;
125        Text [ en-US ] = "~Fixed width" ;
126        TabStop = TRUE ;
127    };
128    RadioButton RB_SEPARATED
129    {
130        HelpID = "sc:RadioButton:RID_SCDLG_ASCII:RB_SEPARATED" ;
131        Pos = MAP_APPFONT ( 12, 89 ) ;
132        Size = MAP_APPFONT ( 243, 10 ) ;
133        Text [ en-US ] = "~Separated by" ;
134        TabStop = TRUE ;
135        Check = TRUE ;
136    };
137
138    CheckBox CKB_TAB
139    {
140        HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_TAB" ;
141        Pos = MAP_APPFONT ( 20, 102 ) ;
142        Size = MAP_APPFONT ( 68, 10 ) ;
143        TabStop = TRUE ;
144        Text [ en-US ] = "~Tab" ;
145    };
146    CheckBox CKB_COMMA
147    {
148        HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_COMMA" ;
149        Pos = MAP_APPFONT ( 92, 102 ) ;
150        Size = MAP_APPFONT ( 68, 10 ) ;
151        TabStop = TRUE ;
152        Text [ en-US ] = "~Comma" ;
153    };
154    CheckBox CKB_OTHER
155    {
156        HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_OTHER" ;
157        Pos = MAP_APPFONT ( 164, 102 ) ;
158        Size = MAP_APPFONT ( 50, 10 ) ;
159        TabStop = TRUE ;
160        Text [ en-US ] = "~Other" ;
161    };
162    Edit ED_OTHER
163    {
164        HelpID = "sc:Edit:RID_SCDLG_ASCII:ED_OTHER" ;
165        Border = TRUE ;
166        Pos = MAP_APPFONT ( 218, 100 ) ;
167        Size = MAP_APPFONT ( 37, 12 ) ;
168        TabStop = TRUE ;
169        MaxTextLength = 10 ;
170    };
171
172    CheckBox CKB_SEMICOLON
173    {
174        HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_SEMICOLON" ;
175        Pos = MAP_APPFONT ( 20, 115 ) ;
176        Size = MAP_APPFONT ( 68, 10 ) ;
177        TabStop = TRUE ;
178        Text [ en-US ] = "S~emicolon" ;
179    };
180    CheckBox CKB_SPACE
181    {
182        HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_SPACE" ;
183        Pos = MAP_APPFONT ( 92, 115 ) ;
184        Size = MAP_APPFONT ( 68, 10 ) ;
185        TabStop = TRUE ;
186        Text [ en-US ] = "S~pace" ;
187    };
188
189    CheckBox CB_ASONCE
190    {
191        HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CB_ASONCE" ;
192        Pos = MAP_APPFONT ( 20, 130 ) ;
193        Size = MAP_APPFONT ( 130, 10 ) ;
194        TabStop = TRUE ;
195        Text [ en-US ] = "Merge ~delimiters" ;
196    };
197
198    ComboBox CB_TEXTSEP
199    {
200        HelpID = "sc:ComboBox:RID_SCDLG_ASCII:CB_TEXTSEP" ;
201        Pos = MAP_APPFONT ( 218, 128 ) ;
202        Size = MAP_APPFONT ( 37, 94 ) ;
203        TabStop = TRUE ;
204        DropDown = TRUE ;
205    };
206    FixedText FT_TEXTSEP
207    {
208        Pos = MAP_APPFONT ( 156, 130 ) ;
209        Size = MAP_APPFONT ( 60, 8 ) ;
210        Text [ en-US ] = "Te~xt delimiter" ;
211    };
212
213    FixedLine FL_OTHER_OPTIONS
214    {
215        Pos = MAP_APPFONT ( 6, 146 ) ;
216        Size = MAP_APPFONT ( 252, 8 ) ;
217        Text [ en-US ] = "Other options" ;
218    };
219
220    CheckBox CB_QUOTED_AS_TEXT
221    {
222        HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CB_QUOTED_AS_TEXT" ;
223        Pos = MAP_APPFONT ( 12, 158 ) ;
224        Size = MAP_APPFONT ( 130, 10 ) ;
225        TabStop = TRUE ;
226        Text [ en-US ] = "~Quoted field as text" ;
227    };
228
229    CheckBox CB_DETECT_SPECIAL_NUMBER
230    {
231        HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CB_DETECT_SPECIAL_NUMBER" ;
232        Pos = MAP_APPFONT ( 12, 171 ) ;
233        Size = MAP_APPFONT ( 130, 10 ) ;
234        TabStop = TRUE ;
235        Text [ en-US ] = "Detect special numbers" ;
236    };
237
238    FixedLine FL_WIDTH
239    {
240        Pos = MAP_APPFONT ( 6, 187 ) ;
241        Size = MAP_APPFONT ( 252, 8 ) ;
242        Text [ en-US ] = "Fields" ;
243    };
244    FixedText FT_TYPE
245    {
246        Pos = MAP_APPFONT ( 12, 200 ) ;
247        Size = MAP_APPFONT ( 60, 8 ) ;
248        Text [ en-US ] = "Column t~ype" ;
249    };
250    ListBox LB_TYPE1
251    {
252        HelpID = "sc:ListBox:RID_SCDLG_ASCII:LB_TYPE1" ;
253        Pos = MAP_APPFONT ( 76, 198 ) ;
254        Size = MAP_APPFONT ( 60, 68 ) ;
255        TabStop = TRUE ;
256        DropDown = TRUE ;
257    };
258    Control CTR_TABLEBOX
259    {
260        HelpId = HID_SC_ASCII_TABCTR ;
261        Border = TRUE ;
262        DialogControl = TRUE ;
263        Pos = MAP_APPFONT ( 12, 216 ) ;
264        Size = MAP_APPFONT ( 243, 82 ) ;
265    };
266
267    String STR_TEXTTOCOLUMNS
268    {
269        Text [ en-US ] = "Text to Columns" ;
270    };
271};
272
273// ********************************************************************** EOF
274