Kaydet (Commit) 8f42220c authored tarafından Takeshi Abe's avatar Takeshi Abe Kaydeden (comit) Michael Meeks

removed deserted Lotus 1-2-3 export filter

which has never enabled so far since its birth at 2008

Change-Id: Ifd2e2f1108f44d5816783bf67f11e500eea0c170
üst 80895021
......@@ -128,8 +128,6 @@ $(eval $(call gb_Library_add_exception_objects,scfilt,\
sc/source/filter/html/htmlexp2 \
sc/source/filter/html/htmlimp \
sc/source/filter/html/htmlpars \
sc/source/filter/lotus/expop \
sc/source/filter/lotus/export \
sc/source/filter/lotus/filter \
sc/source/filter/lotus/lotattr \
sc/source/filter/lotus/lotform \
......
......@@ -32,8 +32,6 @@
#include <tools/string.hxx>
#include <rtl/textenc.h>
#define ENABLE_LOTUS123_EXPORT 0
class SfxMedium;
class SvStream;
......@@ -112,9 +110,6 @@ class ScFormatFilterPlugin {
virtual String GetHTMLRangeNameList( ScDocument* pDoc, const String& rOrigName ) = 0;
// various export filters
#if ENABLE_LOTUS123_EXPORT
virtual FltError ScExportLotus123( SvStream&, ScDocument*, ExportFormatLotus, CharSet eDest ) = 0;
#endif
virtual FltError ScExportExcel5( SfxMedium&, ScDocument*, ExportFormatExcel eFormat, CharSet eDest ) = 0;
virtual FltError ScExportDif( SvStream&, ScDocument*, const ScAddress& rOutPos, const CharSet eDest,
sal_uInt32 nDifOption = SC_DIFOPT_EXCEL ) = 0;
......
......@@ -61,49 +61,6 @@ public:
#if ENABLE_LOTUS123_EXPORT
class ExportWK1 : public ExportTyp
{
private:
sal_uInt8 GenFormByte( const ScPatternAttr& );
void Bof();
void Eof();
void Calcmode();
void Calcorder();
void Split();
void Sync();
void Dimensions();
void Window1();
void Colw();
void Blank( const sal_uInt16 nC, const sal_uInt16 nR, const ScPatternAttr& );
void Number( const sal_uInt16 nC, const sal_uInt16 nR, const double f, const ScPatternAttr& );
void Label( const sal_uInt16 nC, const sal_uInt16 nR, const String&, const ScPatternAttr& );
void Formula( const sal_uInt16 nC, const sal_uInt16 nR, const ScFormulaCell*, const ScPatternAttr& );
void Protect();
void Footer();
void Header();
void Margins();
void Labelfmt();
void Calccount();
void Cursorw12();
void WKString( const sal_uInt16 nC, const sal_uInt16 nR, const ScFormulaCell*, const ScPatternAttr& );
void Snrange();
void Hidcol();
void Cpi();
public:
static const sal_uInt16 WK1MAXCOL;
static const sal_uInt16 WK1MAXROW;
inline ExportWK1( SvStream& r, ScDocument* p, CharSet e ) :
ExportTyp( r, p, e ) {};
FltError Write();
};
#endif
class ExportBiff5 : public ExportTyp, protected XclExpRoot
{
private:
......
......@@ -314,9 +314,6 @@ class ScFormatFilterPluginImpl : public ScFormatFilterPlugin {
virtual String GetHTMLRangeNameList( ScDocument* pDoc, const String& rOrigName );
// various export filters
#if ENABLE_LOTUS123_EXPORT
virtual FltError ScExportLotus123( SvStream&, ScDocument*, ExportFormatLotus, CharSet eDest );
#endif
virtual FltError ScExportExcel5( SfxMedium&, ScDocument*, ExportFormatExcel eFormat, CharSet eDest );
virtual FltError ScExportDif( SvStream&, ScDocument*, const ScAddress& rOutPos, const CharSet eDest,
sal_uInt32 nDifOption = SC_DIFOPT_EXCEL );
......
This diff is collapsed.
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "scerrors.hxx"
#include "exp_op.hxx"
#if ENABLE_LOTUS123_EXPORT
FltError ScFormatFilterPluginImpl::ScExportLotus123( SvStream& aStream, ScDocument* pDoc, ExportFormatLotus eFormat, CharSet eDest )
{
switch( eFormat )
{
case ExpWK1:
{
ExportWK1 aWKFile( aStream, pDoc, eDest );
aWKFile.Write();
}
break;
case ExpWK3:
return eERR_NI;
default:
return eERR_NI;
}
return eERR_OK;
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -2238,9 +2238,6 @@ class ScFormatFilterMissing : public ScFormatFilterPlugin {
virtual ScEEAbsImport *CreateHTMLImport( ScDocument*, const String&, const ScRange&, bool ) { return NULL; }
virtual String GetHTMLRangeNameList( ScDocument*, const String& ) { return String(); }
#if ENABLE_LOTUS123_EXPORT
virtual FltError ScExportLotus123( SvStream&, ScDocument*, ExportFormatLotus, CharSet ) RETURN_ERROR
#endif
virtual FltError ScExportExcel5( SfxMedium&, ScDocument*, ExportFormatExcel, CharSet ) RETURN_ERROR
virtual FltError ScExportDif( SvStream&, ScDocument*, const ScAddress&, const CharSet, sal_uInt32 ) RETURN_ERROR
virtual FltError ScExportDif( SvStream&, ScDocument*, const ScRange&, const CharSet, sal_uInt32 ) RETURN_ERROR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment