26#include <rtl/ustring.hxx>
30#include <tokenarray.hxx>
32#include <unordered_map>
48 , nHash( MakeHashCode(r) )
62 typedef std::unordered_map<ScAddress, ScTokenArray, ScAddressHashFunctor>
TokenArraysType;
93 std::unique_ptr<ScTokenArray>
103 bool FindRel(
const OUString& rRef, sal_uInt16& rIndex );
104 bool FindAbs( std::u16string_view rRef, sal_uInt16& rIndex );
120 Add( rDoc, rName, aCRD );
134 Cont( OUString aFilePathAndName, OUString aTabName,
135 const bool bSameWB ) :
136 aFile(
std::move( aFilePathAndName )),
149 sal_Int16
Add(
const OUString& rFilePathAndName,
150 const OUString& rTabName,
const bool bSameWorkbook );
152 bool GetScTabIndex( sal_uInt16 nExcSheetIndex, sal_uInt16& rIn_LastTab_Out_ScIndex );
176 void AddDDE( sal_Int16 nRefIdx );
177 void AddOLE( sal_Int16 nRefIdx, sal_uInt32 nStorageId );
178 void AddName( sal_Int16 nRefIdx );
ExtNameBuff(const XclImpRoot &rRoot)
void AddDDE(sal_Int16 nRefIdx)
::std::vector< ExtName > ExtNameVec
void AddOLE(sal_Int16 nRefIdx, sal_uInt32 nStorageId)
::std::map< sal_Int16, ExtNameVec > ExtNameMap
const ExtName * GetNameByIndex(sal_Int16 nRefIdx, sal_uInt16 nNameIdx) const
void AddName(sal_Int16 nRefIdx)
std::vector< Cont > maEntries
ExtSheetBuffer(RootData *)
sal_Int16 Add(const OUString &rFilePathAndName, const OUString &rTabName, const bool bSameWorkbook)
bool GetScTabIndex(sal_uInt16 nExcSheetIndex, sal_uInt16 &rIn_LastTab_Out_ScIndex)
void Add(const ScDocument &rDoc, const OUString &rName, const ScComplexRefData &rCRD)
std::unique_ptr< ScTokenArray > pScTokenArray
std::vector< Entry > maEntries
bool FindAbs(std::u16string_view rRef, sal_uInt16 &rIndex)
bool FindRel(const OUString &rRef, sal_uInt16 &rIndex)
RangeNameBufferWK3(const ScDocument &rDoc)
StringHashEntry(const OUString &)
static sal_uInt32 MakeHashCode(const OUString &)
bool operator==(const StringHashEntry &) const
Access to global data from other classes.
Cont(OUString aFilePathAndName, OUString aTabName, const bool bSameWB)
ScComplexRefData aScComplexRefDataRel
StringHashEntry aStrHashEntry
Entry(const OUString &rName, const ScComplexRefData &rCRD)
Complex reference (a range) into the sheet.
Single reference (one address) into the sheet.
void InitAddress(const ScAddress &rAdr)
InitAddress: InitFlags and set address.
void SetFlag3D(bool bVal)