LibreOffice Module sc (master) 1
|
Cache for faster lookup of automatic names during CompileXML (during CompileXML, no document content is changed). More...
#include <autonamecache.hxx>
Public Member Functions | |
ScAutoNameCache (ScDocument &pD) | |
~ScAutoNameCache () | |
const ScAutoNameAddresses & | GetNameOccurrences (const OUString &rName, SCTAB nTab) |
Private Attributes | |
ScAutoNameHashMap | aNames |
ScDocument & | rDoc |
SCTAB | nCurrentTab |
Cache for faster lookup of automatic names during CompileXML (during CompileXML, no document content is changed).
Definition at line 31 of file autonamecache.hxx.
ScAutoNameCache::ScAutoNameCache | ( | ScDocument & | pD | ) |
Definition at line 27 of file autonamecache.cxx.
ScAutoNameCache::~ScAutoNameCache | ( | ) |
Definition at line 33 of file autonamecache.cxx.
const ScAutoNameAddresses & ScAutoNameCache::GetNameOccurrences | ( | const OUString & | rName, |
SCTAB | nTab | ||
) |
Definition at line 37 of file autonamecache.cxx.
References aNames, aStr, CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_NONE, CELLTYPE_STRING, CELLTYPE_VALUE, ScCellIterator::first(), ScCellIterator::getEditText(), ScCellIterator::getFormulaCell(), ScEditUtil::GetMultilineString(), ScCellIterator::GetPos(), ScFormulaCell::GetString(), svl::SharedString::getString(), ScCellIterator::getString(), ScGlobal::GetTransliteration(), ScCellIterator::getType(), ScCellIterator::hasString(), ScDocument::MaxCol(), ScDocument::MaxRow(), nCurrentTab, ScCellIterator::next(), p, and rDoc.
Referenced by ScCompiler::ParseColRowName().
|
private |
Definition at line 33 of file autonamecache.hxx.
Referenced by GetNameOccurrences().
|
private |
Definition at line 35 of file autonamecache.hxx.
Referenced by GetNameOccurrences().
|
private |
Definition at line 34 of file autonamecache.hxx.
Referenced by GetNameOccurrences().