|
LibreOffice Module sc (master) 1
|
#include <interpre.hxx>#include <scitems.hxx>#include <editeng/langitem.hxx>#include <editeng/justifyitem.hxx>#include <o3tl/safeint.hxx>#include <o3tl/temporary.hxx>#include <osl/thread.h>#include <unotools/textsearch.hxx>#include <svl/numformat.hxx>#include <svl/zforlist.hxx>#include <svl/zformat.hxx>#include <tools/urlobj.hxx>#include <unotools/charclass.hxx>#include <sfx2/docfile.hxx>#include <sfx2/printer.hxx>#include <unotools/collatorwrapper.hxx>#include <unotools/transliterationwrapper.hxx>#include <rtl/character.hxx>#include <rtl/ustring.hxx>#include <sal/log.hxx>#include <osl/diagnose.h>#include <unicode/uchar.h>#include <unicode/regex.h>#include <i18nlangtag/mslangid.hxx>#include <patattr.hxx>#include <global.hxx>#include <document.hxx>#include <dociter.hxx>#include <formulacell.hxx>#include <scmatrix.hxx>#include <docoptio.hxx>#include <attrib.hxx>#include <jumpmatrix.hxx>#include <cellkeytranslator.hxx>#include <lookupcache.hxx>#include <rangenam.hxx>#include <rangeutl.hxx>#include <compiler.hxx>#include <externalrefmgr.hxx>#include <doubleref.hxx>#include <queryparam.hxx>#include <queryentry.hxx>#include <queryiter.hxx>#include <tokenarray.hxx>#include <compare.hxx>#include <comphelper/processfactory.hxx>#include <comphelper/random.hxx>#include <comphelper/string.hxx>#include <svl/sharedstringpool.hxx>#include <stdlib.h>#include <vector>#include <memory>#include <limits>#include <string_view>#include <cmath>Go to the source code of this file.
Functions | |
| static void | lcl_storeJumpMatResult (const ScMatrix *pMat, ScJumpMatrix *pJumpMat, SCSIZE nC, SCSIZE nR) |
| Store a matrix value in another matrix in the context of that other matrix is the result matrix of a jump matrix. More... | |
| static void | lcl_AdjustJumpMatrix (ScJumpMatrix *pJumpM, SCSIZE nParmCols, SCSIZE nParmRows) |
| static bool | lcl_FormatHasNegColor (const SvNumberformat *pFormat) |
| static bool | lcl_FormatHasOpenPar (const SvNumberformat *pFormat) |
| static bool | lcl_ScInterpreter_IsPrintable (sal_uInt32 nCodePoint) |
| static OUString | lcl_convertIntoHalfWidth (const OUString &rStr) |
| static OUString | lcl_convertIntoFullWidth (const OUString &rStr) |
| static bool | lcl_IsTableStructuredRef (const OUString &sRefStr, sal_Int32 &nIndex) |
| static bool | IsDBCS (sal_Unicode currentChar) |
| static sal_Int32 | lcl_getLengthB (std::u16string_view str, sal_Int32 nPos) |
| static sal_Int32 | getLengthB (std::u16string_view str) |
| static OUString | lcl_RightB (const OUString &rStr, sal_Int32 n) |
| static OUString | lcl_LeftB (const OUString &rStr, sal_Int32 n) |
| static bool | MayBeRegExp (std::u16string_view rStr) |
| static bool | MayBeWildcard (std::u16string_view rStr) |
| static bool | lcl_LookupQuery (ScAddress &o_rResultPos, ScDocument &rDoc, ScInterpreterContext &rContext, const ScQueryParam &rParam, const ScQueryEntry &rEntry, const ScFormulaCell *cell, const ScComplexRefData *refData) |
| static SCROW | lcl_getPrevRowWithEmptyValueLookup (const ScLookupCache &rCache, const ScLookupCache::QueryCriteria &rCriteria, const ScQueryParam &rParam) |
Variables | |
| const sal_uInt64 | n2power48 = SAL_CONST_UINT64( 281474976710656) |
| const UBlockScript | scriptList [] |
|
static |
Definition at line 9316 of file interpr1.cxx.
References lcl_getLengthB().
Referenced by lcl_LeftB(), lcl_RightB(), ScInterpreter::ScFindB(), ScInterpreter::ScLenB(), ScInterpreter::ScMidB(), ScInterpreter::ScReplaceB(), and ScInterpreter::ScSearchB().
|
static |
Definition at line 9287 of file interpr1.cxx.
References MsLangId::getConfiguredSystemLanguage(), i, LANGUAGE_JAPANESE, SAL_N_ELEMENTS, scriptList, and to().
Referenced by lcl_getLengthB(), lcl_LeftB(), and lcl_RightB().
|
static |
Definition at line 516 of file interpr1.cxx.
References ScJumpMatrix::GetDimensions(), ScJumpMatrix::GetResMatDimensions(), and ScJumpMatrix::SetNewResMat().
Referenced by ScInterpreter::JumpMatrix().
|
static |
Definition at line 3590 of file interpr1.cxx.
References init(), LANGUAGE_SYSTEM, utl::TransliterationWrapper::loadModuleByImplName(), and utl::TransliterationWrapper::transliterate().
Referenced by ScInterpreter::ScJis().
|
static |
Definition at line 3576 of file interpr1.cxx.
References init(), LANGUAGE_SYSTEM, utl::TransliterationWrapper::loadModuleByImplName(), and utl::TransliterationWrapper::transliterate().
Referenced by ScInterpreter::ScAsc().
|
static |
Definition at line 2233 of file interpr1.cxx.
References SvNumberformat::GetColor().
Referenced by ScInterpreter::ScCell(), and ScInterpreter::ScCellExternal().
|
static |
Definition at line 2238 of file interpr1.cxx.
References SvNumberformat::GetFormatstring().
Referenced by ScInterpreter::ScCell(), and ScInterpreter::ScCellExternal().
|
static |
Definition at line 9302 of file interpr1.cxx.
References index, IsDBCS(), length, and nPos.
Referenced by getLengthB(), ScInterpreter::ScFindB(), and ScInterpreter::ScSearchB().
|
static |
Definition at line 10257 of file interpr1.cxx.
References ScQueryParamBase::GetEntry(), ScQueryEntry::GetQueryItem(), svl::SharedString::getString(), ScLookupCache::lookup(), and ScQueryEntry::Item::maString.
Referenced by ScInterpreter::LookupQueryWithCache().
|
static |
Definition at line 8244 of file interpr1.cxx.
References ScGlobal::FindUnquoted(), and nIndex.
Referenced by ScInterpreter::ScIndirect().
|
static |
Definition at line 9376 of file interpr1.cxx.
References aBuf, getLengthB(), index, IsDBCS(), and n.
Referenced by ScInterpreter::ScLeftB(), ScInterpreter::ScMidB(), and ScInterpreter::ScReplaceB().
|
static |
Definition at line 10190 of file interpr1.cxx.
References ScQueryCellIteratorSortedCache::CanBeUsed(), ScQueryEntry::eOp, ScQueryCellIterator< accessType >::FindEqualOrSortedLastInRange(), ScQueryCellIterator< accessType >::GetCol(), ScQueryCellIterator< accessType >::GetFirst(), ScQueryCellIterator< accessType >::GetRow(), ScQueryParamTable::nTab, SC_EQUAL, ScAddress::SetCol(), and ScAddress::SetRow().
Referenced by ScInterpreter::LookupQueryWithCache().
|
static |
Definition at line 9327 of file interpr1.cxx.
References aBuf, getLengthB(), index, IsDBCS(), and n.
Referenced by ScInterpreter::ScFindB(), ScInterpreter::ScMidB(), ScInterpreter::ScReplaceB(), ScInterpreter::ScRightB(), and ScInterpreter::ScSearchB().
|
static |
Definition at line 3509 of file interpr1.cxx.
Referenced by ScInterpreter::ScClean().
|
static |
Store a matrix value in another matrix in the context of that other matrix is the result matrix of a jump matrix.
All arguments must be valid and are not checked.
Definition at line 231 of file interpr1.cxx.
References ScMatrix::GetDouble(), ScMatrix::GetString(), ScMatrix::IsEmpty(), ScMatrix::IsValue(), ScJumpMatrix::PutResultDouble(), ScJumpMatrix::PutResultEmpty(), and ScJumpMatrix::PutResultString().
Referenced by ScInterpreter::JumpMatrix(), and ScInterpreter::ScIfError().
|
static |
Definition at line 10163 of file interpr1.cxx.
References u.
Referenced by ScInterpreter::DetectSearchType().
|
static |
Definition at line 10172 of file interpr1.cxx.
References u.
Referenced by ScInterpreter::DetectSearchType().
| const sal_uInt64 n2power48 = SAL_CONST_UINT64( 281474976710656) |
Definition at line 80 of file interpr1.cxx.
Referenced by ScInterpreter::ScBitAnd(), ScInterpreter::ScBitLshift(), ScInterpreter::ScBitOr(), ScInterpreter::ScBitRshift(), and ScInterpreter::ScBitXor().
| const UBlockScript scriptList[] |
Definition at line 9277 of file interpr1.cxx.
Referenced by IsDBCS().