LibreOffice Module sc (master) 1
|
Represents data cached for a single external document. More...
Public Member Functions | |
DocItem () | |
TableNameIndexMap::const_iterator | findTableNameIndex (const OUString &rTabName) const |
bool | getTableDataIndex (const OUString &rTabName, size_t &rIndex) const |
bool | getSingleTableNameAlternative (OUString &rTabName) const |
Public Attributes | |
::std::vector< TableTypeRef > | maTables |
The raw cache tables. More... | |
::std::vector< TableName > | maTableNames |
Table name list in correct order, in both upper- and real-case. More... | |
TableNameIndexMap | maTableNameIndex |
Table name to index map. More... | |
RangeNameMap | maRangeNames |
Range name cache. More... | |
RangeArrayMap | maRangeArrays |
Token array cache for cell ranges. More... | |
NamePairMap | maRealRangeNameMap |
Upper- to real-case mapping for range names. More... | |
OUString | maSingleTableNameAlias |
Either the base name that was stored as sheet name for CSV files if sheet name is Sheet1, or Sheet1 name if sheet name is base name. More... | |
bool | mbInitFromSource |
Represents data cached for a single external document.
Definition at line 334 of file externalrefmgr.hxx.
|
inline |
Definition at line 356 of file externalrefmgr.hxx.
ScExternalRefCache::TableNameIndexMap::const_iterator ScExternalRefCache::DocItem::findTableNameIndex | ( | const OUString & | rTabName | ) | const |
Definition at line 1001 of file externalrefmgr.cxx.
References ScGlobal::getCharClass(), and CharClass::uppercase().
Referenced by ScExternalRefCache::getCellData(), ScExternalRefCache::getCellRangeData(), ScExternalRefCache::getRealTableName(), getTableDataIndex(), ScExternalRefCache::setCellData(), and ScExternalRefCache::setCellRangeData().
bool ScExternalRefCache::DocItem::getSingleTableNameAlternative | ( | OUString & | rTabName | ) | const |
Definition at line 1024 of file externalrefmgr.cxx.
References ScGlobal::GetTransliteration().
Referenced by ScExternalRefCache::getSrcDocTable().
bool ScExternalRefCache::DocItem::getTableDataIndex | ( | const OUString & | rTabName, |
size_t & | rIndex | ||
) | const |
Definition at line 922 of file externalrefmgr.cxx.
References findTableNameIndex(), and maTableNameIndex.
Referenced by ScExternalRefCache::getCacheTable(), and ScExternalRefCache::setCacheTableReferenced().
RangeArrayMap ScExternalRefCache::DocItem::maRangeArrays |
Token array cache for cell ranges.
Definition at line 345 of file externalrefmgr.hxx.
Referenced by ScExternalRefCache::clearCacheTables(), ScExternalRefCache::getCellRangeData(), and ScExternalRefCache::setCellRangeData().
RangeNameMap ScExternalRefCache::DocItem::maRangeNames |
Range name cache.
Definition at line 343 of file externalrefmgr.hxx.
Referenced by ScExternalRefCache::clearCacheTables(), ScExternalRefCache::getRangeNameTokens(), ScExternalRefCache::isValidRangeName(), and ScExternalRefCache::setRangeNameTokens().
NamePairMap ScExternalRefCache::DocItem::maRealRangeNameMap |
Upper- to real-case mapping for range names.
Definition at line 347 of file externalrefmgr.hxx.
Referenced by ScExternalRefCache::clearCacheTables(), ScExternalRefCache::getRealRangeName(), ScExternalRefCache::setRangeName(), and ScExternalRefCache::setRangeNameTokens().
OUString ScExternalRefCache::DocItem::maSingleTableNameAlias |
Either the base name that was stored as sheet name for CSV files if sheet name is Sheet1, or Sheet1 name if sheet name is base name.
Definition at line 352 of file externalrefmgr.hxx.
Referenced by ScExternalRefCache::getCacheTable(), and ScExternalRefCache::initializeDoc().
TableNameIndexMap ScExternalRefCache::DocItem::maTableNameIndex |
Table name to index map.
The names must be stored upper-case.
Definition at line 341 of file externalrefmgr.hxx.
Referenced by ScExternalRefCache::getCacheTable(), ScExternalRefCache::getCellData(), ScExternalRefCache::getCellRangeData(), ScExternalRefCache::getRealTableName(), getTableDataIndex(), ScExternalRefCache::initializeDoc(), ScExternalRefCache::setCellData(), and ScExternalRefCache::setCellRangeData().
::std::vector<TableName> ScExternalRefCache::DocItem::maTableNames |
Table name list in correct order, in both upper- and real-case.
Definition at line 339 of file externalrefmgr.hxx.
Referenced by ScExternalRefCache::getAllTableNames(), ScExternalRefCache::getCacheTable(), ScExternalRefCache::getRealTableName(), ScExternalRefCache::getTabSpan(), and ScExternalRefCache::initializeDoc().
::std::vector<TableTypeRef> ScExternalRefCache::DocItem::maTables |
The raw cache tables.
Definition at line 337 of file externalrefmgr.hxx.
Referenced by ScExternalRefCache::clearCacheTables(), ScExternalRefCache::getAllCachedDataSpans(), ScExternalRefCache::getCacheTable(), ScExternalRefCache::getCellData(), ScExternalRefCache::getCellRangeData(), ScExternalRefCache::initializeDoc(), ScExternalRefCache::setAllCacheTableReferencedStati(), ScExternalRefCache::setCacheDocReferenced(), ScExternalRefCache::setCacheTableReferenced(), ScExternalRefCache::setCellData(), and ScExternalRefCache::setCellRangeData().
bool ScExternalRefCache::DocItem::mbInitFromSource |
Definition at line 354 of file externalrefmgr.hxx.
Referenced by ScExternalRefCache::initializeDoc(), and ScExternalRefCache::isDocInitialized().