Lines Matching refs:nIndex
416 ScSheetLinkObj* ScSheetLinksObj::GetObjectByIndex_Impl(sal_Int32 nIndex) in GetObjectByIndex_Impl() argument
431 if ( nCount == nIndex ) in GetObjectByIndex_Impl()
499 uno::Any SAL_CALL ScSheetLinksObj::getByIndex( sal_Int32 nIndex ) in getByIndex() argument
504 uno::Reference<beans::XPropertySet> xLink(GetObjectByIndex_Impl(nIndex)); in getByIndex()
959 ScAreaLinkObj* ScAreaLinksObj::GetObjectByIndex_Impl(sal_Int32 nIndex) in GetObjectByIndex_Impl() argument
961 if ( pDocShell && nIndex >= 0 && nIndex < getCount() ) in GetObjectByIndex_Impl()
962 return new ScAreaLinkObj( pDocShell, (sal_uInt16)nIndex ); in GetObjectByIndex_Impl()
992 void SAL_CALL ScAreaLinksObj::removeByIndex( sal_Int32 nIndex ) throw(uno::RuntimeException) in removeByIndex() argument
995 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, (sal_uInt16)nIndex); in removeByIndex()
1034 uno::Any SAL_CALL ScAreaLinksObj::getByIndex( sal_Int32 nIndex ) in getByIndex() argument
1039 uno::Reference<sheet::XAreaLink> xLink(GetObjectByIndex_Impl(nIndex)); in getByIndex()
1301 ScDDELinkObj* ScDDELinksObj::GetObjectByIndex_Impl(sal_Int32 nIndex) in GetObjectByIndex_Impl() argument
1306 if ( nIndex <= USHRT_MAX && in GetObjectByIndex_Impl()
1307 pDocShell->GetDocument()->GetDdeLinkData( (sal_uInt16)nIndex, aAppl, aTopic, aItem ) ) in GetObjectByIndex_Impl()
1352 uno::Any SAL_CALL ScDDELinksObj::getByIndex( sal_Int32 nIndex ) in getByIndex() argument
1357 uno::Reference<sheet::XDDELink> xLink(GetObjectByIndex_Impl(nIndex)); in getByIndex()
1492 …nalSheetCacheObj::ScExternalSheetCacheObj(ScExternalRefCache::TableTypeRef pTable, size_t nIndex) : in ScExternalSheetCacheObj() argument
1494 mnIndex(nIndex) in ScExternalSheetCacheObj()
1608 size_t nIndex = 0; in addSheetCache() local
1609 …ternalRefCache::TableTypeRef pTable = mpRefMgr->getCacheTable(mnFileId, aSheetName, true, &nIndex); in addSheetCache()
1614 … Reference< sheet::XExternalSheetCache > aSheetCache(new ScExternalSheetCacheObj(pTable, nIndex)); in addSheetCache()
1622 size_t nIndex = 0; in getByName() local
1623 …ScExternalRefCache::TableTypeRef pTable = mpRefMgr->getCacheTable(mnFileId, aName, false, &nIndex); in getByName()
1627 … Reference< sheet::XExternalSheetCache > aSheetCache(new ScExternalSheetCacheObj(pTable, nIndex)); in getByName()
1685 size_t nIndex = 0; in getByIndex() local
1686 …fCache::TableTypeRef pTable = mpRefMgr->getCacheTable(mnFileId, aNames[nApiIndex], false, &nIndex); in getByIndex()
1690 … Reference< sheet::XExternalSheetCache > aSheetCache(new ScExternalSheetCacheObj(pTable, nIndex)); in getByIndex()
1795 Any SAL_CALL ScExternalDocLinksObj::getByIndex(sal_Int32 nIndex) in getByIndex() argument
1799 …if (nIndex > ::std::numeric_limits<sal_uInt16>::max() || nIndex < ::std::numeric_limits<sal_uInt16… in getByIndex()
1802 sal_uInt16 nFileId = static_cast<sal_uInt16>(nIndex); in getByIndex()