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