Lines Matching refs:i
97 for(sal_uInt16 i = 0; i < pRep->GetAllColCount(); i++) in DbgTblRep() local
99 String sMsg(i); in DbgTblRep()
100 sMsg += pRep->GetColumns()[i].bVisible ? " v " : " h "; in DbgTblRep()
101 sMsg += pRep->GetColumns()[i].nWidth; in DbgTblRep()
102 nSum +=pRep->GetColumns()[i].nWidth; in DbgTblRep()
744 sal_uInt16 i; in DeactivatePage() local
746 for( i = 0; i < pTblData->GetColCount(); i++) in DeactivatePage()
748 nColSum += pTblData->GetColumns()[i].nWidth; in DeactivatePage()
759 for( i = 0; i < pTblData->GetColCount(); i++) in DeactivatePage()
761 if(pTblData->GetColumns()[i].nWidth - nMinWidth > nSub) in DeactivatePage()
763 pTblData->GetColumns()[i].nWidth -= nSub; in DeactivatePage()
768 nDiff -= pTblData->GetColumns()[i].nWidth - nMinWidth; in DeactivatePage()
769 pTblData->GetColumns()[i].nWidth = nMinWidth; in DeactivatePage()
906 sal_uInt16 i; in Reset() local
907 for( i = 0; i < nNoOfCols; i++ ) in Reset()
909 if( pTblData->GetColumns()[i].nWidth < nMinWidth ) in Reset()
910 nMinWidth = pTblData->GetColumns()[i].nWidth; in Reset()
914 for( i = 0; (i < MET_FIELDS) && (i < nNoOfVisibleCols); i++ ) in Reset()
916 pFieldArr[i]->SetPrcntValue( pFieldArr[i]->NormalizePercent( in Reset()
917 GetVisibleWidth(i) ), FUNIT_TWIP ); in Reset()
918 pFieldArr[i]->SetMin( nMinTwips , FUNIT_TWIP ); in Reset()
919 pFieldArr[i]->SetMax( nMaxTwips , FUNIT_TWIP ); in Reset()
920 pFieldArr[i]->Enable(); in Reset()
921 pTextArr[i]->Enable(); in Reset()
926 i = nNoOfVisibleCols; in Reset()
927 while( i < MET_FIELDS ) in Reset()
929 pFieldArr[i]->SetText( aEmptyStr ); in Reset()
930 pTextArr[i]->Hide(); in Reset()
931 i++; in Reset()
946 for( sal_uInt16 i = 0; i < MET_FIELDS; i++ ) in Init() local
948 aValueTbl[i] = i; in Init()
949 SetMetric(*pFieldArr[i], aMetric); in Init()
950 pFieldArr[i]->SetUpHdl( aLkUp ); in Init()
951 pFieldArr[i]->SetDownHdl( aLkDown ); in Init()
952 pFieldArr[i]->SetLoseFocusHdl( aLkLF ); in Init()
975 for( sal_uInt16 i=0; i < MET_FIELDS; i++ ) in IMPL_LINK() local
976 aValueTbl[i] -= 1; in IMPL_LINK()
983 for(sal_uInt16 i=0;i < MET_FIELDS;i++) in IMPL_LINK() local
984 aValueTbl[i] += 1; in IMPL_LINK()
987 for( sal_uInt16 i = 0; (i < nNoOfVisibleCols ) && ( i < MET_FIELDS); i++ ) in IMPL_LINK() local
990 String sIndex = String::CreateFromInt32( aValueTbl[i] + 1 ); in IMPL_LINK()
992 pTextArr[i]->SetText( sEntry ); in IMPL_LINK()
995 pFieldArr[i]->SetAccessibleName( sColumnWidth ); in IMPL_LINK()
1055 for( sal_uInt16 i = 0; i < MET_FIELDS; i++ ) in FillItemSet() local
1057 if(pFieldArr[i]->HasFocus()) in FillItemSet()
1059 LoseFocusHdl(pFieldArr[i]); in FillItemSet()
1076 sal_uInt16 i; in ModifyHdl() local
1078 for( i = 0; i < MET_FIELDS; i++) in ModifyHdl()
1079 if(pEdit == pFieldArr[i]) in ModifyHdl()
1082 if (MET_FIELDS <= i) in ModifyHdl()
1088 …SetVisibleWidth(aValueTbl[i], static_cast< SwTwips >(pEdit->DenormalizePercent(pEdit->GetValue( FU… in ModifyHdl()
1089 nAktPos = aValueTbl[i]; in ModifyHdl()
1099 sal_uInt16 i; in UpdateCols() local
1101 for( i = 0; i < nNoOfCols; i++ ) in UpdateCols()
1103 nSum += (pTblData->GetColumns())[i].nWidth; in UpdateCols()
1179 for(i = 0; i < nNoOfVisibleCols; i++ ) in UpdateCols()
1181 if(i == nAktPos) in UpdateCols()
1184 if((nVisWidth = GetVisibleWidth(i)) + nDiff < MINLAY) in UpdateCols()
1187 SetVisibleWidth(i, MINLAY); in UpdateCols()
1191 SetVisibleWidth(i, nVisWidth + nDiff); in UpdateCols()
1229 for( i = 0; ( i < nNoOfVisibleCols ) && ( i < MET_FIELDS ); i++) in UpdateCols()
1231 pFieldArr[i]->SetPrcntValue(pFieldArr[i]->NormalizePercent( in UpdateCols()
1232 GetVisibleWidth(aValueTbl[i]) ), FUNIT_TWIP); in UpdateCols()
1233 pFieldArr[i]->ClearModifyFlag(); in UpdateCols()
1243 for( sal_uInt16 i = 0; (i < MET_FIELDS) && (i < nNoOfVisibleCols); i++ ) in ActivatePage() local
1245 pFieldArr[i]->SetRefValue(pTblData->GetWidth()); in ActivatePage()
1246 pFieldArr[i]->ShowPercent( bPercentMode ); in ActivatePage()
1358 sal_uInt16 i=0; in GetVisibleWidth() local
1362 if(pTblData->GetColumns()[i].bVisible && nPos) in GetVisibleWidth()
1364 i++; in GetVisibleWidth()
1366 SwTwips nReturn = pTblData->GetColumns()[i].nWidth; in GetVisibleWidth()
1367 DBG_ASSERT(i < nNoOfCols, "Array index out of range"); in GetVisibleWidth()
1368 while(!pTblData->GetColumns()[i].bVisible && (i + 1) < nNoOfCols) in GetVisibleWidth()
1369 nReturn += pTblData->GetColumns()[++i].nWidth; in GetVisibleWidth()
1379 sal_uInt16 i=0; in SetVisibleWidth() local
1382 if(pTblData->GetColumns()[i].bVisible && nPos) in SetVisibleWidth()
1384 i++; in SetVisibleWidth()
1386 DBG_ASSERT(i < nNoOfCols, "Array index out of range"); in SetVisibleWidth()
1387 pTblData->GetColumns()[i].nWidth = nNewWidth; in SetVisibleWidth()
1388 while(!pTblData->GetColumns()[i].bVisible && (i + 1) < nNoOfCols) in SetVisibleWidth()
1389 pTblData->GetColumns()[++i].nWidth = 0; in SetVisibleWidth()
1661 sal_uInt16 i; in Reset() local
1663 for( i = 0; i < nCount; ++i) in Reset()
1665 const SwPageDesc &rPageDesc = pShell->GetPageDesc(i); in Reset()
1670 for(i = RES_POOLPAGE_BEGIN; i < RES_POOLPAGE_END; ++i) in Reset()
1672 aFmtName = SwStyleNameMapper::GetUIName( i, aFmtName ) )) in Reset()