Lines Matching refs:nIndex

218 ScAutoFormatObj* ScAutoFormatsObj::GetObjectByIndex_Impl(sal_uInt16 nIndex)  in GetObjectByIndex_Impl()  argument
221 if (pFormats && nIndex < pFormats->GetCount()) in GetObjectByIndex_Impl()
222 return new ScAutoFormatObj(nIndex); in GetObjectByIndex_Impl()
233 sal_uInt16 nIndex; in GetObjectByName_Impl() local
234 if (lcl_FindAutoFormatIndex( *pFormats, aString, nIndex )) in GetObjectByName_Impl()
235 return GetObjectByIndex_Impl(nIndex); in GetObjectByName_Impl()
315 sal_uInt16 nIndex; in removeByName() local
316 if (pFormats && lcl_FindAutoFormatIndex( *pFormats, aNameStr, nIndex )) in removeByName()
318 pFormats->AtFree( nIndex ); in removeByName()
350 uno::Any SAL_CALL ScAutoFormatsObj::getByIndex( sal_Int32 nIndex ) in getByIndex() argument
355 uno::Reference< container::XNamed > xFormat(GetObjectByIndex_Impl((sal_uInt16)nIndex)); in getByIndex()
423 ScAutoFormatObj::ScAutoFormatObj(sal_uInt16 nIndex) : in ScAutoFormatObj() argument
425 nFormatIndex( nIndex ) in ScAutoFormatObj()
501 ScAutoFormatFieldObj* ScAutoFormatObj::GetObjectByIndex_Impl(sal_uInt16 nIndex) in GetObjectByIndex_Impl() argument
503 if ( IsInserted() && nIndex < SC_AF_FIELD_COUNT ) in GetObjectByIndex_Impl()
504 return new ScAutoFormatFieldObj( nFormatIndex, nIndex ); in GetObjectByIndex_Impl()
529 uno::Any SAL_CALL ScAutoFormatObj::getByIndex( sal_Int32 nIndex ) in getByIndex() argument
535 if ( nIndex < 0 || nIndex >= getCount() ) in getByIndex()
539 …urn uno::makeAny(uno::Reference< beans::XPropertySet >(GetObjectByIndex_Impl((sal_uInt16)nIndex))); in getByIndex()