LibreOffice Module sc (master) 1
|
Context for creating string from an array of formula tokens, used in ScTokenArray::CreateString(). More...
#include <tokenstringcontext.hxx>
Public Types | |
typedef std::unordered_map< sal_uInt16, OUString > | IndexNameMapType |
typedef std::unordered_map< size_t, std::vector< OUString > > | IndexNamesMapType |
typedef std::unordered_map< SCTAB, IndexNameMapType > | TabIndexMapType |
Public Member Functions | |
TokenStringContext (const ScDocument &rDoc, formula::FormulaGrammar::Grammar eGram) | |
Public Attributes | |
formula::FormulaGrammar::Grammar | meGram |
formula::FormulaCompiler::OpCodeMapPtr | mxOpCodeMap |
const ScCompiler::Convention * | mpRefConv |
OUString | maErrRef |
std::vector< OUString > | maTabNames |
IndexNameMapType | maGlobalRangeNames |
TabIndexMapType | maSheetRangeNames |
IndexNameMapType | maNamedDBs |
std::vector< OUString > | maExternalFileNames |
IndexNamesMapType | maExternalCachedTabNames |
Context for creating string from an array of formula tokens, used in ScTokenArray::CreateString().
You can re-use the same string context between multiple CreateString() calls as long as the document content is unmodified.
Definition at line 26 of file tokenstringcontext.hxx.
typedef std::unordered_map<sal_uInt16, OUString> sc::TokenStringContext::IndexNameMapType |
Definition at line 28 of file tokenstringcontext.hxx.
typedef std::unordered_map<size_t, std::vector<OUString> > sc::TokenStringContext::IndexNamesMapType |
Definition at line 29 of file tokenstringcontext.hxx.
typedef std::unordered_map<SCTAB, IndexNameMapType> sc::TokenStringContext::TabIndexMapType |
Definition at line 30 of file tokenstringcontext.hxx.
sc::TokenStringContext::TokenStringContext | ( | const ScDocument & | rDoc, |
formula::FormulaGrammar::Grammar | eGram | ||
) |
Definition at line 35 of file tokenstringcontext.cxx.
References ScCompiler::CheckTabQuotes(), formula::FormulaGrammar::extractFormulaLanguage(), formula::FormulaGrammar::extractRefConvention(), ScExternalRefManager::getAllCachedExternalFileNames(), ScExternalRefManager::getAllCachedTableNames(), ScDocument::GetAllTableNames(), ScDocument::GetAllTabRangeNames(), ScDocument::GetDBCollection(), ScDocument::GetExternalRefManager(), ScDBData::GetIndex(), ScDBData::GetName(), ScDBCollection::getNamedDBs(), formula::FormulaCompiler::GetOpCodeMap(), ScDocument::GetRangeName(), ScDocument::HasExternalRefManager(), i, maErrRef, maExternalCachedTabNames, maExternalFileNames, maGlobalRangeNames, maNamedDBs, maSheetRangeNames, maTabNames, mxOpCodeMap, n, ocErrRef, and ScResId().
OUString sc::TokenStringContext::maErrRef |
Definition at line 35 of file tokenstringcontext.hxx.
Referenced by TokenStringContext().
IndexNamesMapType sc::TokenStringContext::maExternalCachedTabNames |
Definition at line 43 of file tokenstringcontext.hxx.
Referenced by TokenStringContext().
std::vector<OUString> sc::TokenStringContext::maExternalFileNames |
Definition at line 42 of file tokenstringcontext.hxx.
Referenced by TokenStringContext().
IndexNameMapType sc::TokenStringContext::maGlobalRangeNames |
Definition at line 38 of file tokenstringcontext.hxx.
Referenced by TokenStringContext().
IndexNameMapType sc::TokenStringContext::maNamedDBs |
Definition at line 40 of file tokenstringcontext.hxx.
Referenced by TokenStringContext().
TabIndexMapType sc::TokenStringContext::maSheetRangeNames |
Definition at line 39 of file tokenstringcontext.hxx.
Referenced by TokenStringContext().
std::vector<OUString> sc::TokenStringContext::maTabNames |
Definition at line 37 of file tokenstringcontext.hxx.
Referenced by TokenStringContext().
formula::FormulaGrammar::Grammar sc::TokenStringContext::meGram |
Definition at line 32 of file tokenstringcontext.hxx.
const ScCompiler::Convention* sc::TokenStringContext::mpRefConv |
Definition at line 34 of file tokenstringcontext.hxx.
formula::FormulaCompiler::OpCodeMapPtr sc::TokenStringContext::mxOpCodeMap |
Definition at line 33 of file tokenstringcontext.hxx.
Referenced by ScTokenArray::CreateString(), and TokenStringContext().