LibreOffice Module sc (master)  1
Public Types | Public Member Functions | Public Attributes | List of all members
sc::TokenStringContext Struct Reference

Context for creating string from an array of formula tokens, used in ScTokenArray::CreateString(). More...

#include <tokenstringcontext.hxx>

Collaboration diagram for sc::TokenStringContext:
[legend]

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, IndexNameMapTypeTabIndexMapType
 

Public Member Functions

 TokenStringContext (const ScDocument *pDoc, formula::FormulaGrammar::Grammar eGram)
 

Public Attributes

formula::FormulaGrammar::Grammar meGram
 
formula::FormulaCompiler::OpCodeMapPtr mxOpCodeMap
 
const ScCompiler::ConventionmpRefConv
 
OUString maErrRef
 
std::vector< OUString > maTabNames
 
IndexNameMapType maGlobalRangeNames
 
TabIndexMapType maSheetRangeNames
 
IndexNameMapType maNamedDBs
 
std::vector< OUString > maExternalFileNames
 
IndexNamesMapType maExternalCachedTabNames
 

Detailed Description

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 27 of file tokenstringcontext.hxx.

Member Typedef Documentation

typedef std::unordered_map<sal_uInt16, OUString> sc::TokenStringContext::IndexNameMapType

Definition at line 29 of file tokenstringcontext.hxx.

typedef std::unordered_map<size_t, std::vector<OUString> > sc::TokenStringContext::IndexNamesMapType

Definition at line 30 of file tokenstringcontext.hxx.

Definition at line 31 of file tokenstringcontext.hxx.

Constructor & Destructor Documentation

sc::TokenStringContext::TokenStringContext ( const ScDocument pDoc,
formula::FormulaGrammar::Grammar  eGram 
)

Member Data Documentation

OUString sc::TokenStringContext::maErrRef

Definition at line 36 of file tokenstringcontext.hxx.

Referenced by TokenStringContext().

IndexNamesMapType sc::TokenStringContext::maExternalCachedTabNames

Definition at line 44 of file tokenstringcontext.hxx.

Referenced by TokenStringContext().

std::vector<OUString> sc::TokenStringContext::maExternalFileNames

Definition at line 43 of file tokenstringcontext.hxx.

Referenced by TokenStringContext().

IndexNameMapType sc::TokenStringContext::maGlobalRangeNames

Definition at line 39 of file tokenstringcontext.hxx.

Referenced by TokenStringContext().

IndexNameMapType sc::TokenStringContext::maNamedDBs

Definition at line 41 of file tokenstringcontext.hxx.

Referenced by TokenStringContext().

TabIndexMapType sc::TokenStringContext::maSheetRangeNames

Definition at line 40 of file tokenstringcontext.hxx.

Referenced by TokenStringContext().

std::vector<OUString> sc::TokenStringContext::maTabNames

Definition at line 38 of file tokenstringcontext.hxx.

Referenced by TokenStringContext().

formula::FormulaGrammar::Grammar sc::TokenStringContext::meGram

Definition at line 33 of file tokenstringcontext.hxx.

const ScCompiler::Convention* sc::TokenStringContext::mpRefConv

Definition at line 35 of file tokenstringcontext.hxx.

formula::FormulaCompiler::OpCodeMapPtr sc::TokenStringContext::mxOpCodeMap

Definition at line 34 of file tokenstringcontext.hxx.

Referenced by ScTokenArray::CreateString(), and TokenStringContext().


The documentation for this struct was generated from the following files: