LibreOffice Module sc (master) 1
|
Static helper functions for BIFF filters. More...
#include <biffhelper.hxx>
Static Public Member Functions | |
static double | calcDoubleFromRk (sal_Int32 nRkValue) |
Converts the passed packed number to a double. More... | |
static double | calcDoubleFromError (sal_uInt8 nErrorCode) |
Converts the passed BIFF error to a double containing the respective Calc error code. More... | |
static OUString | readString (SequenceInputStream &rStrm, bool b32BitLen=true) |
Reads a BIFF12 string with leading 16-bit or 32-bit length field. More... | |
Private Member Functions | |
BiffHelper ()=delete | |
~BiffHelper ()=delete | |
Static helper functions for BIFF filters.
Definition at line 591 of file biffhelper.hxx.
|
privatedelete |
|
privatedelete |
|
static |
Converts the passed BIFF error to a double containing the respective Calc error code.
Definition at line 57 of file biffhelper.cxx.
References oox::xls::BIFF_ERR_DIV0, oox::xls::BIFF_ERR_NA, oox::xls::BIFF_ERR_NAME, oox::xls::BIFF_ERR_NULL, oox::xls::BIFF_ERR_NUM, oox::xls::BIFF_ERR_REF, and oox::xls::BIFF_ERR_VALUE.
Referenced by oox::xls::FormulaFinalizer::appendFinalToken(), oox::xls::ExternalName::importDdeItemError(), oox::xls::ExternalSheetDataContext::importExtCellError(), oox::xls::ExternalSheetDataContext::onCharacters(), oox::xls::ExternalLinkFragment::onEndElement(), oox::xls::FormulaParserImpl::pushBiffErrorOperand(), and oox::xls::ExternalName::setResultSize().
|
static |
Converts the passed packed number to a double.
Definition at line 39 of file biffhelper.cxx.
References oox::getFlag().
Referenced by oox::xls::SheetDataContext::importCellRk().
|
static |
Reads a BIFF12 string with leading 16-bit or 32-bit length field.
Definition at line 79 of file biffhelper.cxx.
References rStrm.
Referenced by oox::xls::WorksheetFragment::importControl(), oox::xls::ExternalName::importDdeItemString(), oox::xls::ChartsheetFragment::importDrawing(), oox::xls::WorksheetFragment::importDrawing(), oox::xls::Dxf::importDxf(), oox::xls::Font::importDxfName(), oox::xls::ExternalSheetDataContext::importExtCellString(), oox::xls::ExternalLink::importExtSheetNames(), oox::xls::WorksheetFragment::importHyperlink(), oox::xls::WorksheetFragment::importLegacyDrawing(), oox::xls::NumberFormatsBuffer::importNumFmt(), oox::xls::WorksheetFragment::importOleObject(), oox::xls::WorkbookFragment::importPivotCache(), oox::xls::DiscreteFilter::importRecord(), oox::xls::RichString::importString(), oox::xls::Connection::importWebPrTable(), oox::xls::CommentsFragment::onCreateRecordContext(), oox::xls::operator>>(), oox::xls::FilterCriterionModel::readBiffData(), and oox::xls::PivotCacheItem::readString().