Lines Matching refs:it
271 for( std::vector< ImplTabItem >::iterator it = mpTabCtrlData->maItemList.begin(); in ImplGetItem() local
272 it != mpTabCtrlData->maItemList.end(); ++it ) in ImplGetItem()
274 if( it->mnId == nId ) in ImplGetItem()
275 return &(*it); in ImplGetItem()
428 for( std::vector<ImplTabItem>::iterator it = mpTabCtrlData->maItemList.begin(); in ImplGetTabRect() local
429 it != mpTabCtrlData->maItemList.end(); ++it ) in ImplGetTabRect()
431 aSize = ImplGetItemSize( &(*it), nMaxWidth ); in ImplGetTabRect()
446 if ( mbSmallInvalidate && (it->maRect != aNewRect) ) in ImplGetTabRect()
448 it->maRect = aNewRect; in ImplGetTabRect()
449 it->mnLine = nLines; in ImplGetTabRect()
450 it->mbFullVisible = sal_True; in ImplGetTabRect()
455 if ( it->mnId == mnCurPageId ) in ImplGetTabRect()
484 for( std::vector< ImplTabItem >::iterator it = mpTabCtrlData->maItemList.begin(); in ImplGetTabRect() local
485 it != mpTabCtrlData->maItemList.end(); ++it ) in ImplGetTabRect()
507 it->maRect.Left() += nIDX; in ImplGetTabRect()
508 it->maRect.Right() += nIDX+nDX; in ImplGetTabRect()
509 it->maRect.Top() = nLineHeightAry[n-1]; in ImplGetTabRect()
510 it->maRect.Bottom() = nLineHeightAry[n-1]+nIH; in ImplGetTabRect()
516 it->maRect.Right()++; in ImplGetTabRect()
528 for( std::vector< ImplTabItem >::iterator it = mpTabCtrlData->maItemList.begin(); in ImplGetTabRect() local
529 it != mpTabCtrlData->maItemList.end(); ++it ) in ImplGetTabRect()
531 nRightSpace-=it->maRect.Right()-it->maRect.Left(); in ImplGetTabRect()
533 for( std::vector< ImplTabItem >::iterator it = mpTabCtrlData->maItemList.begin(); in ImplGetTabRect() local
534 it != mpTabCtrlData->maItemList.end(); ++it ) in ImplGetTabRect()
536 it->maRect.Left()+=(int) (nRightSpace/2); in ImplGetTabRect()
537 it->maRect.Right()+=(int) (nRightSpace/2); in ImplGetTabRect()
830 for( std::vector< ImplTabItem >::iterator it = mpTabCtrlData->maItemList.begin(); in ImplDrawItem() local
831 it != mpTabCtrlData->maItemList.end(); ++it ) in ImplDrawItem()
833 if( (&(*it) != pItem) && (it->maRect.IsInside( GetPointerPosPixel() ) ) ) in ImplDrawItem()
1068 for( std::vector< ImplTabItem >::iterator it = mpTabCtrlData->maItemList.begin(); in ImplPaint() local
1069 it != mpTabCtrlData->maItemList.end(); ++it ) in ImplPaint()
1071 if ( it->mnId == mnCurPageId ) in ImplPaint()
1073 pCurItem = &(*it); in ImplPaint()
1266 for( std::vector< ImplTabItem >::iterator it = mpTabCtrlData->maItemList.begin(); in Resize() local
1267 it != mpTabCtrlData->maItemList.end(); ++it ) in Resize()
1269 if ( !it->mbFullVisible || in Resize()
1270 (it->maRect.Right()-2 >= nNewWidth) ) in Resize()
1433 for( std::vector< ImplTabItem >::iterator it = mpTabCtrlData->maItemList.begin(); in Command() local
1434 it != mpTabCtrlData->maItemList.end(); ++it ) in Command()
1436 aMenu.InsertItem( it->mnId, it->maText, MIB_CHECKABLE | MIB_RADIOCHECK ); in Command()
1437 if ( it->mnId == mnCurPageId ) in Command()
1438 aMenu.CheckItem( it->mnId ); in Command()
1439 aMenu.SetHelpId( it->mnId, it->maHelpId ); in Command()
1509 for( std::vector< ImplTabItem >::iterator it = mpTabCtrlData->maItemList.begin(); in ImplFindPartRect() local
1510 it != mpTabCtrlData->maItemList.end(); ++it ) in ImplFindPartRect()
1512 if ( it->maRect.IsInside( rPt ) ) in ImplFindPartRect()
1516 pFoundItem = &(*it); in ImplFindPartRect()
1715 std::vector< ImplTabItem >::iterator it = mpTabCtrlData->maItemList.begin() + nPos; in RemovePage() local
1716 bool bIsCurrentPage = (it->mnId == mnCurPageId); in RemovePage()
1717 mpTabCtrlData->maItemList.erase( it ); in RemovePage()
1815 for( std::vector< ImplTabItem >::const_iterator it = mpTabCtrlData->maItemList.begin(); in GetPagePos() local
1816 it != mpTabCtrlData->maItemList.end(); ++it ) in GetPagePos()
1818 if ( it->mnId == nPageId ) in GetPagePos()
1819 return (sal_uInt16)(it - mpTabCtrlData->maItemList.begin()); in GetPagePos()
2081 …std::hash_map< int, int >::const_iterator it = mpTabCtrlData->maLayoutPageIdToLine.find( (int)nPag… in GetCharacterBounds() local
2082 if( it != mpTabCtrlData->maLayoutPageIdToLine.end() ) in GetCharacterBounds()
2084 Pair aPair = mpControlData->mpLayoutData->GetLineStartEnd( it->second ); in GetCharacterBounds()
2146 …std::hash_map< int, int >::const_iterator it = mpTabCtrlData->maLayoutPageIdToLine.find( (int)nPag… in GetTabPageBounds() local
2147 if( it != mpTabCtrlData->maLayoutPageIdToLine.end() ) in GetTabPageBounds()
2149 if( it->second >= 0 && it->second < static_cast<int>(mpTabCtrlData->maTabRectangles.size()) ) in GetTabPageBounds()
2151 aRet = mpTabCtrlData->maTabRectangles[ it->second ]; in GetTabPageBounds()