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

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< TableTypeRefmaTables
 The raw cache tables. More...
 
::std::vector< TableNamemaTableNames
 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
 

Detailed Description

Represents data cached for a single external document.

Definition at line 333 of file externalrefmgr.hxx.

Constructor & Destructor Documentation

◆ DocItem()

ScExternalRefCache::DocItem::DocItem ( )
inline

Definition at line 355 of file externalrefmgr.hxx.

Member Function Documentation

◆ findTableNameIndex()

ScExternalRefCache::TableNameIndexMap::const_iterator ScExternalRefCache::DocItem::findTableNameIndex ( const OUString &  rTabName) const

◆ getSingleTableNameAlternative()

bool ScExternalRefCache::DocItem::getSingleTableNameAlternative ( OUString &  rTabName) const

Definition at line 1023 of file externalrefmgr.cxx.

References ScGlobal::GetTransliteration().

Referenced by ScExternalRefCache::getSrcDocTable().

◆ getTableDataIndex()

bool ScExternalRefCache::DocItem::getTableDataIndex ( const OUString &  rTabName,
size_t &  rIndex 
) const

Member Data Documentation

◆ maRangeArrays

RangeArrayMap ScExternalRefCache::DocItem::maRangeArrays

Token array cache for cell ranges.

Definition at line 344 of file externalrefmgr.hxx.

Referenced by ScExternalRefCache::clearCacheTables(), ScExternalRefCache::getCellRangeData(), and ScExternalRefCache::setCellRangeData().

◆ maRangeNames

RangeNameMap ScExternalRefCache::DocItem::maRangeNames

◆ maRealRangeNameMap

NamePairMap ScExternalRefCache::DocItem::maRealRangeNameMap

◆ maSingleTableNameAlias

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 351 of file externalrefmgr.hxx.

Referenced by ScExternalRefCache::getCacheTable(), and ScExternalRefCache::initializeDoc().

◆ maTableNameIndex

TableNameIndexMap ScExternalRefCache::DocItem::maTableNameIndex

◆ maTableNames

::std::vector<TableName> ScExternalRefCache::DocItem::maTableNames

◆ maTables

::std::vector<TableTypeRef> ScExternalRefCache::DocItem::maTables

◆ mbInitFromSource

bool ScExternalRefCache::DocItem::mbInitFromSource

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