Lines Matching refs:i
147 for(sal_uInt16 i = 0; i < SwBaseNumRules::nMaxRules; ++i) in IMPL_LINK_INLINE_END() local
149 if(pList[i]) in IMPL_LINK_INLINE_END()
151 aFormBox.RemoveEntry(i); in IMPL_LINK_INLINE_END()
152 aFormBox.InsertEntry(*pList[i], i); in IMPL_LINK_INLINE_END()
153 if(i == nSelect && nSelect < SwBaseNumRules::nMaxRules) in IMPL_LINK_INLINE_END()
254 sal_uInt16 i; in SwOutlineTabDialog() local
256 for( i = 0; i < MAXLEVEL; ++i ) in SwOutlineTabDialog()
260 SwStyleNameMapper::GetUIName( static_cast< sal_uInt16 >(RES_POOLCOLL_HEADLINE1 + i), in SwOutlineTabDialog()
262 aCollNames[i] = sHeadline; in SwOutlineTabDialog()
267 for(i = 0; i < nCount; ++i ) in SwOutlineTabDialog()
269 SwTxtFmtColl &rTxtColl = rWrtSh.GetTxtFmtColl(i); in SwOutlineTabDialog()
325 for( sal_uInt16 i = 0; i < SwChapterNumRules::nMaxRules; ++i ) in IMPL_LINK() local
327 const SwNumRulesWithName *pRules = pChapterNumRules->GetRules(i); in IMPL_LINK()
329 aFormMenu.SetItemText(i + MN_FORMBASE, pRules->GetName()); in IMPL_LINK()
358 for(sal_uInt16 i = 0; i < SwChapterNumRules::nMaxRules; ++i) in IMPL_LINK() local
360 const SwNumRulesWithName *pRules = pChapterNumRules->GetRules(i); in IMPL_LINK()
362 aStrArr[i] = &pRules->GetName(); in IMPL_LINK()
364 aStrArr[i] = 0; in IMPL_LINK()
404 for(sal_uInt16 i = 0; i < MAXLEVEL; ++i) in GetLevel() local
406 if(aCollNames[i] == rFmtName) in GetLevel()
407 return i; in GetLevel()
430 sal_uInt16 i, nCount = rWrtSh.GetTxtFmtCollCount(); in Ok() local
431 for( i = 0; i < nCount; ++i ) in Ok()
433 SwTxtFmtColl &rTxtColl = rWrtSh.GetTxtFmtColl(i); in Ok()
484 for(i = 0; i < MAXLEVEL; ++i ) in Ok()
487 ::SwStyleNameMapper::FillUIName( static_cast< sal_uInt16 >(RES_POOLCOLL_HEADLINE1 + i), in Ok()
511 if(aCollNames[i] != sHeadline)//->added by zhaojianwei in Ok()
514 static_cast< sal_uInt16 >(RES_POOLCOLL_HEADLINE1 + i) ); in Ok()
518 if( aCollNames[i].Len() ) in Ok()
521 aCollNames[i], SwWrtShell::GETSTYLE_CREATESOME); in Ok()
524 pTxtColl->AssignToListLevelOfOutlineStyle(i); in Ok()
607 for(sal_uInt16 i = 0; i < MAXLEVEL; i++) in Update() local
610 aNumFmtArr[ i ] = &pNumRule->Get(i); in Update()
611 if(i == 0) in Update()
612 pFirstFmt = aNumFmtArr[i]->GetCharFmt(); in Update()
615 bSameType &= aNumFmtArr[i]->GetNumberingType() == aNumFmtArr[0]->GetNumberingType(); in Update()
616 bSameStart &= aNumFmtArr[i]->GetStart() == aNumFmtArr[0]->GetStart(); in Update()
617 bSamePrefix &= aNumFmtArr[i]->GetPrefix() == aNumFmtArr[0]->GetPrefix(); in Update()
618 bSameSuffix &= aNumFmtArr[i]->GetSuffix() == aNumFmtArr[0]->GetSuffix(); in Update()
619 … bSameComplete &= aNumFmtArr[i]->GetIncludeUpperLevels() == aNumFmtArr[0]->GetIncludeUpperLevels(); in Update()
620 const SwCharFmt* pFmt = aNumFmtArr[i]->GetCharFmt(); in Update()
716 for( sal_uInt16 i = 0; i < MAXLEVEL; i++ ) in IMPL_LINK() local
718 if(pBox->IsEntryPosSelected( i )) in IMPL_LINK()
732 for(sal_uInt16 i = 0; i < MAXLEVEL; i++) in IMPL_LINK() local
736 SwNumFmt aNumFmt(pNumRule->Get(i)); in IMPL_LINK()
738 (sal_uInt8)(i + 1)) ); in IMPL_LINK()
739 pNumRule->Set(i, aNumFmt); in IMPL_LINK()
751 sal_uInt8 i; in IMPL_LINK() local
758 for( i = 0; i < MAXLEVEL; ++i) in IMPL_LINK()
759 pCollNames[i] = aSaveCollNames[i]; in IMPL_LINK()
767 for( i = 0; i < MAXLEVEL; ++i) in IMPL_LINK()
768 if(i != nTmpLevel && pCollNames[i] == aCollName ) in IMPL_LINK()
769 pCollNames[i] = aEmptyStr; in IMPL_LINK()
774 for( i = 0; i < MAXLEVEL; ++i) in IMPL_LINK()
775 if( aSaveCollNames[ i ] == sOldName && i != nTmpLevel && in IMPL_LINK()
776 !pCollNames[ i ].Len() ) in IMPL_LINK()
785 pCollNames[ i ] = sOldName; in IMPL_LINK()
794 for( sal_uInt8 i = 0; i < MAXLEVEL; ++i) in IMPL_LINK() local
795 aSaveCollNames[i] = pCollNames[i]; in IMPL_LINK()
806 for(sal_uInt16 i = 0; i < MAXLEVEL; i++) in IMPL_LINK() local
810 SwNumFmt aNumFmt(pNumRule->Get(i)); in IMPL_LINK()
812 pNumRule->Set(i, aNumFmt); in IMPL_LINK()
826 for(sal_uInt16 i = 0; i < MAXLEVEL; i++) in IMPL_LINK() local
830 SwNumFmt aNumFmt(pNumRule->Get(i)); in IMPL_LINK()
833 pNumRule->Set(i, aNumFmt); in IMPL_LINK()
846 for(sal_uInt16 i = 0; i < MAXLEVEL; i++) in IMPL_LINK() local
850 SwNumFmt aNumFmt(pNumRule->Get(i)); in IMPL_LINK()
852 pNumRule->Set(i, aNumFmt); in IMPL_LINK()
872 for(sal_uInt16 i = 0; i < nChCount; i++) in IMPL_LINK() local
874 SwCharFmt& rChFmt = pSh->GetCharFmt(i); in IMPL_LINK()
893 for(sal_uInt16 i = 0; i < MAXLEVEL; i++) in IMPL_LINK() local
897 SwNumFmt aNumFmt(pNumRule->Get(i)); in IMPL_LINK()
902 pNumRule->Set(i, aNumFmt); in IMPL_LINK()
935 sal_uInt16 i; in SetWrtShell() local
936 for( i = 0; i < MAXLEVEL; ++i ) in SetWrtShell()
939 … static_cast< sal_uInt16 >(RES_POOLCOLL_HEADLINE1 + i), aEmptyStr )); in SetWrtShell()
940 aLevelLB.InsertEntry( String::CreateFromInt32(i + 1) ); in SetWrtShell()
948 for( i = 0; i < nCount; ++i ) in SetWrtShell()
950 SwTxtFmtColl &rTxtColl = pSh->GetTxtFmtColl(i); in SetWrtShell()