Lines Matching refs:Index

180 …Any SAL_CALL UnoControlRoadmapModel::getByIndex( sal_Int32 Index ) throw (IndexOutOfBoundsExceptio…  in getByIndex()  argument
182 if (( Index >= (sal_Int32)maRoadmapItems.size()) || (Index < 0)) in getByIndex()
185 aAny = makeAny( maRoadmapItems.at( Index )); in getByIndex()
191 …void UnoControlRoadmapModel::MakeRMItemValidation( sal_Int32 Index, Reference< XInterface > xRoadm… in MakeRMItemValidation() argument
193 if ((Index > (sal_Int32)maRoadmapItems.size()) || ( Index < 0 ) ) in MakeRMItemValidation()
254 …ContainerEvent UnoControlRoadmapModel::GetContainerEvent(sal_Int32 Index, Reference< XInterface > … in GetContainerEvent() argument
259 aEvent.Accessor = makeAny(Index); in GetContainerEvent()
273 void SAL_CALL UnoControlRoadmapModel::insertByIndex( const sal_Int32 Index, const Any& _Element) in insertByIndex() argument
276 if ( ( Index >= ( (sal_Int32)maRoadmapItems.size() + 1 ) ) || (Index < 0)) in insertByIndex()
280 MakeRMItemValidation( Index, xRoadmapItem); in insertByIndex()
281 SetRMItemDefaultProperties( Index, xRoadmapItem ); in insertByIndex()
282 maRoadmapItems.insert( maRoadmapItems.begin() + Index, xRoadmapItem); in insertByIndex()
283 ContainerEvent aEvent = GetContainerEvent(Index, xRoadmapItem); in insertByIndex()
287 if ( Index <= n_CurrentItemID ) in insertByIndex()
297 void SAL_CALL UnoControlRoadmapModel::removeByIndex( sal_Int32 Index) in removeByIndex() argument
300 if (( Index > (sal_Int32)maRoadmapItems.size()) || (Index < 0)) in removeByIndex()
303 maRoadmapItems.erase( maRoadmapItems.begin() + Index ); in removeByIndex()
304 ContainerEvent aEvent = GetContainerEvent(Index, xRoadmapItem); in removeByIndex()
309 if ( Index <= n_CurrentItemID ) in removeByIndex()
319 else if (Index == n_CurrentItemID) in removeByIndex()
321 else if( Index < n_CurrentItemID) in removeByIndex()
328 void SAL_CALL UnoControlRoadmapModel::replaceByIndex( const sal_Int32 Index, const Any& _Element) in replaceByIndex() argument
333 MakeRMItemValidation( Index, xRoadmapItem); in replaceByIndex()
334 SetRMItemDefaultProperties( Index, xRoadmapItem ); in replaceByIndex()
335 maRoadmapItems.erase( maRoadmapItems.begin() + Index ); in replaceByIndex()
336 …maRoadmapItems.insert( maRoadmapItems.begin() + Index, xRoadmapItem); //push_back( xRoadmap… in replaceByIndex()
337 ContainerEvent aEvent = GetContainerEvent(Index, xRoadmapItem); in replaceByIndex()