/trunk/main/sc/source/ui/docshell/ |
H A D | externalrefmgr.cxx | 707 if (!isDocInitialized(nFileId)) in setCellData() 1197 maDocs.erase(nFileId); in clearCache() 1224 mnFileId(nFileId), in ScExternalRefLink() 1629 maybeLinkExternalFile(nFileId); in getSingleRefToken() 1730 maybeLinkExternalFile(nFileId); in getDoubleRefTokens() 1806 maybeLinkExternalFile(nFileId); in getRangeNameTokens() 2215 return &maSrcFiles[nFileId]; in getExternalFileData() 2238 maRefCache.clearCache(nFileId); in refreshNames() 2245 refreshAllRefCells(nFileId); in refreshNames() 2261 maRefCells.erase(nFileId); in breakLink() [all …]
|
/trunk/main/sc/inc/ |
H A D | externalrefmgr.hxx | 250 bool isDocInitialized(sal_uInt16 nFileId); 262 bool setCacheDocReferenced( sal_uInt16 nFileId ); 306 void clearCache(sal_uInt16 nFileId); 349 DocItem* getDocItem(sal_uInt16 nFileId) const; 597 bool hasExternalFile(sal_uInt16 nFileId) const; 603 void refreshNames(sal_uInt16 nFileId); 604 void breakLink(sal_uInt16 nFileId); 680 void refreshAllRefCells(sal_uInt16 nFileId); 684 ScDocument* getSrcDocument(sal_uInt16 nFileId); 688 void maybeLinkExternalFile(sal_uInt16 nFileId); [all …]
|
H A D | compiler.hxx | 154 sal_uInt16 nFileId; member 159 sal_uInt16 nFileId; member 196 …void SetExternalSingleRef( sal_uInt16 nFileId, const String& rTabName, const ScSingleRefData& rRef… 197 …void SetExternalDoubleRef( sal_uInt16 nFileId, const String& rTabName, const ScComplexRefData& rRe… 198 void SetExternalName( sal_uInt16 nFileId, const String& rName ); 259 … sal_uInt16 nFileId, const String& rTabName, const ScSingleRefData& rRef, 263 … sal_uInt16 nFileId, const String& rTabName, const ScComplexRefData& rRef,
|
H A D | tokenarray.hxx | 69 formula::FormulaToken* AddExternalName( sal_uInt16 nFileId, const String& rName ); 70 …formula::FormulaToken* AddExternalSingleReference( sal_uInt16 nFileId, const String& rTabName, con… 71 …formula::FormulaToken* AddExternalDoubleReference( sal_uInt16 nFileId, const String& rTabName, con…
|
H A D | chartlis.hxx | 53 virtual void notify(sal_uInt16 nFileId, ScExternalRefManager::LinkUpdateType eType); 54 void addFileId(sal_uInt16 nFileId); 55 void removeFileId(sal_uInt16 nFileId);
|
H A D | token.hxx | 193 … ScExternalSingleRefToken( sal_uInt16 nFileId, const String& rTabName, const ScSingleRefData& r ); 217 … ScExternalDoubleRefToken( sal_uInt16 nFileId, const String& rTabName, const ScComplexRefData& r ); 245 ScExternalNameToken( sal_uInt16 nFileId, const String& rName );
|
H A D | chart2uno.hxx | 391 virtual void notify(sal_uInt16 nFileId, ScExternalRefManager::LinkUpdateType eType); 392 void addFileId(sal_uInt16 nFileId); 393 void removeFileId(sal_uInt16 nFileId);
|
/trunk/main/sc/source/core/tool/ |
H A D | token.cxx | 239 extref.nFileId = nFileId; in SetExternalSingleRef() 254 extref.nFileId = nFileId; in SetExternalDoubleRef() 262 void ScRawToken::SetExternalName( sal_uInt16 nFileId, const String& rName ) in SetExternalName() argument 268 extname.nFileId = nFileId; in SetExternalName() 431 return new ScExternalNameToken( extname.nFileId, aName ); in CreateToken() 840 mnFileId(nFileId), in ScExternalSingleRefToken() 906 mnFileId(nFileId), in ScExternalDoubleRefToken() 1000 mnFileId(nFileId), in ScExternalNameToken() 1239 AddExternalName( nFileId, aName ); in AddFormulaToken() 1635 return Add( new ScExternalNameToken(nFileId, rName) ); in AddExternalName() [all …]
|
H A D | chartlis.cxx | 93 if (maFileIds.count(nFileId)) in notify() 100 removeFileId(nFileId); in notify() 105 void ScChartListener::ExternalRefListener::addFileId(sal_uInt16 nFileId) in addFileId() argument 107 maFileIds.insert(nFileId); in addFileId() 110 void ScChartListener::ExternalRefListener::removeFileId(sal_uInt16 nFileId) in removeFileId() argument 112 maFileIds.erase(nFileId); in removeFileId() 310 sal_uInt16 nFileId = pToken->GetIndex(); in operator ()() local 315 pRefMgr->addLinkListener(nFileId, pExtRefListener); in operator ()() 316 pExtRefListener->addFileId(nFileId); in operator ()() 320 pRefMgr->removeLinkListener(nFileId, pExtRefListener); in operator ()() [all …]
|
H A D | compiler.cxx | 1001 const String* p = pRefMgr->getExternalFileName(nFileId); in makeExternalSingleRefStr() 1109 pRefMgr->getAllCachedTableNames(nFileId, aTabNames); in makeExternalRefStrImpl() 1123 makeExternalSingleRefStr( rBuffer, nFileId, aLastTabName, in makeExternalRefStrImpl() 1507 const String* pFullName = pRefMgr->getExternalFileName(nFileId); in makeExternalRefStr() 1526 const String* pFullName = pRefMgr->getExternalFileName(nFileId); in makeExternalRefStr() 1531 pRefMgr->getAllCachedTableNames(nFileId, aTabNames); in makeExternalRefStr() 1713 const String* pFullName = pRefMgr->getExternalFileName(nFileId); in makeExternalRefStr() 1738 pRefMgr->getAllCachedTableNames(nFileId, aTabNames); in makeExternalRefStr() 3009 sal_uInt16 nFileId = pRefMgr->getExternalFileId(aFile); in IsExternalNamedRange() 3010 if (!pRefMgr->getRangeNameTokens(nFileId, aName).get()) in IsExternalNamedRange() [all …]
|
H A D | reftokenhelper.cxx | 278 sal_uInt16 nFileId = bExternal ? pToken->GetIndex() : 0; in intersects() local 296 if (bExternal && nFileId != p->GetIndex()) in intersects() 370 sal_uInt16 nFileId = bExternal ? pToken->GetIndex() : 0; in join() local 390 if (nFileId != pOldToken->GetIndex()) in join() 431 pOldToken.reset(new ScExternalDoubleRefToken(nFileId, aTabName, aNewData)); in join()
|
H A D | address.cxx | 175 sal_uInt16 nFileId = pRefMgr->getExternalFileId( rExternDocName); in lcl_ScRange_External_TabSpan() local 181 if (pExtInfo->mnFileId != nFileId) in lcl_ScRange_External_TabSpan() 188 pExtInfo->mnFileId = nFileId; in lcl_ScRange_External_TabSpan() 198 SCsTAB nSpan = pRefMgr->getCachedTabSpan( nFileId, rStartTabName, rEndTabName); in lcl_ScRange_External_TabSpan() 1116 sal_uInt16 nFileId = pRefMgr->getExternalFileId(aDocName); in lcl_ScAddress_Parse_OOo() local 1120 pExtInfo->mnFileId = nFileId; in lcl_ScAddress_Parse_OOo() 1122 if (pRefMgr->getSingleRefToken(nFileId, aTab, in lcl_ScAddress_Parse_OOo()
|
/trunk/main/sc/source/filter/excel/ |
H A D | xelink.cxx | 1417 sal_uInt16 nFileId = pRefMgr->getExternalFileId( rUrl ); in XclExpSupbook() local 1419 pRefMgr->getAllCachedTableNames( nFileId, aTabNames ); in XclExpSupbook() 1421 InsertTabName( *aIt, pRefMgr->getCacheTable( nFileId, aIt - aBeg ) ); in XclExpSupbook() 1666 const String* pUrl = pRefMgr->getExternalFileName(nFileId); in StoreCell() 1704 const String* pUrl = pRefMgr->getExternalFileName(nFileId); in StoreCellRange() 1832 const String* pUrl = pRefMgr->getExternalFileName(nFileId); in GetXti() 2145 sal_uInt16 nFileId, const String& rTabName, sal_uInt16 nXclTabSpan, in FindExtSheet() argument 2180 maSBBuffer.StoreCell(nFileId, rTabName, aAddr); in StoreCell() 2187 maSBBuffer.StoreCellRange(nFileId, rTabName, aRange); in StoreCellRange() 2327 mxImpl->StoreCell( nFileId, rTabName, rRef ); in StoreCell() [all …]
|
H A D | excform8.cxx | 641 sal_uInt16 nFileId; in Convert() 642 … if (!GetExternalFileIdFromXti(nXtiIndex, nFileId) || !pExtName->HasFormulaTokens()) in Convert() 648 aStack << aPool.StoreExtName(nFileId, pExtName->GetName()); in Convert() 649 pExtName->CreateExtNameData(GetDoc(), nFileId); in Convert() 1246 sal_uInt16 nFileId = pRefMgr->getExternalFileId(aFileUrl); in ConvertExternName() local 1307 aStack << aPool.StoreExtRef(nFileId, aTabName, aSRD); in ConvertExternName() 1313 aStack << aPool.StoreExtRef(nFileId, aTabName, aCRD); in ConvertExternName() 1336 aStack << aPool.StoreExtRef(nFileId, aTabName, aCRD); in ConvertExternName()
|
H A D | tokstack.cxx | 840 const TokenId TokenPool::StoreExtName( sal_uInt16 nFileId, const String& rName ) in StoreExtName() argument 851 r.mnFileId = nFileId; in StoreExtName() 859 const TokenId TokenPool::StoreExtRef( sal_uInt16 nFileId, const String& rTabName, const ScSingleRef… in StoreExtRef() argument 870 r.mnFileId = nFileId; in StoreExtRef() 879 const TokenId TokenPool::StoreExtRef( sal_uInt16 nFileId, const String& rTabName, const ScComplexRe… in StoreExtRef() argument 890 r.mnFileId = nFileId; in StoreExtRef()
|
H A D | xeformula.cxx | 2009 sal_uInt16 nFileId = rTokData.mpScToken->GetIndex(); in ProcessExternalCellRef() local 2012 mxData->mpLinkMgr->StoreCell( nFileId, rTabName, aRefData ); in ProcessExternalCellRef() 2016 …mxData->mpLinkMgr->FindExtSheet( nFileId, rTabName, 1, nExtSheet, nFirstSBTab, nLastSBTab, GetNewR… in ProcessExternalCellRef() 2045 sal_uInt16 nFileId = rTokData.mpScToken->GetIndex(); in ProcessExternalRangeRef() local 2048 mxData->mpLinkMgr->StoreCellRange( nFileId, rTabName, aRefData ); in ProcessExternalRangeRef() 2053 …mxData->mpLinkMgr->FindExtSheet( nFileId, rTabName, nTabSpan, nExtSheet, nFirstSBTab, nLastSBTab, … in ProcessExternalRangeRef() 2104 sal_uInt16 nFileId = rTokData.mpScToken->GetIndex(); in ProcessExternalName() local 2106 ScExternalRefCache::TokenArrayRef xArray = rExtRefMgr.getRangeNameTokens( nFileId, rName ); in ProcessExternalName() 2122 … mxData->mpLinkMgr->StoreCell( nFileId, pScToken->GetString(), aRefData ); in ProcessExternalName() 2129 … mxData->mpLinkMgr->StoreCellRange( nFileId, pScToken->GetString(), aRefData ); in ProcessExternalName() [all …]
|
H A D | xilink.cxx | 357 void XclImpExtName::CreateExtNameData( ScDocument& rDoc, sal_uInt16 nFileId ) const in CreateExtNameData() 363 pRefMgr->storeRangeNameTokens(nFileId, maName, *mxArray); in CreateExtNameData() 562 sal_uInt16 nFileId = pRefMgr->getExternalFileId(aAbsUrl); in LoadCachedValues() local 572 … ScExternalRefCache::TableTypeRef pCacheTable = pRefMgr->getCacheTable(nFileId, rTabName, true); in LoadCachedValues()
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | chart2uno.cxx | 722 sal_uInt16 nFileId = bExternal ? pToken->GetIndex() : 0; in createPositionMap() local 1109 sal_uInt16 nFileId = 0; in lcl_addUpperLeftCornerIfMissing() local 1147 nFileId = pToken->GetIndex(); in lcl_addUpperLeftCornerIfMissing() 1160 nFileId = pToken->GetIndex(); in lcl_addUpperLeftCornerIfMissing() 2642 sal_uInt16 nFileId = pToken->GetIndex(); in FillCacheFromExternalRef() local 2651 pRefMgr->addLinkListener(nFileId, pExtRefListener); in FillCacheFromExternalRef() 2652 pExtRefListener->addFileId(nFileId); in FillCacheFromExternalRef() 2952 if (maFileIds.count(nFileId)) in notify() 2958 removeFileId(nFileId); in notify() 2965 maFileIds.insert(nFileId); in addFileId() [all …]
|
H A D | linkuno.cxx | 1594 ScExternalDocLinkObj::ScExternalDocLinkObj(ScExternalRefManager* pRefMgr, sal_uInt16 nFileId) : in ScExternalDocLinkObj() argument 1595 mpRefMgr(pRefMgr), mnFileId(nFileId) in ScExternalDocLinkObj() 1746 sal_uInt16 nFileId = mpRefMgr->getExternalFileId(aDocName); in addDocLink() local 1747 Reference< sheet::XExternalDocLink > aDocLink(new ScExternalDocLinkObj(mpRefMgr, nFileId)); in addDocLink() 1758 sal_uInt16 nFileId = mpRefMgr->getExternalFileId(aName); in getByName() local 1759 Reference< sheet::XExternalDocLink > aDocLink(new ScExternalDocLinkObj(mpRefMgr, nFileId)); in getByName() 1802 sal_uInt16 nFileId = static_cast<sal_uInt16>(nIndex); in getByIndex() local 1804 if (!mpRefMgr->hasExternalFile(nFileId)) in getByIndex() 1807 Reference< sheet::XExternalDocLink > aDocLink(new ScExternalDocLinkObj(mpRefMgr, nFileId)); in getByIndex()
|
/trunk/main/sc/source/filter/inc/ |
H A D | xelink.hxx | 170 …void FindExtSheet( sal_uInt16 nFileId, const String& rTabName, sal_uInt16 nXclTabSp… 179 …void StoreCell( sal_uInt16 nFileId, const String& rTabName, const ScSingleRefData& … 181 …void StoreCellRange( sal_uInt16 nFileId, const String& rTabName, const ScComplexRef…
|
H A D | tokstack.hxx | 210 const TokenId StoreExtName( sal_uInt16 nFileId, const String& rName ); 211 …const TokenId StoreExtRef( sal_uInt16 nFileId, const String& rTabName, const ScSingl… 212 …const TokenId StoreExtRef( sal_uInt16 nFileId, const String& rTabName, const ScCompl…
|
H A D | xilink.hxx | 121 void CreateExtNameData( ScDocument& rDoc, sal_uInt16 nFileId ) const;
|
/trunk/main/sw/source/ui/app/ |
H A D | docstyle.cxx | 2016 unsigned char nFileId = UCHAR_MAX; in GetHelpId() local 2062 nFileId = pDesc->GetPoolHlpFileId(); in GetHelpId() 2075 nFileId = pNumRule->GetPoolHlpFileId(); in GetHelpId() 2087 nFileId = pTmpFmt->GetPoolHlpFileId(); in GetHelpId() 2091 if( UCHAR_MAX != nFileId ) in GetHelpId() 2093 const String *pTemplate = rDoc.GetDocPattern( nFileId ); in GetHelpId() 2115 sal_uInt8 nFileId = static_cast< sal_uInt8 >(rDoc.SetDocPattern( r )); in SetHelpId() local 2126 ((SwPageDesc*)pDesc)->SetPoolHlpFileId( nFileId ); in SetHelpId() 2131 ((SwNumRule*)pNumRule)->SetPoolHlpFileId( nFileId ); in SetHelpId() 2141 pTmpFmt->SetPoolHlpFileId( nFileId ); in SetHelpId()
|
/trunk/main/formula/inc/formula/ |
H A D | ExternalReferenceHelper.hxx | 35 virtual String getCacheTableName(sal_uInt16 nFileId, size_t nTabIndex) const = 0;
|
/trunk/main/sc/source/filter/xml/ |
H A D | xmlexprt.cxx | 4011 for (sal_uInt16 nFileId = 0; nFileId < nCount; ++nFileId) in WriteExternalRefCaches() local 4013 const String* pUrl = pRefMgr->getExternalFileName(nFileId); in WriteExternalRefCaches() 4018 pRefMgr->getAllCachedTableNames(nFileId, aTabNames); in WriteExternalRefCaches() 4025 ScExternalRefCache::TableTypeRef pTable = pRefMgr->getCacheTable(nFileId, *itr, false); in WriteExternalRefCaches() 4040 … const ScExternalRefManager::SrcFileData* pExtFileData = pRefMgr->getExternalFileData(nFileId); in WriteExternalRefCaches()
|