diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-03-22 11:10:26 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-03-22 11:10:26 +0000 |
commit | 23168a6e259503b548afea95e6bdf1d8b3a05d12 (patch) | |
tree | 4533b290be2737566afea528213b20bdcc5512ec /sc/source/ui/dbgui/scuiimoptdlg.cxx | |
parent | cde06356aa26d38adeb19b88e62ea11e4e9d33db (diff) |
INTEGRATION: CWS dr46 (1.4.106); FILE MERGED
2006/02/16 13:06:18 er 1.4.106.1: #i4925# CSV export with option 'save as shown'
Diffstat (limited to 'sc/source/ui/dbgui/scuiimoptdlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/scuiimoptdlg.cxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/scuiimoptdlg.cxx b/sc/source/ui/dbgui/scuiimoptdlg.cxx index 1e83ca9d5b24..7b37c1459b56 100644 --- a/sc/source/ui/dbgui/scuiimoptdlg.cxx +++ b/sc/source/ui/dbgui/scuiimoptdlg.cxx @@ -4,9 +4,9 @@ * * $RCSfile: scuiimoptdlg.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-08 20:41:54 $ + * last change: $Author: obo $ $Date: 2006-03-22 12:10:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -147,7 +147,8 @@ ScImportOptionsDlg::ScImportOptionsDlg( aFtFont ( this, ScResId( FT_FONT ) ), aLbFont ( this, ScResId( bAscii ? DDLB_FONT : LB_FONT ) ), aFlFieldOpt ( this, ScResId( FL_FIELDOPT ) ), - aCbFixed ( this, ScResId( CB_FIXEDWIDTH ) ) + aCbFixed ( this, ScResId( CB_FIXEDWIDTH ) ), + aCbShown ( this, ScResId( CB_SAVESHOWN ) ) { // im Ctor-Initializer nicht moeglich (MSC kann das nicht): pFieldSepTab = new ScDelimiterTable( String(ScResId(SCSTR_FIELDSEP)) ); @@ -224,6 +225,8 @@ ScImportOptionsDlg::ScImportOptionsDlg( aCbFixed.Show(); aCbFixed.SetClickHdl( LINK( this, ScImportOptionsDlg, FixedWidthHdl ) ); aCbFixed.Check( FALSE ); + aCbShown.Show(); + aCbShown.Check( TRUE ); } else { @@ -234,6 +237,7 @@ ScImportOptionsDlg::ScImportOptionsDlg( aEdFieldSep.Hide(); aEdTextSep.Hide(); aCbFixed.Hide(); + aCbShown.Hide(); aLbFont.GrabFocus(); aLbFont.SetDoubleClickHdl( LINK( this, ScImportOptionsDlg, DoubleClickHdl ) ); } @@ -267,6 +271,7 @@ void ScImportOptionsDlg::GetImportOptions( ScImportOptions& rOptions ) const rOptions.nFieldSepCode = GetCodeFromCombo( aEdFieldSep ); rOptions.nTextSepCode = GetCodeFromCombo( aEdTextSep ); rOptions.bFixedWidth = aCbFixed.IsChecked(); + rOptions.bSaveAsShown = aCbShown.IsChecked(); } } @@ -309,6 +314,7 @@ IMPL_LINK( ScImportOptionsDlg, FixedWidthHdl, CheckBox*, pCheckBox ) aEdFieldSep.Enable( bEnable ); aFtTextSep.Enable( bEnable ); aEdTextSep.Enable( bEnable ); + aCbShown.Enable( bEnable ); } return 0; } |