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 25cdf0e10cSrcweir#include "imoptdlg.hrc" 26cdf0e10cSrcweir 27cdf0e10cSrcweirModalDialog RID_SCDLG_IMPORTOPT 28cdf0e10cSrcweir{ 29cdf0e10cSrcweir HelpId = HID_SC_INPORTOPT ; 30cdf0e10cSrcweir OutputSize = TRUE ; 31cdf0e10cSrcweir SVLook = TRUE ; 32cdf0e10cSrcweir Size = MAP_APPFONT ( 256 , 66 ) ; 33cdf0e10cSrcweir Moveable = TRUE ; 34cdf0e10cSrcweir Closeable = FALSE ; 35cdf0e10cSrcweir Text [ en-US ] = "Import File" ; 36cdf0e10cSrcweir FixedText FT_FIELDSEP 37cdf0e10cSrcweir { 38cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 32 ) ; 39cdf0e10cSrcweir Size = MAP_APPFONT ( 55 , 8 ) ; 40cdf0e10cSrcweir Text [ en-US ] = "~Field delimiter" ; 41cdf0e10cSrcweir }; 42cdf0e10cSrcweir ComboBox ED_FIELDSEP 43cdf0e10cSrcweir { 44cdf0e10cSrcweir HelpID = "sc:ComboBox:RID_SCDLG_IMPORTOPT:ED_FIELDSEP"; 45cdf0e10cSrcweir Pos = MAP_APPFONT ( 70 , 30 ) ; 46cdf0e10cSrcweir Size = MAP_APPFONT ( 121 , 60 ) ; 47cdf0e10cSrcweir DropDown = TRUE ; 48cdf0e10cSrcweir }; 49cdf0e10cSrcweir FixedText FT_TEXTSEP 50cdf0e10cSrcweir { 51cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 48 ) ; 52cdf0e10cSrcweir Size = MAP_APPFONT ( 55 , 8 ) ; 53cdf0e10cSrcweir Text [ en-US ] = "~Text delimiter" ; 54cdf0e10cSrcweir }; 55cdf0e10cSrcweir ComboBox ED_TEXTSEP 56cdf0e10cSrcweir { 57cdf0e10cSrcweir HelpID = "sc:ComboBox:RID_SCDLG_IMPORTOPT:ED_TEXTSEP"; 58cdf0e10cSrcweir Pos = MAP_APPFONT ( 70 , 46 ) ; 59cdf0e10cSrcweir Size = MAP_APPFONT ( 121 , 60 ) ; 60cdf0e10cSrcweir DropDown = TRUE ; 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir FixedText FT_FONT 63cdf0e10cSrcweir { 64cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 16 ) ; 65cdf0e10cSrcweir Size = MAP_APPFONT ( 55 , 8 ) ; 66cdf0e10cSrcweir Text [ en-US ] = "~Character set" ; 67cdf0e10cSrcweir }; 68cdf0e10cSrcweir ListBox DDLB_FONT 69cdf0e10cSrcweir { 70cdf0e10cSrcweir HelpID = "sc:ListBox:RID_SCDLG_IMPORTOPT:DDLB_FONT"; 71cdf0e10cSrcweir Border = TRUE; 72cdf0e10cSrcweir Sort = TRUE; 73cdf0e10cSrcweir DropDown = TRUE ; 74cdf0e10cSrcweir Pos = MAP_APPFONT ( 70 , 14 ) ; 75cdf0e10cSrcweir Size = MAP_APPFONT ( 121 , 52 ) ; 76cdf0e10cSrcweir }; 77cdf0e10cSrcweir ListBox LB_FONT 78cdf0e10cSrcweir { 79cdf0e10cSrcweir HelpID = "sc:ListBox:RID_SCDLG_IMPORTOPT:LB_FONT"; 80cdf0e10cSrcweir Border = TRUE; 81cdf0e10cSrcweir Sort = TRUE; 82cdf0e10cSrcweir DropDown = FALSE ; 83cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 84cdf0e10cSrcweir Size = MAP_APPFONT ( 179 , 50 ) ; 85cdf0e10cSrcweir }; 86cdf0e10cSrcweir FixedLine FL_FIELDOPT 87cdf0e10cSrcweir { 88cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 89cdf0e10cSrcweir Size = MAP_APPFONT ( 188 , 8 ) ; 90cdf0e10cSrcweir Text [ en-US ] = "Field options" ; 91cdf0e10cSrcweir }; 92cdf0e10cSrcweir CheckBox CB_FIXEDWIDTH 93cdf0e10cSrcweir { 94cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_IMPORTOPT:CB_FIXEDWIDTH"; 95cdf0e10cSrcweir Pos = MAP_APPFONT( 12, 92 ); 96cdf0e10cSrcweir Size = MAP_APPFONT( 172, 10 ); 97cdf0e10cSrcweir Hide = TRUE; 98cdf0e10cSrcweir Text [ en-US ] = "Fixed column ~width"; 99cdf0e10cSrcweir }; 100cdf0e10cSrcweir CheckBox CB_SAVESHOWN 101cdf0e10cSrcweir { 102cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_IMPORTOPT:CB_SAVESHOWN"; 103cdf0e10cSrcweir Pos = MAP_APPFONT( 12, 78 ); 104cdf0e10cSrcweir Size = MAP_APPFONT( 172, 10 ); 105cdf0e10cSrcweir TabStop = TRUE; 106cdf0e10cSrcweir Hide = TRUE; 107cdf0e10cSrcweir Text [ en-US ] = "Save cell content as ~shown"; 108cdf0e10cSrcweir }; 109cdf0e10cSrcweir CheckBox CB_QUOTEALL 110cdf0e10cSrcweir { 111cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_IMPORTOPT:CB_QUOTEALL"; 112cdf0e10cSrcweir Pos = MAP_APPFONT( 20, 64 ); 113cdf0e10cSrcweir Size = MAP_APPFONT( 164, 10 ); 114cdf0e10cSrcweir Hide = TRUE; 115cdf0e10cSrcweir Text [ en-US ] = "~Quote all text cells"; 116cdf0e10cSrcweir }; 117cdf0e10cSrcweir OKButton BTN_OK 118cdf0e10cSrcweir { 119cdf0e10cSrcweir Pos = MAP_APPFONT ( 202 , 6 ) ; 120cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 121cdf0e10cSrcweir DefButton = TRUE ; 122cdf0e10cSrcweir }; 123cdf0e10cSrcweir CancelButton BTN_CANCEL 124cdf0e10cSrcweir { 125cdf0e10cSrcweir Pos = MAP_APPFONT ( 202 , 24 ) ; 126cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 127cdf0e10cSrcweir }; 128cdf0e10cSrcweir HelpButton BTN_HELP 129cdf0e10cSrcweir { 130cdf0e10cSrcweir Pos = MAP_APPFONT ( 202 , 43 ) ; 131cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 132cdf0e10cSrcweir }; 133cdf0e10cSrcweir}; 134cdf0e10cSrcweir 135cdf0e10cSrcweir 136cdf0e10cSrcweir 137cdf0e10cSrcweir 138cdf0e10cSrcweir 139cdf0e10cSrcweir 140cdf0e10cSrcweir 141cdf0e10cSrcweir 142cdf0e10cSrcweir 143cdf0e10cSrcweir 144cdf0e10cSrcweir 145cdf0e10cSrcweir 146cdf0e10cSrcweir 147cdf0e10cSrcweir 148cdf0e10cSrcweir 149cdf0e10cSrcweir 150cdf0e10cSrcweir 151cdf0e10cSrcweir 152