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