xref: /AOO41X/main/sc/source/ui/dbgui/asciiopt.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir#include "asciiopt.hrc"
29*cdf0e10cSrcweir
30*cdf0e10cSrcweirModalDialog RID_SCDLG_ASCII
31*cdf0e10cSrcweir{
32*cdf0e10cSrcweir    HelpID = "sc:ModalDialog:RID_SCDLG_ASCII";
33*cdf0e10cSrcweir	OutputSize = TRUE ;
34*cdf0e10cSrcweir	SVLook = TRUE ;
35*cdf0e10cSrcweir    Size = MAP_APPFONT ( 320 , 305 ) ;
36*cdf0e10cSrcweir	Text [ en-US ] = "Text Import" ;
37*cdf0e10cSrcweir	Moveable = TRUE ;
38*cdf0e10cSrcweir
39*cdf0e10cSrcweir    OKButton BTN_OK
40*cdf0e10cSrcweir	{
41*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 264 , 6 ) ;
42*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
43*cdf0e10cSrcweir		TabStop = TRUE ;
44*cdf0e10cSrcweir        DefButton = TRUE ;
45*cdf0e10cSrcweir	};
46*cdf0e10cSrcweir    CancelButton BTN_CANCEL
47*cdf0e10cSrcweir	{
48*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 264 , 23 ) ;
49*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
50*cdf0e10cSrcweir        TabStop = TRUE ;
51*cdf0e10cSrcweir	};
52*cdf0e10cSrcweir    HelpButton BTN_HELP
53*cdf0e10cSrcweir	{
54*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 264 , 43 ) ;
55*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
56*cdf0e10cSrcweir		TabStop = TRUE ;
57*cdf0e10cSrcweir	};
58*cdf0e10cSrcweir
59*cdf0e10cSrcweir    FixedLine FL_FIELDOPT
60*cdf0e10cSrcweir	{
61*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
62*cdf0e10cSrcweir        Size = MAP_APPFONT ( 252 , 8 ) ;
63*cdf0e10cSrcweir        Text [ en-US ] = "Import" ;
64*cdf0e10cSrcweir	};
65*cdf0e10cSrcweir
66*cdf0e10cSrcweir	FixedText FT_CHARSET
67*cdf0e10cSrcweir	{
68*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 16 ) ;
69*cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 8 ) ;
70*cdf0e10cSrcweir		Text [ en-US ] = "Ch~aracter set" ;
71*cdf0e10cSrcweir	};
72*cdf0e10cSrcweir
73*cdf0e10cSrcweir	ListBox LB_CHARSET
74*cdf0e10cSrcweir	{
75*cdf0e10cSrcweir	    HelpID = "sc:ListBox:RID_SCDLG_ASCII:LB_CHARSET";
76*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 76 , 14 ) ;
77*cdf0e10cSrcweir        Size = MAP_APPFONT ( 130 , 61 ) ;
78*cdf0e10cSrcweir		TabStop = TRUE ;
79*cdf0e10cSrcweir		DropDown = TRUE ;
80*cdf0e10cSrcweir		Sort = TRUE;
81*cdf0e10cSrcweir	};
82*cdf0e10cSrcweir
83*cdf0e10cSrcweir    FixedText FT_CUSTOMLANG
84*cdf0e10cSrcweir	{
85*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 32 ) ;
86*cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 8 ) ;
87*cdf0e10cSrcweir        Text [ en-US ] = "Language" ;
88*cdf0e10cSrcweir	};
89*cdf0e10cSrcweir
90*cdf0e10cSrcweir    ListBox LB_CUSTOMLANG
91*cdf0e10cSrcweir	{
92*cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_ASCII:LB_CUSTOMLANG";
93*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 76 , 30 ) ;
94*cdf0e10cSrcweir        Size = MAP_APPFONT ( 130 , 61 ) ;
95*cdf0e10cSrcweir		TabStop = TRUE ;
96*cdf0e10cSrcweir		DropDown = TRUE ;
97*cdf0e10cSrcweir        Sort = TRUE;
98*cdf0e10cSrcweir	};
99*cdf0e10cSrcweir
100*cdf0e10cSrcweir    FixedText FT_AT_ROW
101*cdf0e10cSrcweir	{
102*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 48 ) ;
103*cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 8 ) ;
104*cdf0e10cSrcweir        Text [ en-US ] = "From ro~w" ;
105*cdf0e10cSrcweir	};
106*cdf0e10cSrcweir
107*cdf0e10cSrcweir    NumericField NF_AT_ROW
108*cdf0e10cSrcweir	{
109*cdf0e10cSrcweir        HelpID = "sc:NumericField:RID_SCDLG_ASCII:NF_AT_ROW";
110*cdf0e10cSrcweir        Border = TRUE ;
111*cdf0e10cSrcweir        SVLook = TRUE ;
112*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 76 , 46 ) ;
113*cdf0e10cSrcweir        Size = MAP_APPFONT ( 30 , 12 ) ;
114*cdf0e10cSrcweir		TabStop = TRUE ;
115*cdf0e10cSrcweir        Spin = TRUE ;
116*cdf0e10cSrcweir        Repeat = TRUE ;
117*cdf0e10cSrcweir        Minimum = 1 ;
118*cdf0e10cSrcweir	};
119*cdf0e10cSrcweir
120*cdf0e10cSrcweir    FixedLine FL_SEPOPT
121*cdf0e10cSrcweir	{
122*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 63 ) ;
123*cdf0e10cSrcweir        Size = MAP_APPFONT ( 252 , 8 ) ;
124*cdf0e10cSrcweir        Text [ en-US ] = "Separator options" ;
125*cdf0e10cSrcweir	};
126*cdf0e10cSrcweir    RadioButton RB_FIXED
127*cdf0e10cSrcweir	{
128*cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_ASCII:RB_FIXED";
129*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 75 ) ;
130*cdf0e10cSrcweir        Size = MAP_APPFONT ( 243 , 10 ) ;
131*cdf0e10cSrcweir        Text [ en-US ] = "~Fixed width" ;
132*cdf0e10cSrcweir		TabStop = TRUE ;
133*cdf0e10cSrcweir	};
134*cdf0e10cSrcweir    RadioButton RB_SEPARATED
135*cdf0e10cSrcweir	{
136*cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_ASCII:RB_SEPARATED";
137*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 89 ) ;
138*cdf0e10cSrcweir        Size = MAP_APPFONT ( 243 , 10 ) ;
139*cdf0e10cSrcweir        Text [ en-US ] = "~Separated by" ;
140*cdf0e10cSrcweir		TabStop = TRUE ;
141*cdf0e10cSrcweir        Check = TRUE ;
142*cdf0e10cSrcweir	};
143*cdf0e10cSrcweir
144*cdf0e10cSrcweir    CheckBox CKB_TAB
145*cdf0e10cSrcweir	{
146*cdf0e10cSrcweir        HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_TAB";
147*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 20 , 102 ) ;
148*cdf0e10cSrcweir        Size = MAP_APPFONT ( 68 , 10 ) ;
149*cdf0e10cSrcweir		TabStop = TRUE ;
150*cdf0e10cSrcweir        Text [ en-US ] = "~Tab" ;
151*cdf0e10cSrcweir	};
152*cdf0e10cSrcweir    CheckBox CKB_COMMA
153*cdf0e10cSrcweir	{
154*cdf0e10cSrcweir        HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_COMMA";
155*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 92 , 102 ) ;
156*cdf0e10cSrcweir        Size = MAP_APPFONT ( 68 , 10 ) ;
157*cdf0e10cSrcweir		TabStop = TRUE ;
158*cdf0e10cSrcweir        Text [ en-US ] = "~Comma" ;
159*cdf0e10cSrcweir	};
160*cdf0e10cSrcweir	CheckBox CKB_OTHER
161*cdf0e10cSrcweir	{
162*cdf0e10cSrcweir	    HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_OTHER";
163*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 164 , 102 ) ;
164*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 10 ) ;
165*cdf0e10cSrcweir		TabStop = TRUE ;
166*cdf0e10cSrcweir		Text [ en-US ] = "~Other" ;
167*cdf0e10cSrcweir	};
168*cdf0e10cSrcweir	Edit ED_OTHER
169*cdf0e10cSrcweir	{
170*cdf0e10cSrcweir	    HelpID = "sc:Edit:RID_SCDLG_ASCII:ED_OTHER";
171*cdf0e10cSrcweir		Border = TRUE ;
172*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 218 , 100 ) ;
173*cdf0e10cSrcweir        Size = MAP_APPFONT ( 37 , 12 ) ;
174*cdf0e10cSrcweir		TabStop = TRUE ;
175*cdf0e10cSrcweir        MaxTextLength = 10 ;
176*cdf0e10cSrcweir	};
177*cdf0e10cSrcweir
178*cdf0e10cSrcweir    CheckBox CKB_SEMICOLON
179*cdf0e10cSrcweir	{
180*cdf0e10cSrcweir        HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_SEMICOLON";
181*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 20 , 115 ) ;
182*cdf0e10cSrcweir        Size = MAP_APPFONT ( 68 , 10 ) ;
183*cdf0e10cSrcweir		TabStop = TRUE ;
184*cdf0e10cSrcweir        Text [ en-US ] = "S~emicolon" ;
185*cdf0e10cSrcweir	};
186*cdf0e10cSrcweir    CheckBox CKB_SPACE
187*cdf0e10cSrcweir	{
188*cdf0e10cSrcweir        HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_SPACE";
189*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 92 , 115 ) ;
190*cdf0e10cSrcweir        Size = MAP_APPFONT ( 68 , 10 ) ;
191*cdf0e10cSrcweir        TabStop = TRUE ;
192*cdf0e10cSrcweir        Text [ en-US ] = "S~pace" ;
193*cdf0e10cSrcweir	};
194*cdf0e10cSrcweir
195*cdf0e10cSrcweir	CheckBox CB_ASONCE
196*cdf0e10cSrcweir	{
197*cdf0e10cSrcweir	    HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CB_ASONCE";
198*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 20 , 130 ) ;
199*cdf0e10cSrcweir        Size = MAP_APPFONT ( 130 , 10 ) ;
200*cdf0e10cSrcweir		TabStop = TRUE ;
201*cdf0e10cSrcweir		Text [ en-US ] = "Merge ~delimiters" ;
202*cdf0e10cSrcweir	};
203*cdf0e10cSrcweir
204*cdf0e10cSrcweir    ComboBox CB_TEXTSEP
205*cdf0e10cSrcweir    {
206*cdf0e10cSrcweir        HelpID = "sc:ComboBox:RID_SCDLG_ASCII:CB_TEXTSEP";
207*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 218 , 128 ) ;
208*cdf0e10cSrcweir        Size = MAP_APPFONT ( 37 , 94 ) ;
209*cdf0e10cSrcweir        TabStop = TRUE ;
210*cdf0e10cSrcweir        DropDown = TRUE ;
211*cdf0e10cSrcweir    };
212*cdf0e10cSrcweir    FixedText FT_TEXTSEP
213*cdf0e10cSrcweir    {
214*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 156 , 130 ) ;
215*cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 8 ) ;
216*cdf0e10cSrcweir        Text [ en-US ] = "Te~xt delimiter" ;
217*cdf0e10cSrcweir    };
218*cdf0e10cSrcweir
219*cdf0e10cSrcweir    FixedLine FL_OTHER_OPTIONS
220*cdf0e10cSrcweir    {
221*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 146 ) ;
222*cdf0e10cSrcweir        Size = MAP_APPFONT ( 252 , 8 ) ;
223*cdf0e10cSrcweir        Text [ en-US ] = "Other options" ;
224*cdf0e10cSrcweir    };
225*cdf0e10cSrcweir
226*cdf0e10cSrcweir    CheckBox CB_QUOTED_AS_TEXT
227*cdf0e10cSrcweir    {
228*cdf0e10cSrcweir        HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CB_QUOTED_AS_TEXT";
229*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 158 ) ;
230*cdf0e10cSrcweir        Size = MAP_APPFONT ( 130 , 10 ) ;
231*cdf0e10cSrcweir        TabStop = TRUE ;
232*cdf0e10cSrcweir        Text [ en-US ] = "~Quoted field as text" ;
233*cdf0e10cSrcweir    };
234*cdf0e10cSrcweir
235*cdf0e10cSrcweir    CheckBox CB_DETECT_SPECIAL_NUMBER
236*cdf0e10cSrcweir    {
237*cdf0e10cSrcweir        HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CB_DETECT_SPECIAL_NUMBER";
238*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 171 ) ;
239*cdf0e10cSrcweir        Size = MAP_APPFONT ( 130 , 10 ) ;
240*cdf0e10cSrcweir        TabStop = TRUE ;
241*cdf0e10cSrcweir        Text [ en-US ] = "Detect special numbers" ;
242*cdf0e10cSrcweir    };
243*cdf0e10cSrcweir
244*cdf0e10cSrcweir    FixedLine FL_WIDTH
245*cdf0e10cSrcweir    {
246*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 187 ) ;
247*cdf0e10cSrcweir        Size = MAP_APPFONT ( 252 , 8 ) ;
248*cdf0e10cSrcweir        Text [ en-US ] = "Fields" ;
249*cdf0e10cSrcweir    };
250*cdf0e10cSrcweir    FixedText FT_TYPE
251*cdf0e10cSrcweir    {
252*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 200 ) ;
253*cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 8 ) ;
254*cdf0e10cSrcweir        Text [ en-US ] = "Column t~ype";
255*cdf0e10cSrcweir    };
256*cdf0e10cSrcweir    ListBox LB_TYPE1
257*cdf0e10cSrcweir    {
258*cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_ASCII:LB_TYPE1";
259*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 76 , 198 ) ;
260*cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 68 ) ;
261*cdf0e10cSrcweir        TabStop = TRUE ;
262*cdf0e10cSrcweir        DropDown = TRUE ;
263*cdf0e10cSrcweir    };
264*cdf0e10cSrcweir    Control CTR_TABLEBOX
265*cdf0e10cSrcweir    {
266*cdf0e10cSrcweir        HelpId = HID_SC_ASCII_TABCTR ;
267*cdf0e10cSrcweir        Border = TRUE ;
268*cdf0e10cSrcweir        DialogControl = TRUE ;
269*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 216 ) ;
270*cdf0e10cSrcweir        Size = MAP_APPFONT ( 243 , 82 ) ;
271*cdf0e10cSrcweir    };
272*cdf0e10cSrcweir
273*cdf0e10cSrcweir    String STR_TEXTTOCOLUMNS
274*cdf0e10cSrcweir    {
275*cdf0e10cSrcweir        Text [ en-US ] = "Text to Columns" ;
276*cdf0e10cSrcweir    };
277*cdf0e10cSrcweir};
278*cdf0e10cSrcweir
279*cdf0e10cSrcweir
280*cdf0e10cSrcweir
281*cdf0e10cSrcweir
282*cdf0e10cSrcweir
283*cdf0e10cSrcweir
284*cdf0e10cSrcweir
285*cdf0e10cSrcweir
286*cdf0e10cSrcweir
287*cdf0e10cSrcweir
288*cdf0e10cSrcweir
289*cdf0e10cSrcweir
290*cdf0e10cSrcweir
291*cdf0e10cSrcweir
292*cdf0e10cSrcweir
293*cdf0e10cSrcweir
294*cdf0e10cSrcweir
295*cdf0e10cSrcweir
296*cdf0e10cSrcweir
297*cdf0e10cSrcweir
298*cdf0e10cSrcweir
299*cdf0e10cSrcweir
300*cdf0e10cSrcweir
301*cdf0e10cSrcweir
302*cdf0e10cSrcweir
303*cdf0e10cSrcweir
304*cdf0e10cSrcweir
305*cdf0e10cSrcweir
306*cdf0e10cSrcweir
307*cdf0e10cSrcweir
308*cdf0e10cSrcweir
309*cdf0e10cSrcweir
310*cdf0e10cSrcweir
311*cdf0e10cSrcweir
312*cdf0e10cSrcweir
313*cdf0e10cSrcweir
314*cdf0e10cSrcweir
315*cdf0e10cSrcweir
316*cdf0e10cSrcweir
317*cdf0e10cSrcweir
318*cdf0e10cSrcweir
319*cdf0e10cSrcweir
320*cdf0e10cSrcweir
321*cdf0e10cSrcweir
322*cdf0e10cSrcweir
323