LibreOffice Module sc (master) 1
|
#include <map>
#include <filter.hxx>
#include <document.hxx>
#include <scerrors.hxx>
#include <optab.h>
#include <op.h>
#include <scmem.h>
#include <decl.h>
#include <fprogressbar.hxx>
#include "lotfilter.hxx"
#include <tools/stream.hxx>
Go to the source code of this file.
Functions | |
static ErrCode | generate_Opcodes (LotusContext &rContext, SvStream &aStream, ScfStreamProgressBar &aPrgrsBar) |
static WKTYP | ScanVersion (SvStream &aStream) |
ErrCode | ScImportLotus123old (LotusContext &rContext, SvStream &aStream, rtl_TextEncoding eSrc) |
|
static |
Definition at line 37 of file filter.cxx.
References LotusContext::bEOF, ScDocument::CalcAfterLoad(), ERRCODE_NONE, LotusContext::eTyp, eWK123, eWK3, eWK_1, eWK_2, eWK_Error, FKT_LIMIT, FKT_LIMIT123, SvStream::good(), LOTUS_EOF, LOTUS_FILEPASSWD, LOTUS_PATTERN, MemDelete(), nLength, OP_ApplyPatternArea123(), LotusContext::pOpFkt, LotusContext::pOpFkt123, ScfStreamProgressBar::Progress(), LotusContext::rDoc, SvStream::ReadUInt16(), SCERR_IMPORT_FILEPASSWD, SCERR_IMPORT_FORMAT, SCERR_IMPORT_NI, SCERR_IMPORT_UNKNOWN_WK, SvStream::Seek(), STREAM_SEEK_TO_BEGIN, SvStream::Tell(), and SvStream::TellEnd().
Referenced by ScImportLotus123old().
Definition at line 128 of file filter.cxx.
References eWK123, eWK3, eWK_1, eWK_2, eWK_Error, eWK_UNKNOWN, SvStream::good(), LotusContext::nBOF, SvStream::ReadBytes(), and SvStream::ReadUInt16().
Referenced by ScImportLotus123old().
ErrCode ScImportLotus123old | ( | LotusContext & | rContext, |
SvStream & | aStream, | ||
rtl_TextEncoding | eSrc | ||
) |
Definition at line 185 of file filter.cxx.
References LotusContext::aLotusPatternPool, LotusContext::bEOF, LotusContext::eCharset, LotusContext::eTyp, generate_Opcodes(), ScDocument::GetDocumentShell(), MemNew(), LotusContext::rDoc, ScanVersion(), SCERR_IMPORT_OUTOFMEM, and SvStream::Seek().
Referenced by ScFormatFilterPluginImpl::ScImportLotus123(), and TestImportWKS().