1*b1cdbd2cSJim Jagielski/************************************************************** 2*b1cdbd2cSJim Jagielski * 3*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one 4*b1cdbd2cSJim Jagielski * or more contributor license agreements. See the NOTICE file 5*b1cdbd2cSJim Jagielski * distributed with this work for additional information 6*b1cdbd2cSJim Jagielski * regarding copyright ownership. The ASF licenses this file 7*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the 8*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance 9*b1cdbd2cSJim Jagielski * with the License. You may obtain a copy of the License at 10*b1cdbd2cSJim Jagielski * 11*b1cdbd2cSJim Jagielski * http://www.apache.org/licenses/LICENSE-2.0 12*b1cdbd2cSJim Jagielski * 13*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing, 14*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an 15*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*b1cdbd2cSJim Jagielski * KIND, either express or implied. See the License for the 17*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations 18*b1cdbd2cSJim Jagielski * under the License. 19*b1cdbd2cSJim Jagielski * 20*b1cdbd2cSJim Jagielski *************************************************************/ 21*b1cdbd2cSJim Jagielski 22*b1cdbd2cSJim Jagielski 23*b1cdbd2cSJim Jagielski 24*b1cdbd2cSJim Jagielski 25*b1cdbd2cSJim Jagielski#include "imoptdlg.hrc" 26*b1cdbd2cSJim Jagielski 27*b1cdbd2cSJim JagielskiModalDialog RID_SCDLG_IMPORTOPT 28*b1cdbd2cSJim Jagielski{ 29*b1cdbd2cSJim Jagielski HelpId = HID_SC_INPORTOPT ; 30*b1cdbd2cSJim Jagielski OutputSize = TRUE ; 31*b1cdbd2cSJim Jagielski SVLook = TRUE ; 32*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 256 , 66 ) ; 33*b1cdbd2cSJim Jagielski Moveable = TRUE ; 34*b1cdbd2cSJim Jagielski Closeable = FALSE ; 35*b1cdbd2cSJim Jagielski Text [ en-US ] = "Import File" ; 36*b1cdbd2cSJim Jagielski FixedText FT_FIELDSEP 37*b1cdbd2cSJim Jagielski { 38*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 12 , 32 ) ; 39*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 55 , 8 ) ; 40*b1cdbd2cSJim Jagielski Text [ en-US ] = "~Field delimiter" ; 41*b1cdbd2cSJim Jagielski }; 42*b1cdbd2cSJim Jagielski ComboBox ED_FIELDSEP 43*b1cdbd2cSJim Jagielski { 44*b1cdbd2cSJim Jagielski HelpID = "sc:ComboBox:RID_SCDLG_IMPORTOPT:ED_FIELDSEP"; 45*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 70 , 30 ) ; 46*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 121 , 60 ) ; 47*b1cdbd2cSJim Jagielski DropDown = TRUE ; 48*b1cdbd2cSJim Jagielski }; 49*b1cdbd2cSJim Jagielski FixedText FT_TEXTSEP 50*b1cdbd2cSJim Jagielski { 51*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 12 , 48 ) ; 52*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 55 , 8 ) ; 53*b1cdbd2cSJim Jagielski Text [ en-US ] = "~Text delimiter" ; 54*b1cdbd2cSJim Jagielski }; 55*b1cdbd2cSJim Jagielski ComboBox ED_TEXTSEP 56*b1cdbd2cSJim Jagielski { 57*b1cdbd2cSJim Jagielski HelpID = "sc:ComboBox:RID_SCDLG_IMPORTOPT:ED_TEXTSEP"; 58*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 70 , 46 ) ; 59*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 121 , 60 ) ; 60*b1cdbd2cSJim Jagielski DropDown = TRUE ; 61*b1cdbd2cSJim Jagielski }; 62*b1cdbd2cSJim Jagielski FixedText FT_FONT 63*b1cdbd2cSJim Jagielski { 64*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 12 , 16 ) ; 65*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 55 , 8 ) ; 66*b1cdbd2cSJim Jagielski Text [ en-US ] = "~Character set" ; 67*b1cdbd2cSJim Jagielski }; 68*b1cdbd2cSJim Jagielski ListBox DDLB_FONT 69*b1cdbd2cSJim Jagielski { 70*b1cdbd2cSJim Jagielski HelpID = "sc:ListBox:RID_SCDLG_IMPORTOPT:DDLB_FONT"; 71*b1cdbd2cSJim Jagielski Border = TRUE; 72*b1cdbd2cSJim Jagielski Sort = TRUE; 73*b1cdbd2cSJim Jagielski DropDown = TRUE ; 74*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 70 , 14 ) ; 75*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 121 , 52 ) ; 76*b1cdbd2cSJim Jagielski }; 77*b1cdbd2cSJim Jagielski ListBox LB_FONT 78*b1cdbd2cSJim Jagielski { 79*b1cdbd2cSJim Jagielski HelpID = "sc:ListBox:RID_SCDLG_IMPORTOPT:LB_FONT"; 80*b1cdbd2cSJim Jagielski Border = TRUE; 81*b1cdbd2cSJim Jagielski Sort = TRUE; 82*b1cdbd2cSJim Jagielski DropDown = FALSE ; 83*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 12 , 14 ) ; 84*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 179 , 50 ) ; 85*b1cdbd2cSJim Jagielski }; 86*b1cdbd2cSJim Jagielski FixedLine FL_FIELDOPT 87*b1cdbd2cSJim Jagielski { 88*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 6 , 3 ) ; 89*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 188 , 8 ) ; 90*b1cdbd2cSJim Jagielski Text [ en-US ] = "Field options" ; 91*b1cdbd2cSJim Jagielski }; 92*b1cdbd2cSJim Jagielski CheckBox CB_FIXEDWIDTH 93*b1cdbd2cSJim Jagielski { 94*b1cdbd2cSJim Jagielski HelpID = "sc:CheckBox:RID_SCDLG_IMPORTOPT:CB_FIXEDWIDTH"; 95*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT( 12, 92 ); 96*b1cdbd2cSJim Jagielski Size = MAP_APPFONT( 172, 10 ); 97*b1cdbd2cSJim Jagielski Hide = TRUE; 98*b1cdbd2cSJim Jagielski Text [ en-US ] = "Fixed column ~width"; 99*b1cdbd2cSJim Jagielski }; 100*b1cdbd2cSJim Jagielski CheckBox CB_SAVESHOWN 101*b1cdbd2cSJim Jagielski { 102*b1cdbd2cSJim Jagielski HelpID = "sc:CheckBox:RID_SCDLG_IMPORTOPT:CB_SAVESHOWN"; 103*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT( 12, 78 ); 104*b1cdbd2cSJim Jagielski Size = MAP_APPFONT( 172, 10 ); 105*b1cdbd2cSJim Jagielski TabStop = TRUE; 106*b1cdbd2cSJim Jagielski Hide = TRUE; 107*b1cdbd2cSJim Jagielski Text [ en-US ] = "Save cell content as ~shown"; 108*b1cdbd2cSJim Jagielski }; 109*b1cdbd2cSJim Jagielski CheckBox CB_QUOTEALL 110*b1cdbd2cSJim Jagielski { 111*b1cdbd2cSJim Jagielski HelpID = "sc:CheckBox:RID_SCDLG_IMPORTOPT:CB_QUOTEALL"; 112*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT( 20, 64 ); 113*b1cdbd2cSJim Jagielski Size = MAP_APPFONT( 164, 10 ); 114*b1cdbd2cSJim Jagielski Hide = TRUE; 115*b1cdbd2cSJim Jagielski Text [ en-US ] = "~Quote all text cells"; 116*b1cdbd2cSJim Jagielski }; 117*b1cdbd2cSJim Jagielski OKButton BTN_OK 118*b1cdbd2cSJim Jagielski { 119*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 202 , 6 ) ; 120*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 50 , 14 ) ; 121*b1cdbd2cSJim Jagielski DefButton = TRUE ; 122*b1cdbd2cSJim Jagielski }; 123*b1cdbd2cSJim Jagielski CancelButton BTN_CANCEL 124*b1cdbd2cSJim Jagielski { 125*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 202 , 24 ) ; 126*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 50 , 14 ) ; 127*b1cdbd2cSJim Jagielski }; 128*b1cdbd2cSJim Jagielski HelpButton BTN_HELP 129*b1cdbd2cSJim Jagielski { 130*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 202 , 43 ) ; 131*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 50 , 14 ) ; 132*b1cdbd2cSJim Jagielski }; 133*b1cdbd2cSJim Jagielski}; 134*b1cdbd2cSJim Jagielski 135*b1cdbd2cSJim Jagielski 136*b1cdbd2cSJim Jagielski 137*b1cdbd2cSJim Jagielski 138*b1cdbd2cSJim Jagielski 139*b1cdbd2cSJim Jagielski 140*b1cdbd2cSJim Jagielski 141*b1cdbd2cSJim Jagielski 142*b1cdbd2cSJim Jagielski 143*b1cdbd2cSJim Jagielski 144*b1cdbd2cSJim Jagielski 145*b1cdbd2cSJim Jagielski 146*b1cdbd2cSJim Jagielski 147*b1cdbd2cSJim Jagielski 148*b1cdbd2cSJim Jagielski 149*b1cdbd2cSJim Jagielski 150*b1cdbd2cSJim Jagielski 151*b1cdbd2cSJim Jagielski 152