diff options
Diffstat (limited to 'sc/source/filter/excel/impop.cxx')
-rw-r--r-- | sc/source/filter/excel/impop.cxx | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/sc/source/filter/excel/impop.cxx b/sc/source/filter/excel/impop.cxx index dfbd0dbcb11e..0967cbe3ea67 100644 --- a/sc/source/filter/excel/impop.cxx +++ b/sc/source/filter/excel/impop.cxx @@ -85,29 +85,24 @@ using namespace ::com::sun::star; - const double ImportExcel::fExcToTwips = ( double ) TWIPS_PER_CHAR / 256.0; - ImportTyp::ImportTyp( ScDocument* pDoc, rtl_TextEncoding eQ ) { eQuellChar = eQ; pD = pDoc; } - ImportTyp::~ImportTyp() { } - FltError ImportTyp::Read() { return eERR_INTERN; } - ImportExcel::ImportExcel( XclImpRootData& rImpData, SvStream& rStrm ): ImportTyp( &rImpData.mrDoc, rImpData.meTextEnc ), XclImpRoot( rImpData ), @@ -157,7 +152,6 @@ ImportExcel::ImportExcel( XclImpRootData& rImpData, SvStream& rStrm ): pD->SetDocOptions( aDocOpt ); } - ImportExcel::~ImportExcel( void ) { GetDoc().SetSrcCharSet( GetTextEncoding() ); @@ -409,13 +403,11 @@ void ImportExcel::ReadRk() } } - void ImportExcel::Window1() { GetDocViewSettings().ReadWindow1( maStrm ); } - void ImportExcel::Row25( void ) { sal_uInt16 nRow, nRowHeight; @@ -446,7 +438,6 @@ void ImportExcel::Row25( void ) } } - void ImportExcel::Bof2( void ) { sal_uInt16 nSubType; @@ -462,7 +453,6 @@ void ImportExcel::Bof2( void ) pExcRoot->eDateiTyp = Biff2; } - void ImportExcel::Eof( void ) { // POST: darf nur nach einer GUELTIGEN Tabelle gerufen werden! @@ -470,7 +460,6 @@ void ImportExcel::Eof( void ) IncCurrScTab(); } - void ImportExcel::SheetPassword( void ) { if (GetRoot().GetBiff() != EXC_BIFF8) @@ -479,7 +468,6 @@ void ImportExcel::SheetPassword( void ) GetRoot().GetSheetProtectBuffer().ReadPasswordHash( aIn, GetCurrScTab() ); } - void ImportExcel::Externsheet( void ) { OUString aUrl, aTabName; @@ -489,7 +477,6 @@ void ImportExcel::Externsheet( void ) mnLastRefIdx = pExcRoot->pExtSheetBuff->Add( aUrl, aTabName, bSameWorkBook ); } - void ImportExcel:: WinProtection( void ) { if (GetRoot().GetBiff() != EXC_BIFF8) @@ -498,7 +485,6 @@ void ImportExcel:: WinProtection( void ) GetRoot().GetDocProtectBuffer().ReadWinProtect( aIn ); } - void ImportExcel::Columndefault( void ) {// Default Cell Attributes sal_uInt16 nColMic, nColMac; @@ -524,7 +510,6 @@ void ImportExcel::Columndefault( void ) } } - void ImportExcel::Array25( void ) { sal_uInt16 nFirstRow, nLastRow, nFormLen; @@ -560,7 +545,6 @@ void ImportExcel::Array25( void ) } } - void ImportExcel::Rec1904( void ) { sal_uInt16 n1904; @@ -576,7 +560,6 @@ void ImportExcel::Rec1904( void ) } } - void ImportExcel::Externname25( void ) { sal_uInt32 nRes; @@ -601,7 +584,6 @@ void ImportExcel::Externname25( void ) } } - void ImportExcel::Colwidth( void ) {// Column Width sal_uInt8 nColFirst, nColLast; @@ -617,7 +599,6 @@ void ImportExcel::Colwidth( void ) pColRowBuff->SetWidthRange( nColFirst, nColLast, nScWidth ); } - void ImportExcel::Defrowheight2( void ) { sal_uInt16 nDefHeight; @@ -626,7 +607,6 @@ void ImportExcel::Defrowheight2( void ) pColRowBuff->SetDefHeight( nDefHeight, EXC_DEFROW_UNSYNCED ); } - void ImportExcel::SheetProtect( void ) { if (GetRoot().GetBiff() != EXC_BIFF8) @@ -656,13 +636,11 @@ void ImportExcel::Codepage( void ) SetCodePage( maStrm.ReaduInt16() ); } - void ImportExcel::Ixfe( void ) { maStrm >> mnIxfeIndex; } - void ImportExcel::DefColWidth( void ) { // stored as entire characters -> convert to 1/256 of characters (as in COLINFO) @@ -676,12 +654,10 @@ void ImportExcel::DefColWidth( void ) pColRowBuff->SetDefWidth( nScWidth ); } - void ImportExcel::Builtinfmtcnt( void ) { } - void ImportExcel::Colinfo( void ) {// Column Formatting Information sal_uInt16 nColFirst, nColLast, nColWidth, nXF; @@ -708,7 +684,6 @@ void ImportExcel::Colinfo( void ) pColRowBuff->SetDefaultXF( nColFirst, nColLast, nXF ); } - void ImportExcel::Wsbool( void ) { sal_uInt16 nFlags; @@ -720,7 +695,6 @@ void ImportExcel::Wsbool( void ) GetPageSettings().SetFitToPages( ::get_flag( nFlags, EXC_WSBOOL_FITTOPAGE ) ); } - void ImportExcel::Boundsheet( void ) { sal_uInt16 nGrbit = 0; @@ -754,7 +728,6 @@ void ImportExcel::Boundsheet( void ) nBdshtTab++; } - void ImportExcel::Country( void ) { sal_uInt16 nUICountry, nDocCountry; @@ -771,7 +744,6 @@ void ImportExcel::Country( void ) SetUILanguage( eLanguage ); } - void ImportExcel::ReadUsesElfs() { if( maStrm.ReaduInt16() != 0 ) @@ -782,7 +754,6 @@ void ImportExcel::ReadUsesElfs() } } - void ImportExcel::Hideobj( void ) { sal_uInt16 nHide; @@ -818,19 +789,16 @@ void ImportExcel::Hideobj( void ) pD->SetViewOptions( aOpts ); } - void ImportExcel::Bundleheader( void ) { } - void ImportExcel::Standardwidth( void ) { sal_uInt16 nScWidth = XclTools::GetScColumnWidth( maStrm.ReaduInt16(), GetCharWidth() ); pColRowBuff->SetDefWidth( nScWidth, true ); } - void ImportExcel::Shrfmla( void ) { switch (mnLastRecId) @@ -888,7 +856,6 @@ void ImportExcel::Shrfmla( void ) mpLastFormula->mpCell = pCell; } - void ImportExcel::Mulrk( void ) { XclAddress aXclPos; @@ -910,7 +877,6 @@ void ImportExcel::Mulrk( void ) } } - void ImportExcel::Mulblank( void ) { XclAddress aXclPos; @@ -928,7 +894,6 @@ void ImportExcel::Mulblank( void ) } } - void ImportExcel::Rstring( void ) { XclAddress aXclPos; @@ -957,7 +922,6 @@ void ImportExcel::Rstring( void ) } } - void ImportExcel::Cellmerging() { XclImpAddressConverter& rAddrConv = GetAddressConverter(); @@ -975,7 +939,6 @@ void ImportExcel::Cellmerging() } } - void ImportExcel::Olesize( void ) { XclRange aXclOleSize( ScAddress::UNINITIALIZED ); @@ -986,7 +949,6 @@ void ImportExcel::Olesize( void ) GetAddressConverter().ConvertRange( maScOleSize, aXclOleSize, nScTab, nScTab, false ); } - void ImportExcel::Row34( void ) { sal_uInt16 nRow, nRowHeight, nGrbit, nXF; @@ -1016,7 +978,6 @@ void ImportExcel::Row34( void ) } } - void ImportExcel::Bof3( void ) { sal_uInt16 nSubType; @@ -1035,7 +996,6 @@ void ImportExcel::Bof3( void ) pExcRoot->eDateiTyp = Biff3; } - void ImportExcel::Array34( void ) { sal_uInt16 nFirstRow, nLastRow, nFormLen; @@ -1062,12 +1022,10 @@ void ImportExcel::Array34( void ) } } - void ImportExcel::Externname34( void ) { } - void ImportExcel::Defrowheight345( void ) { sal_uInt16 nFlags, nDefHeight; @@ -1075,7 +1033,6 @@ void ImportExcel::Defrowheight345( void ) pColRowBuff->SetDefHeight( nDefHeight, nFlags ); } - void ImportExcel::TableOp( void ) { sal_uInt16 nFirstRow, nLastRow; @@ -1151,7 +1108,6 @@ void ImportExcel::TableOp( void ) } } - void ImportExcel::Bof4( void ) { sal_uInt16 nSubType; @@ -1169,7 +1125,6 @@ void ImportExcel::Bof4( void ) pExcRoot->eDateiTyp = Biff4; } - void ImportExcel::Bof5( void ) { //POST: eDateiTyp = Typ der zu lesenden Datei @@ -1210,7 +1165,6 @@ void ImportExcel::EndSheet( void ) FinalizeTable(); } - void ImportExcel::NewTable( void ) { SCTAB nTab = GetCurrScTab(); @@ -1238,13 +1192,11 @@ void ImportExcel::NewTable( void ) pRowOutlineBuff = pNewItem->GetRowOutline(); } - const ScTokenArray* ImportExcel::ErrorToFormula( bool bErrOrVal, sal_uInt8 nError, double& rVal ) { return pFormConv->GetBoolErr( XclTools::ErrorToEnum( rVal, bErrOrVal, nError ) ); } - void ImportExcel::AdjustRowHeight() { /* Speed up chart import: import all sheets without charts, then @@ -1255,7 +1207,6 @@ void ImportExcel::AdjustRowHeight() pDocObj->UpdateAllRowHeights(); } - void ImportExcel::PostDocLoad( void ) { /* Set automatic page numbering in Default page style (default is "page number = 1"). |