Lines Matching refs:i
251 for ( sal_uInt16 i=0; i<mpObjectList->Count(); i++ ) in IMPL_LINK() local
253 Point aPoint = mpObjectList->GetObject(i)->GetPosPixel(); in IMPL_LINK()
254 Size aSize = mpObjectList->GetObject(i)->GetSizePixel(); in IMPL_LINK()
265 for ( sal_uInt16 i=0; i<mpObjectList->Count(); i++ ) in IMPL_LINK() local
266 if ( mpObjectList->GetObject(i)->IsVisible() ) in IMPL_LINK()
267 mpObjectList->GetObject(i)->DrawOutput( &aVDev, aOffset ); in IMPL_LINK()
282 for ( sal_uInt16 i=0; i<mpObjectList->Count(); i++ ) in IMPL_LINK() local
283 mpObjectList->GetObject(i)->SetViewMask(!mbIsHide); in IMPL_LINK()
545 sal_uIntPtr i; in ReadSource() local
573 for ( i=0; i<nCount; i++ ) in ReadSource()
575 Prj *pPrj = mpStarWriter->GetObject(i); in ReadSource()
580 for ( i=0; i<nCount; i++ ) in ReadSource()
582 Prj *pPrj = mpStarWriter->GetObject(i); in ReadSource()
701 sal_uIntPtr i; in Load() local
709 for ( i=0; i < nObjCount ; i++ ) in Load()
722 for ( i=0; i < nCnctrCount ; i++ ) in Load()
747 for ( sal_uIntPtr i = 0; i < mpObjectList->Count() && !mpFocusWin; i++ ) in ViewContent() local
748 if ( mpObjectList->GetObject( i )->HasFocus()) in ViewContent()
749 mpFocusWin = mpObjectList->GetObject( i ); in ViewContent()
761 sal_uIntPtr i, j; in InitPrj() local
790 for ( i=0; i<nCount; i++ ) in InitPrj()
794 pPrj = mpStarWriter->GetObject(i); in InitPrj()
800 mpPrj = mpStarWriter->GetObject(i); in InitPrj()
948 for ( sal_uInt16 i=0; i<mpObjectList->Count(); i++ ) in FindProject() local
950 ObjectWin* pObjectWin = mpObjectList->GetObject( i ); in FindProject()
1176 sal_uInt16 i, j; in CalcDistSum() local
1179 for ( i = 0; i < nObjCount; i++ ) in CalcDistSum()
1181 pWin = pObjList->GetObject( i ); in CalcDistSum()
1231 sal_uInt16 i = 0; in Impl_Traveller() local
1248 while ( (pCon = pWin->GetConnector( i )) ) in Impl_Traveller()
1260 i++; in Impl_Traveller()
1270 sal_uIntPtr i, j, l; in Impl_PermuteMin() local
1281 for ( i = 0; i < 101; i++ ) in Impl_PermuteMin()
1283 UpdateSubProgrssBar(i); in Impl_PermuteMin()
1329 for ( i = nStart ; i < nEnd; i++) in Impl_PermuteMin()
1333 pSwapWin = rObjList.GetObject( i ); in Impl_PermuteMin()
1335 rObjList.Replace( pSwapWin, i ); in Impl_PermuteMin()
1338 pSwapWin = rObjList.GetObject( i ); in Impl_PermuteMin()
1340 rObjList.Replace( pSwapWin, i ); in Impl_PermuteMin()
1379 sal_uInt16 i, j, k, l, nRetVal; in OptimizePos() local
1388 for ( i = 0; i < DEPPER_MAX_DEPTH; i++ ) in OptimizePos()
1390 LevelUse[ i ] = 0; in OptimizePos()
1391 LevelList[ i ] = NULL; in OptimizePos()
1392 LevelSecUse[ i ] = 0; in OptimizePos()
1393 LevelSecList[ i ] = NULL; in OptimizePos()
1399 for ( i = 0; i < nObjCount; i++ ) in OptimizePos()
1401 pWin = pObjLst->GetObject( i ); in OptimizePos()
1455 for ( i = 0; i < nObjCount; i++ ) in OptimizePos()
1457 pWin = pObjLst->GetObject( i ); in OptimizePos()
1498 i = 0; in OptimizePos()
1502 while ( LevelList[ i ] ) in OptimizePos()
1504 UpdateMainProgressBar(i, nScaleVal, nStep); in OptimizePos()
1505 DBG_ASSERT( LevelUse[ i ] == LevelList[ i ]->Count() , "level index im a..." ); in OptimizePos()
1507 sal_uIntPtr nLevelObjCount = LevelList[ i ]->Count(); in OptimizePos()
1511 LevelList[ i ]->Insert( NULL, LIST_APPEND ); in OptimizePos()
1531 pSwapWin = LevelList[ i ]->GetObject( j ); in OptimizePos()
1533 Point aPos = CalcPos( i, j ); in OptimizePos()
1539 double dMinDist = CalcDistSum( LevelList[ i ] ); in OptimizePos()
1542 …dMinDist = MIN( dMinDist, Impl_PermuteMin( *(LevelList[ i ]), aPosArray, aWorkList, dMinDist, 0, n… in OptimizePos()
1552 if ( LevelSecList[ i ] != NULL ) in OptimizePos()
1554 sal_uIntPtr nLevelSecObjCount = LevelSecList[ i ]->Count(); in OptimizePos()
1556 while ( nLevelSecObjCount + LevelUse[ i ] < DEPPER_MAX_WIDTH - 1 ) in OptimizePos()
1558 LevelSecList[ i ]->Insert( NULL, LIST_APPEND ); in OptimizePos()
1561 if ( ( nLevelSecObjCount + LevelUse[ i ])% 2 == 0 ) in OptimizePos()
1563 LevelSecList[ i ]->Insert( NULL, LIST_APPEND ); in OptimizePos()
1574 mnXOffset = CalcXOffset( LevelUse[ i ] + nLevelSecObjCount ); in OptimizePos()
1581 for ( j = 0; j < ( LevelUse[ i ] + nLevelSecObjCount ) ; j++ ) in OptimizePos()
1583 Point aPos = CalcPos( i, j ); in OptimizePos()
1588 if ( LevelList[ i ]->GetObject( k ) ) in OptimizePos()
1589 if ( aPos == LevelList[ i ]->GetObject( k )->GetCalcPosPixel() ) in OptimizePos()
1603 pSwapWin = LevelSecList[ i ]->GetObject( j ); in OptimizePos()
1608 dMinDist = CalcDistSum( LevelSecList[ i ] ); in OptimizePos()
1610 …dMinDist = MIN( dMinDist, Impl_PermuteMin( *(LevelSecList[ i ]), aPosArray, aWorkList, dMinDist, 0… in OptimizePos()
1619 if ( LevelUse[ i ] + LevelSecUse[ i ] > DEPPER_MAX_WIDTH ) in OptimizePos()
1622 if ( LevelUse[ i ] + LevelSecUse[ i ] > DEPPER_MAX_WIDTH ) in OptimizePos()
1623 mnLevelOffset+= ( LevelUse[ i ] + LevelSecUse[ i ] ) / DEPPER_MAX_WIDTH ; in OptimizePos()
1624 i++; in OptimizePos()
1634 i--; in OptimizePos()
1635 UpdateMainProgressBar(i, nScaleVal, nStep, sal_True); // sal_True ~ counting down in OptimizePos()
1636 if ( LevelUse[ i ] + LevelSecUse[ i ] > DEPPER_MAX_WIDTH ) in OptimizePos()
1637 mnLevelOffset-= ( LevelUse[ i ] + LevelSecUse[ i ] ) / DEPPER_MAX_WIDTH ; in OptimizePos()
1639 sal_uIntPtr nLevelObjCount = LevelList[ i ]->Count(); in OptimizePos()
1645 pSwapWin = LevelList[ i ]->GetObject( j ); in OptimizePos()
1647 Point aPos = CalcPos( i, j ); in OptimizePos()
1654 double dMinDist = CalcDistSum( LevelList[ i ], BOTH ); in OptimizePos()
1656 …dMinDist = MIN( dMinDist, Impl_PermuteMin( *(LevelList[ i ]), aPosArray, aWorkList, dMinDist, 0, n… in OptimizePos()
1666 if ( LevelSecList[ i ] != NULL ) in OptimizePos()
1668 sal_uIntPtr nLevelSecObjCount = LevelSecList[ i ]->Count(); in OptimizePos()
1669 mnXOffset = CalcXOffset( LevelUse[ i ] + nLevelSecObjCount ); in OptimizePos()
1675 for ( j = 0; j < ( LevelUse[ i ] + nLevelSecObjCount ) ; j++ ) in OptimizePos()
1677 Point aPos = CalcPos( i, j ); in OptimizePos()
1682 if ( LevelList[ i ]->GetObject( k ) ) in OptimizePos()
1683 if ( aPos == LevelList[ i ]->GetObject( k )->GetCalcPosPixel() ) in OptimizePos()
1695 pSwapWin = LevelSecList[ i ]->GetObject( j ); in OptimizePos()
1700 dMinDist = CalcDistSum( LevelSecList[ i ], BOTH ); in OptimizePos()
1702 …dMinDist = MIN( dMinDist, Impl_PermuteMin( *(LevelSecList[ i ]), aPosArray, aWorkList, dMinDist, 0… in OptimizePos()
1712 } while ( i != 0 ); in OptimizePos()
1771 for ( i = 0 ; i < nObjCount ; i++) in OptimizePos()
1773 pObject1 = pObjLst->GetObject( i ); in OptimizePos()
1796 for ( sal_uInt16 i = 0; i < mpTravellerList->Count(); i++ ) in WriteToErrorFile() local
1798 pWin = mpTravellerList->GetObject( i ); in WriteToErrorFile()