|
LibreOffice Module sc (master) 1
|
#include <lotimpop.hxx>
Public Member Functions | |
| ImportLotus (LotusContext &rContext, SvStream &, rtl_TextEncoding eSrc) | |
| virtual | ~ImportLotus () override |
| ErrCode | parse () |
| ErrCode | Read () |
| ErrCode | Read (SvStream &) |
Public Member Functions inherited from ImportTyp | |
| ImportTyp (ScDocument &, rtl_TextEncoding eSrc) | |
| virtual | ~ImportTyp () |
Private Member Functions | |
| void | Bof () |
| bool | BofFm3 () |
| void | Columnwidth (sal_uInt16 nRecLen) |
| void | Hiddencolumn (sal_uInt16 nRecLen) |
| void | Userrange () |
| void | Errcell () |
| void | Nacell () |
| void | Labelcell () |
| void | Numbercell () |
| void | Smallnumcell () |
| void | Formulacell (sal_uInt16 nRecLen) |
| void | NamedSheet () |
| void | RowPresentation (sal_uInt16 nRecLen) |
| void | Font_Face () |
| void | Font_Type () |
| void | Font_Ysize () |
| void | Row_ (const sal_uInt16 nRecLen) |
| void | Read (ScAddress &) |
| void | Read (ScRange &) |
| void | Read (char &) |
| void | Read (sal_uInt8 &) |
| void | Read (sal_uInt16 &) |
| void | Read (sal_Int16 &) |
| void | Read (double &) |
| void | Read (LotAttrWK3 &) |
| void | Read (OUString &) |
| void | Skip (const sal_uInt16 nNumBytes) |
Private Attributes | |
| SvStream * | pIn |
| LotusToSc | aConv |
| sal_uInt16 | nTab |
| sal_Int32 | nExtTab |
Additional Inherited Members | |
Protected Attributes inherited from ImportTyp | |
| rtl_TextEncoding | eQuellChar |
| ScDocument & | rD |
Definition at line 31 of file lotimpop.hxx.
| ImportLotus::ImportLotus | ( | LotusContext & | rContext, |
| SvStream & | aStream, | ||
| rtl_TextEncoding | eSrc | ||
| ) |
Definition at line 40 of file lotimpop.cxx.
References aLotImpSemaphore.
|
overridevirtual |
Definition at line 51 of file lotimpop.cxx.
References aLotImpSemaphore.
|
private |
Definition at line 57 of file lotimpop.cxx.
References LotusContext::aActRange, aConv, LotusContext::eActType, LotusContext::eFirstType, LotusToSc::getContext(), SvStream::good(), pIn, Read(), Skip(), WK3, and WK4.
Referenced by parse().
|
private |
|
private |
Definition at line 98 of file lotimpop.cxx.
References SvStream::good(), ScDocument::HasTable(), ScDocument::MakeTable(), pIn, ImportTyp::rD, Read(), SAL_WARN_IF, ScDocument::SetColWidth(), Skip(), and TWIPS_PER_CHAR.
Referenced by parse().
|
private |
Definition at line 180 of file lotimpop.cxx.
References ScDocument::EnsureTable(), SvStream::good(), pIn, ImportTyp::rD, Read(), SAL_WARN, ScDocument::SetString(), ScSetStringParam::setTextInput(), ScAddress::Tab(), and ScDocument::ValidAddress().
Referenced by parse().
|
private |
Definition at line 373 of file lotimpop.cxx.
References aConv, aName, LotusToSc::getContext(), LotusContext::maFontBuff, LotusFontBuffer::nSize, Read(), and LotusFontBuffer::SetName().
Referenced by Read().
|
private |
Definition at line 389 of file lotimpop.cxx.
References aConv, LotusToSc::getContext(), LotusContext::maFontBuff, LotusFontBuffer::nSize, nType, Read(), and LotusFontBuffer::SetType().
Referenced by Read().
|
private |
Definition at line 400 of file lotimpop.cxx.
References aConv, LotusToSc::getContext(), LotusContext::maFontBuff, LotusFontBuffer::nSize, Read(), and LotusFontBuffer::SetHeight().
Referenced by Read().
|
private |
Definition at line 279 of file lotimpop.cxx.
References aConv, ScFormulaCell::AddRecalcMode(), LotusToSc::Convert(), ScDocument::EnsureTable(), SvStream::good(), LotusConverterBase::good(), n, pIn, ImportTyp::rD, Read(), LotusToSc::Reset(), SAL_WARN, SAL_WARN_IF, ScDocument::SetFormulaCell(), LotusToSc::SetWK3(), Skip(), ScAddress::Tab(), and ScDocument::ValidAddress().
Referenced by parse().
|
private |
Definition at line 130 of file lotimpop.cxx.
References SvStream::good(), pIn, ImportTyp::rD, Read(), SAL_WARN_IF, ScDocument::SetColHidden(), and Skip().
Referenced by parse().
|
private |
Definition at line 218 of file lotimpop.cxx.
References aLabel, ScDocument::EnsureTable(), SvStream::good(), pIn, ImportTyp::rD, Read(), SAL_WARN, ScDocument::SetString(), ScSetStringParam::setTextInput(), ScAddress::Tab(), and ScDocument::ValidAddress().
Referenced by parse().
|
private |
Definition at line 199 of file lotimpop.cxx.
References ScDocument::EnsureTable(), SvStream::good(), pIn, ImportTyp::rD, Read(), SAL_WARN, ScDocument::SetString(), ScSetStringParam::setTextInput(), ScAddress::Tab(), and ScDocument::ValidAddress().
Referenced by parse().
|
private |
Definition at line 353 of file lotimpop.cxx.
References aName, ScDocument::HasTable(), ScDocument::InsertTab(), ImportTyp::rD, Read(), ScDocument::RenameTab(), and SanitizeTab().
Referenced by parse().
|
private |
Definition at line 241 of file lotimpop.cxx.
References ScDocument::EnsureTable(), SvStream::good(), pIn, ImportTyp::rD, Read(), SAL_WARN, ScDocument::SetValue(), ScAddress::Tab(), and ScDocument::ValidAddress().
Referenced by parse().
| ErrCode ImportLotus::parse | ( | ) |
Definition at line 32 of file lotread.cxx.
References aConv, Bof(), Columnwidth(), ScDocument::CreateValidTabName(), LotusContext::eFirstType, Errcell(), ERRCODE_NONE, Formulacell(), LotusToSc::getContext(), ScDocument::GetDocumentShell(), ScDocument::GetName(), ScDocument::GetTableCount(), SvStream::good(), ScDocument::HasTable(), Hiddencolumn(), Labelcell(), Nacell(), NamedSheet(), nExtTab, nTab, Numbercell(), pIn, ScfStreamProgressBar::Progress(), ImportTyp::rD, Read(), SvStream::ReadUInt16(), ScDocument::RenameTab(), RowPresentation(), SAL_MAX_UINT32, SAL_WARN_IF, SCERR_IMPORT_FILEPASSWD, SCERR_IMPORT_FORMAT, SCERR_IMPORT_UNKNOWN_WK, SvStream::Seek(), Smallnumcell(), Userrange(), WK3, and WK4.
Referenced by Read(), and TestImportWKS().
| ErrCode ImportLotus::Read | ( | ) |
Definition at line 226 of file lotread.cxx.
References ScDocument::CalcAfterLoad(), parse(), and ImportTyp::rD.
Referenced by Bof(), BofFm3(), Columnwidth(), Errcell(), Font_Face(), Font_Type(), Font_Ysize(), Formulacell(), Hiddencolumn(), Labelcell(), Nacell(), NamedSheet(), Numbercell(), parse(), Read(), Row_(), RowPresentation(), Smallnumcell(), and Userrange().
|
inlineprivate |
Definition at line 101 of file lotimpop.hxx.
References pIn, and SvStream::ReadChar().
|
inlineprivate |
Definition at line 121 of file lotimpop.hxx.
References pIn, and ScfTools::ReadLongDouble().
|
inlineprivate |
Definition at line 126 of file lotimpop.hxx.
References LotAttrWK3::nBack, LotAttrWK3::nFont, LotAttrWK3::nFontCol, LotAttrWK3::nLineStyle, pIn, and SvStream::ReadUChar().
|
private |
Definition at line 312 of file lotimpop.cxx.
References ScfTools::AppendCString(), ImportTyp::eQuellChar, and pIn.
|
inlineprivate |
Definition at line 116 of file lotimpop.hxx.
References pIn, and SvStream::ReadInt16().
|
inlineprivate |
Definition at line 111 of file lotimpop.hxx.
References pIn, and SvStream::ReadUInt16().
|
inlineprivate |
Definition at line 106 of file lotimpop.hxx.
References pIn, and SvStream::ReadUChar().
|
inlineprivate |
Definition at line 83 of file lotimpop.hxx.
References pIn, SvStream::ReadUChar(), SvStream::ReadUInt16(), ScAddress::SetCol(), ScAddress::SetRow(), and ScAddress::SetTab().
Referenced by ScFormatFilterPluginImpl::ScImportLotus123().
|
inlineprivate |
Definition at line 95 of file lotimpop.hxx.
References ScRange::aEnd, ScRange::aStart, and Read().
Definition at line 233 of file lotread.cxx.
References aConv, LotAttrTable::Apply(), BofFm3(), ERRCODE_NONE, Font_Face(), Font_Type(), Font_Ysize(), LotusToSc::getContext(), ScDocument::GetDocumentShell(), SvStream::good(), LotusContext::maAttrTable, nExtTab, nTab, pIn, ScfStreamProgressBar::Progress(), ImportTyp::rD, SvStream::ReadUInt16(), Row_(), SAL_MAX_UINT32, SAL_WARN_IF, SCERR_IMPORT_FORMAT, and SvStream::Seek().
|
private |
Definition at line 411 of file lotimpop.cxx.
References aConv, ScDocument::DoMerge(), LotusToSc::getContext(), ScDocument::HasData(), LotAttrWK3::HasStyles(), LotAttrWK3::IsCentered(), LotusContext::maAttrTable, nExtTab, ImportTyp::rD, LotusContext::rDoc, Read(), SAL_WARN_IF, ScDocument::SanitizeRow(), LotAttrTable::SetAttr(), and ScDocument::SetRowHeight().
Referenced by Read().
|
private |
Definition at line 317 of file lotimpop.cxx.
References ScDocument::GetRowFlags(), SvStream::good(), ManualSize, pIn, ImportTyp::rD, Read(), SAL_WARN_IF, ScDocument::SetRowFlags(), ScDocument::SetRowHeight(), and Skip().
Referenced by parse().
|
inlineprivate |
Definition at line 131 of file lotimpop.hxx.
References n, pIn, and SvStream::SeekRel().
Referenced by Bof(), Columnwidth(), Formulacell(), Hiddencolumn(), and RowPresentation().
|
private |
Definition at line 260 of file lotimpop.cxx.
References ScDocument::EnsureTable(), SvStream::good(), pIn, ImportTyp::rD, Read(), SAL_WARN, ScDocument::SetValue(), SnumToDouble(), ScAddress::Tab(), and ScDocument::ValidAddress().
Referenced by parse().
|
private |
Definition at line 157 of file lotimpop.cxx.
References aBuffer, aConv, aName, ImportTyp::eQuellChar, LotusToSc::getContext(), SvStream::good(), pIn, LotusContext::pRngNmBffWK3, LotusContext::rDoc, Read(), SvStream::ReadBytes(), and SAL_WARN.
Referenced by parse().
|
private |
Definition at line 35 of file lotimpop.hxx.
Referenced by Bof(), Font_Face(), Font_Type(), Font_Ysize(), Formulacell(), parse(), Read(), Row_(), and Userrange().
|
private |
Definition at line 37 of file lotimpop.hxx.
|
private |
Definition at line 36 of file lotimpop.hxx.
|
private |
Definition at line 34 of file lotimpop.hxx.
Referenced by Bof(), Columnwidth(), Errcell(), Formulacell(), Hiddencolumn(), Labelcell(), Nacell(), Numbercell(), parse(), Read(), RowPresentation(), Skip(), Smallnumcell(), and Userrange().