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 "textimportoptions.hrc" 25cdf0e10cSrcweir 26cdf0e10cSrcweirModalDialog RID_SCDLG_TEXT_IMPORT_OPTIONS 27cdf0e10cSrcweir{ 28cdf0e10cSrcweir HelpID = "sc:ModalDialog:RID_SCDLG_TEXT_IMPORT_OPTIONS"; 29cdf0e10cSrcweir Text [ en-US ] = "Import Options" ; 30cdf0e10cSrcweir Size = MAP_APPFONT ( 230 , 101 ) ; 31cdf0e10cSrcweir Moveable = TRUE ; 32cdf0e10cSrcweir Closeable = TRUE ; 33cdf0e10cSrcweir OutputSize = TRUE ; 34cdf0e10cSrcweir 35cdf0e10cSrcweir OKButton BTN_OK 36cdf0e10cSrcweir { 37cdf0e10cSrcweir Pos = MAP_APPFONT ( 175, 6 ) ; 38cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 39cdf0e10cSrcweir DefButton = TRUE ; 40cdf0e10cSrcweir }; 41cdf0e10cSrcweir 42cdf0e10cSrcweir CancelButton BTN_CANCEL 43cdf0e10cSrcweir { 44cdf0e10cSrcweir Pos = MAP_APPFONT ( 175, 23 ) ; 45cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 46cdf0e10cSrcweir }; 47cdf0e10cSrcweir 48cdf0e10cSrcweir HelpButton BTN_HELP 49cdf0e10cSrcweir { 50cdf0e10cSrcweir Pos = MAP_APPFONT ( 175, 43 ) ; 51cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 52cdf0e10cSrcweir }; 53cdf0e10cSrcweir 54cdf0e10cSrcweir FixedLine FL_CHOOSE_LANG 55cdf0e10cSrcweir { 56cdf0e10cSrcweir Pos = MAP_APPFONT( 6, 3 ) ; 57cdf0e10cSrcweir Size = MAP_APPFONT( 165, 14 ) ; 58cdf0e10cSrcweir 59cdf0e10cSrcweir Text [ en-US ] = "Select the language to use for import" ; 60cdf0e10cSrcweir }; 61cdf0e10cSrcweir 62cdf0e10cSrcweir RadioButton RB_AUTOMATIC 63cdf0e10cSrcweir { 64cdf0e10cSrcweir HelpID = "sc:RadioButton:RID_SCDLG_TEXT_IMPORT_OPTIONS:RB_AUTOMATIC"; 65cdf0e10cSrcweir Pos = MAP_APPFONT( 12, 20 ) ; 66cdf0e10cSrcweir Size = MAP_APPFONT( 159, 10 ) ; 67cdf0e10cSrcweir TabStop = TRUE ; 68cdf0e10cSrcweir 69cdf0e10cSrcweir Text [ en-US ] = "Automatic" ; 70cdf0e10cSrcweir }; 71cdf0e10cSrcweir 72cdf0e10cSrcweir RadioButton RB_CUSTOM 73cdf0e10cSrcweir { 74cdf0e10cSrcweir HelpID = "sc:RadioButton:RID_SCDLG_TEXT_IMPORT_OPTIONS:RB_CUSTOM"; 75cdf0e10cSrcweir Pos = MAP_APPFONT( 12, 34 ) ; 76cdf0e10cSrcweir Size = MAP_APPFONT( 159, 10 ) ; 77cdf0e10cSrcweir TabStop = TRUE ; 78cdf0e10cSrcweir 79cdf0e10cSrcweir Text [ en-US ] = "Custom" ; 80cdf0e10cSrcweir }; 81cdf0e10cSrcweir 82cdf0e10cSrcweir ListBox LB_CUSTOM_LANG 83cdf0e10cSrcweir { 84cdf0e10cSrcweir HelpID = "sc:ListBox:RID_SCDLG_TEXT_IMPORT_OPTIONS:LB_CUSTOM_LANG"; 85cdf0e10cSrcweir Pos = MAP_APPFONT( 20, 50 ) ; 86cdf0e10cSrcweir Size = MAP_APPFONT( 140, 120 ) ; 87cdf0e10cSrcweir TabStop = TRUE ; 88cdf0e10cSrcweir DropDown = TRUE ; 89cdf0e10cSrcweir Sort = TRUE ; 90cdf0e10cSrcweir }; 91cdf0e10cSrcweir 92cdf0e10cSrcweir FixedLine FL_OPTION 93cdf0e10cSrcweir { 94cdf0e10cSrcweir Pos = MAP_APPFONT( 6, 70 ); 95cdf0e10cSrcweir Size = MAP_APPFONT( 165, 14 ); 96cdf0e10cSrcweir Text [ en-US ] = "Options" ; 97cdf0e10cSrcweir }; 98cdf0e10cSrcweir 99cdf0e10cSrcweir CheckBox BTN_CONVERT_DATE 100cdf0e10cSrcweir { 101cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_TEXT_IMPORT_OPTIONS:BTN_CONVERT_DATE"; 102cdf0e10cSrcweir Pos = MAP_APPFONT( 12, 86 ); 103cdf0e10cSrcweir Size = MAP_APPFONT( 159, 10 ); 104cdf0e10cSrcweir TabStop = TRUE ; 105cdf0e10cSrcweir Text [ en-US ] = "Detect special numbers (such as dates)." ; 106cdf0e10cSrcweir }; 107cdf0e10cSrcweir}; 108cdf0e10cSrcweir 109