1*82177cdbSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*82177cdbSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*82177cdbSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*82177cdbSAndrew Rist * distributed with this work for additional information 6*82177cdbSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*82177cdbSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*82177cdbSAndrew Rist * "License"); you may not use this file except in compliance 9*82177cdbSAndrew Rist * with the License. You may obtain a copy of the License at 10*82177cdbSAndrew Rist * 11*82177cdbSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*82177cdbSAndrew Rist * 13*82177cdbSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*82177cdbSAndrew Rist * software distributed under the License is distributed on an 15*82177cdbSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*82177cdbSAndrew Rist * KIND, either express or implied. See the License for the 17*82177cdbSAndrew Rist * specific language governing permissions and limitations 18*82177cdbSAndrew Rist * under the License. 19*82177cdbSAndrew Rist * 20*82177cdbSAndrew Rist *************************************************************/ 21*82177cdbSAndrew Rist 22*82177cdbSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "asciiopt.hrc" 25cdf0e10cSrcweir 26cdf0e10cSrcweirModalDialog RID_SCDLG_ASCII 27cdf0e10cSrcweir{ 28cdf0e10cSrcweir HelpID = "sc:ModalDialog:RID_SCDLG_ASCII"; 29cdf0e10cSrcweir OutputSize = TRUE ; 30cdf0e10cSrcweir SVLook = TRUE ; 31cdf0e10cSrcweir Size = MAP_APPFONT ( 320 , 305 ) ; 32cdf0e10cSrcweir Text [ en-US ] = "Text Import" ; 33cdf0e10cSrcweir Moveable = TRUE ; 34cdf0e10cSrcweir 35cdf0e10cSrcweir OKButton BTN_OK 36cdf0e10cSrcweir { 37cdf0e10cSrcweir Pos = MAP_APPFONT ( 264 , 6 ) ; 38cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 39cdf0e10cSrcweir TabStop = TRUE ; 40cdf0e10cSrcweir DefButton = TRUE ; 41cdf0e10cSrcweir }; 42cdf0e10cSrcweir CancelButton BTN_CANCEL 43cdf0e10cSrcweir { 44cdf0e10cSrcweir Pos = MAP_APPFONT ( 264 , 23 ) ; 45cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 46cdf0e10cSrcweir TabStop = TRUE ; 47cdf0e10cSrcweir }; 48cdf0e10cSrcweir HelpButton BTN_HELP 49cdf0e10cSrcweir { 50cdf0e10cSrcweir Pos = MAP_APPFONT ( 264 , 43 ) ; 51cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 52cdf0e10cSrcweir TabStop = TRUE ; 53cdf0e10cSrcweir }; 54cdf0e10cSrcweir 55cdf0e10cSrcweir FixedLine FL_FIELDOPT 56cdf0e10cSrcweir { 57cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 58cdf0e10cSrcweir Size = MAP_APPFONT ( 252 , 8 ) ; 59cdf0e10cSrcweir Text [ en-US ] = "Import" ; 60cdf0e10cSrcweir }; 61cdf0e10cSrcweir 62cdf0e10cSrcweir FixedText FT_CHARSET 63cdf0e10cSrcweir { 64cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 16 ) ; 65cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 66cdf0e10cSrcweir Text [ en-US ] = "Ch~aracter set" ; 67cdf0e10cSrcweir }; 68cdf0e10cSrcweir 69cdf0e10cSrcweir ListBox LB_CHARSET 70cdf0e10cSrcweir { 71cdf0e10cSrcweir HelpID = "sc:ListBox:RID_SCDLG_ASCII:LB_CHARSET"; 72cdf0e10cSrcweir Pos = MAP_APPFONT ( 76 , 14 ) ; 73cdf0e10cSrcweir Size = MAP_APPFONT ( 130 , 61 ) ; 74cdf0e10cSrcweir TabStop = TRUE ; 75cdf0e10cSrcweir DropDown = TRUE ; 76cdf0e10cSrcweir Sort = TRUE; 77cdf0e10cSrcweir }; 78cdf0e10cSrcweir 79cdf0e10cSrcweir FixedText FT_CUSTOMLANG 80cdf0e10cSrcweir { 81cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 32 ) ; 82cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 83cdf0e10cSrcweir Text [ en-US ] = "Language" ; 84cdf0e10cSrcweir }; 85cdf0e10cSrcweir 86cdf0e10cSrcweir ListBox LB_CUSTOMLANG 87cdf0e10cSrcweir { 88cdf0e10cSrcweir HelpID = "sc:ListBox:RID_SCDLG_ASCII:LB_CUSTOMLANG"; 89cdf0e10cSrcweir Pos = MAP_APPFONT ( 76 , 30 ) ; 90cdf0e10cSrcweir Size = MAP_APPFONT ( 130 , 61 ) ; 91cdf0e10cSrcweir TabStop = TRUE ; 92cdf0e10cSrcweir DropDown = TRUE ; 93cdf0e10cSrcweir Sort = TRUE; 94cdf0e10cSrcweir }; 95cdf0e10cSrcweir 96cdf0e10cSrcweir FixedText FT_AT_ROW 97cdf0e10cSrcweir { 98cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 48 ) ; 99cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 100cdf0e10cSrcweir Text [ en-US ] = "From ro~w" ; 101cdf0e10cSrcweir }; 102cdf0e10cSrcweir 103cdf0e10cSrcweir NumericField NF_AT_ROW 104cdf0e10cSrcweir { 105cdf0e10cSrcweir HelpID = "sc:NumericField:RID_SCDLG_ASCII:NF_AT_ROW"; 106cdf0e10cSrcweir Border = TRUE ; 107cdf0e10cSrcweir SVLook = TRUE ; 108cdf0e10cSrcweir Pos = MAP_APPFONT ( 76 , 46 ) ; 109cdf0e10cSrcweir Size = MAP_APPFONT ( 30 , 12 ) ; 110cdf0e10cSrcweir TabStop = TRUE ; 111cdf0e10cSrcweir Spin = TRUE ; 112cdf0e10cSrcweir Repeat = TRUE ; 113cdf0e10cSrcweir Minimum = 1 ; 114cdf0e10cSrcweir }; 115cdf0e10cSrcweir 116cdf0e10cSrcweir FixedLine FL_SEPOPT 117cdf0e10cSrcweir { 118cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 63 ) ; 119cdf0e10cSrcweir Size = MAP_APPFONT ( 252 , 8 ) ; 120cdf0e10cSrcweir Text [ en-US ] = "Separator options" ; 121cdf0e10cSrcweir }; 122cdf0e10cSrcweir RadioButton RB_FIXED 123cdf0e10cSrcweir { 124cdf0e10cSrcweir HelpID = "sc:RadioButton:RID_SCDLG_ASCII:RB_FIXED"; 125cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 75 ) ; 126cdf0e10cSrcweir Size = MAP_APPFONT ( 243 , 10 ) ; 127cdf0e10cSrcweir Text [ en-US ] = "~Fixed width" ; 128cdf0e10cSrcweir TabStop = TRUE ; 129cdf0e10cSrcweir }; 130cdf0e10cSrcweir RadioButton RB_SEPARATED 131cdf0e10cSrcweir { 132cdf0e10cSrcweir HelpID = "sc:RadioButton:RID_SCDLG_ASCII:RB_SEPARATED"; 133cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 89 ) ; 134cdf0e10cSrcweir Size = MAP_APPFONT ( 243 , 10 ) ; 135cdf0e10cSrcweir Text [ en-US ] = "~Separated by" ; 136cdf0e10cSrcweir TabStop = TRUE ; 137cdf0e10cSrcweir Check = TRUE ; 138cdf0e10cSrcweir }; 139cdf0e10cSrcweir 140cdf0e10cSrcweir CheckBox CKB_TAB 141cdf0e10cSrcweir { 142cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_TAB"; 143cdf0e10cSrcweir Pos = MAP_APPFONT ( 20 , 102 ) ; 144cdf0e10cSrcweir Size = MAP_APPFONT ( 68 , 10 ) ; 145cdf0e10cSrcweir TabStop = TRUE ; 146cdf0e10cSrcweir Text [ en-US ] = "~Tab" ; 147cdf0e10cSrcweir }; 148cdf0e10cSrcweir CheckBox CKB_COMMA 149cdf0e10cSrcweir { 150cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_COMMA"; 151cdf0e10cSrcweir Pos = MAP_APPFONT ( 92 , 102 ) ; 152cdf0e10cSrcweir Size = MAP_APPFONT ( 68 , 10 ) ; 153cdf0e10cSrcweir TabStop = TRUE ; 154cdf0e10cSrcweir Text [ en-US ] = "~Comma" ; 155cdf0e10cSrcweir }; 156cdf0e10cSrcweir CheckBox CKB_OTHER 157cdf0e10cSrcweir { 158cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_OTHER"; 159cdf0e10cSrcweir Pos = MAP_APPFONT ( 164 , 102 ) ; 160cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 10 ) ; 161cdf0e10cSrcweir TabStop = TRUE ; 162cdf0e10cSrcweir Text [ en-US ] = "~Other" ; 163cdf0e10cSrcweir }; 164cdf0e10cSrcweir Edit ED_OTHER 165cdf0e10cSrcweir { 166cdf0e10cSrcweir HelpID = "sc:Edit:RID_SCDLG_ASCII:ED_OTHER"; 167cdf0e10cSrcweir Border = TRUE ; 168cdf0e10cSrcweir Pos = MAP_APPFONT ( 218 , 100 ) ; 169cdf0e10cSrcweir Size = MAP_APPFONT ( 37 , 12 ) ; 170cdf0e10cSrcweir TabStop = TRUE ; 171cdf0e10cSrcweir MaxTextLength = 10 ; 172cdf0e10cSrcweir }; 173cdf0e10cSrcweir 174cdf0e10cSrcweir CheckBox CKB_SEMICOLON 175cdf0e10cSrcweir { 176cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_SEMICOLON"; 177cdf0e10cSrcweir Pos = MAP_APPFONT ( 20 , 115 ) ; 178cdf0e10cSrcweir Size = MAP_APPFONT ( 68 , 10 ) ; 179cdf0e10cSrcweir TabStop = TRUE ; 180cdf0e10cSrcweir Text [ en-US ] = "S~emicolon" ; 181cdf0e10cSrcweir }; 182cdf0e10cSrcweir CheckBox CKB_SPACE 183cdf0e10cSrcweir { 184cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CKB_SPACE"; 185cdf0e10cSrcweir Pos = MAP_APPFONT ( 92 , 115 ) ; 186cdf0e10cSrcweir Size = MAP_APPFONT ( 68 , 10 ) ; 187cdf0e10cSrcweir TabStop = TRUE ; 188cdf0e10cSrcweir Text [ en-US ] = "S~pace" ; 189cdf0e10cSrcweir }; 190cdf0e10cSrcweir 191cdf0e10cSrcweir CheckBox CB_ASONCE 192cdf0e10cSrcweir { 193cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CB_ASONCE"; 194cdf0e10cSrcweir Pos = MAP_APPFONT ( 20 , 130 ) ; 195cdf0e10cSrcweir Size = MAP_APPFONT ( 130 , 10 ) ; 196cdf0e10cSrcweir TabStop = TRUE ; 197cdf0e10cSrcweir Text [ en-US ] = "Merge ~delimiters" ; 198cdf0e10cSrcweir }; 199cdf0e10cSrcweir 200cdf0e10cSrcweir ComboBox CB_TEXTSEP 201cdf0e10cSrcweir { 202cdf0e10cSrcweir HelpID = "sc:ComboBox:RID_SCDLG_ASCII:CB_TEXTSEP"; 203cdf0e10cSrcweir Pos = MAP_APPFONT ( 218 , 128 ) ; 204cdf0e10cSrcweir Size = MAP_APPFONT ( 37 , 94 ) ; 205cdf0e10cSrcweir TabStop = TRUE ; 206cdf0e10cSrcweir DropDown = TRUE ; 207cdf0e10cSrcweir }; 208cdf0e10cSrcweir FixedText FT_TEXTSEP 209cdf0e10cSrcweir { 210cdf0e10cSrcweir Pos = MAP_APPFONT ( 156 , 130 ) ; 211cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 212cdf0e10cSrcweir Text [ en-US ] = "Te~xt delimiter" ; 213cdf0e10cSrcweir }; 214cdf0e10cSrcweir 215cdf0e10cSrcweir FixedLine FL_OTHER_OPTIONS 216cdf0e10cSrcweir { 217cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 146 ) ; 218cdf0e10cSrcweir Size = MAP_APPFONT ( 252 , 8 ) ; 219cdf0e10cSrcweir Text [ en-US ] = "Other options" ; 220cdf0e10cSrcweir }; 221cdf0e10cSrcweir 222cdf0e10cSrcweir CheckBox CB_QUOTED_AS_TEXT 223cdf0e10cSrcweir { 224cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CB_QUOTED_AS_TEXT"; 225cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 158 ) ; 226cdf0e10cSrcweir Size = MAP_APPFONT ( 130 , 10 ) ; 227cdf0e10cSrcweir TabStop = TRUE ; 228cdf0e10cSrcweir Text [ en-US ] = "~Quoted field as text" ; 229cdf0e10cSrcweir }; 230cdf0e10cSrcweir 231cdf0e10cSrcweir CheckBox CB_DETECT_SPECIAL_NUMBER 232cdf0e10cSrcweir { 233cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_ASCII:CB_DETECT_SPECIAL_NUMBER"; 234cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 171 ) ; 235cdf0e10cSrcweir Size = MAP_APPFONT ( 130 , 10 ) ; 236cdf0e10cSrcweir TabStop = TRUE ; 237cdf0e10cSrcweir Text [ en-US ] = "Detect special numbers" ; 238cdf0e10cSrcweir }; 239cdf0e10cSrcweir 240cdf0e10cSrcweir FixedLine FL_WIDTH 241cdf0e10cSrcweir { 242cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 187 ) ; 243cdf0e10cSrcweir Size = MAP_APPFONT ( 252 , 8 ) ; 244cdf0e10cSrcweir Text [ en-US ] = "Fields" ; 245cdf0e10cSrcweir }; 246cdf0e10cSrcweir FixedText FT_TYPE 247cdf0e10cSrcweir { 248cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 200 ) ; 249cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 250cdf0e10cSrcweir Text [ en-US ] = "Column t~ype"; 251cdf0e10cSrcweir }; 252cdf0e10cSrcweir ListBox LB_TYPE1 253cdf0e10cSrcweir { 254cdf0e10cSrcweir HelpID = "sc:ListBox:RID_SCDLG_ASCII:LB_TYPE1"; 255cdf0e10cSrcweir Pos = MAP_APPFONT ( 76 , 198 ) ; 256cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 68 ) ; 257cdf0e10cSrcweir TabStop = TRUE ; 258cdf0e10cSrcweir DropDown = TRUE ; 259cdf0e10cSrcweir }; 260cdf0e10cSrcweir Control CTR_TABLEBOX 261cdf0e10cSrcweir { 262cdf0e10cSrcweir HelpId = HID_SC_ASCII_TABCTR ; 263cdf0e10cSrcweir Border = TRUE ; 264cdf0e10cSrcweir DialogControl = TRUE ; 265cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 216 ) ; 266cdf0e10cSrcweir Size = MAP_APPFONT ( 243 , 82 ) ; 267cdf0e10cSrcweir }; 268cdf0e10cSrcweir 269cdf0e10cSrcweir String STR_TEXTTOCOLUMNS 270cdf0e10cSrcweir { 271cdf0e10cSrcweir Text [ en-US ] = "Text to Columns" ; 272cdf0e10cSrcweir }; 273cdf0e10cSrcweir}; 274cdf0e10cSrcweir 275cdf0e10cSrcweir 276cdf0e10cSrcweir 277cdf0e10cSrcweir 278cdf0e10cSrcweir 279cdf0e10cSrcweir 280cdf0e10cSrcweir 281cdf0e10cSrcweir 282cdf0e10cSrcweir 283cdf0e10cSrcweir 284cdf0e10cSrcweir 285cdf0e10cSrcweir 286cdf0e10cSrcweir 287cdf0e10cSrcweir 288cdf0e10cSrcweir 289cdf0e10cSrcweir 290cdf0e10cSrcweir 291cdf0e10cSrcweir 292cdf0e10cSrcweir 293cdf0e10cSrcweir 294cdf0e10cSrcweir 295cdf0e10cSrcweir 296cdf0e10cSrcweir 297cdf0e10cSrcweir 298cdf0e10cSrcweir 299cdf0e10cSrcweir 300cdf0e10cSrcweir 301cdf0e10cSrcweir 302cdf0e10cSrcweir 303cdf0e10cSrcweir 304cdf0e10cSrcweir 305cdf0e10cSrcweir 306cdf0e10cSrcweir 307cdf0e10cSrcweir 308cdf0e10cSrcweir 309cdf0e10cSrcweir 310cdf0e10cSrcweir 311cdf0e10cSrcweir 312cdf0e10cSrcweir 313cdf0e10cSrcweir 314cdf0e10cSrcweir 315cdf0e10cSrcweir 316cdf0e10cSrcweir 317cdf0e10cSrcweir 318cdf0e10cSrcweir 319