Lines Matching refs:pNames
117 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in GetRangeData_Impl() local
118 if (pNames) in GetRangeData_Impl()
126 if (pNames->SearchName( aName, nPos, nameScope )) in GetRangeData_Impl()
128 pRet = (*pNames)[nPos]; in GetRangeData_Impl()
145 ScRangeName* pNames = pDoc->GetRangeName(); in Modify_Impl() local
146 if (pNames) in Modify_Impl()
153 if (pNames->SearchName( aName, nPos, nameScope )) in Modify_Impl()
163 ScRangeData* pOld = (*pNames)[nPos]; in Modify_Impl()
190 ScRangeName* pNewRanges = new ScRangeName( *pNames ); in Modify_Impl()
207 pNames->AtFree( nPos ); in Modify_Impl()
208 if ( pNames->Insert(pNew) ) in Modify_Impl()
211 aFunc.SetNewRangeNames( pNames, sal_True ); in Modify_Impl()
564 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in GetObjectByIndex_Impl() local
565 if (pNames) in GetObjectByIndex_Impl()
567 sal_uInt16 nCount = pNames->GetCount(); in GetObjectByIndex_Impl()
571 ScRangeData* pData = (*pNames)[i]; in GetObjectByIndex_Impl()
612 ScRangeName* pNames = pDoc->GetRangeName(); in ImplAddNewByScopeAndName() local
616 if (pNames && !pNames->SearchName(aNameStr, nIndex,aScope)) in ImplAddNewByScopeAndName()
628 ScRangeName* pNewRanges = new ScRangeName( *pNames ); in ImplAddNewByScopeAndName()
643 if ( pNames->Insert(pNew) ) in ImplAddNewByScopeAndName()
646 aFunc.SetNewRangeNames( pNames, sal_True ); in ImplAddNewByScopeAndName()
717 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in ImplRemoveByScopeAndName() local
718 if (pNames) in ImplRemoveByScopeAndName()
721 if (pNames->SearchName( String(aRangeName), nPos, aScope )) in ImplRemoveByScopeAndName()
722 if ( lcl_UserVisibleName((*pNames)[nPos]) ) in ImplRemoveByScopeAndName()
724 ScRangeName* pNewRanges = new ScRangeName(*pNames); in ImplRemoveByScopeAndName()
786 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in getCount() local
787 if (pNames) in getCount()
789 sal_uInt16 nCount = pNames->GetCount(); in getCount()
791 if (lcl_UserVisibleName( (*pNames)[i] )) // interne weglassen in getCount()
854 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in getElementNames() local
855 if (pNames) in getElementNames()
861 sal_uInt16 nCount = pNames->GetCount(); in getElementNames()
865 ScRangeData* pData = (*pNames)[i]; in getElementNames()
882 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in getElementScopeNames() local
883 if (pNames) in getElementScopeNames()
889 sal_uInt16 nCount = pNames->GetCount(); in getElementScopeNames()
893 ScRangeData* pData = (*pNames)[i]; in getElementScopeNames()
912 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in hasByName() local
913 if (pNames) in hasByName()
916 if (pNames->SearchName( String(aName), nPos )) in hasByName()
917 if ( lcl_UserVisibleName((*pNames)[nPos]) ) in hasByName()
934 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in hasByScopeName() local
935 if (pNames) in hasByScopeName()
938 if (pNames->SearchName( String(aRangeName), nPos, scope )) in hasByScopeName()
939 if ( lcl_UserVisibleName((*pNames)[nPos]) ) in hasByScopeName()