Lines Matching refs:i
189 for( sal_uInt16 i = 0; i < SVX_MAX_NUM && !bRet; i++ ) in lcl_IsNumFmtSet() local
192 bRet |= 0 != pNum->Get( i ); in lcl_IsNumFmtSet()
259 for(sal_Int32 i = 0; i < nLength; i++) in SvxSingleNumPickTabPage() local
261 SvxNumSettings_ImplPtr pNew = lcl_CreateNumSettingsPtr(pValuesArr[i]); in SvxSingleNumPickTabPage()
412 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
416 SvxNumberFormat aFmt(pActNum->GetLevel(i)); in IMPL_LINK()
430 pActNum->SetLevel(i, aFmt); in IMPL_LINK()
606 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
610 SvxNumberFormat aFmt(pActNum->GetLevel(i)); in IMPL_LINK()
620 pActNum->SetLevel(i, aFmt); in IMPL_LINK()
850 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
852 if(rItemArr.Count() > i) in IMPL_LINK()
853 pLevelSettings = rItemArr[i]; in IMPL_LINK()
856 SvxNumberFormat aFmt(pActNum->GetLevel(i)); in IMPL_LINK()
917 pActNum->SetLevel(i, aFmt); in IMPL_LINK()
976 for(sal_uInt16 i = 0; i < aGrfNames.Count(); i++) in SvxBitmapPickTabPage() local
978 pExamplesVS->InsertItem( i + 1, i); in SvxBitmapPickTabPage()
979 String* pGrfNm = (String*) aGrfNames.GetObject(i); in SvxBitmapPickTabPage()
983 pExamplesVS->SetItemText( i + 1, *pGrfNm ); in SvxBitmapPickTabPage()
1157 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
1161 SvxNumberFormat aFmt(pActNum->GetLevel(i)); in IMPL_LINK()
1178 pActNum->SetLevel(i, aFmt); in IMPL_LINK()
1385 for (size_t i=0; i<aRemove.size(); ++i) in SvxNumOptionsTabPage() local
1388 sal::static_int_cast< sal_uInt16 >(i)); in SvxNumOptionsTabPage()
1391 aRemove[i] = nEntryData; in SvxNumOptionsTabPage()
1422 for (size_t i=0; i<aRemove.size(); ++i) in SvxNumOptionsTabPage() local
1424 if (aRemove[i] != nDontRemove) in SvxNumOptionsTabPage()
1426 sal_uInt16 nPos = aFmtLB.GetEntryPos( (void*)(sal_uLong)aRemove[i]); in SvxNumOptionsTabPage()
1506 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in ActivatePage() local
1509 aLevelLB.SelectEntryPos( i, sal_True); in ActivatePage()
1568 for(sal_uInt16 i = 1; i <= pSaveNum->GetLevelCount(); i++) in Reset() local
1569 aLevelLB.InsertEntry( UniString::CreateFromInt32(i)); in Reset()
1592 for(sal_uInt16 i = 0; i < pSaveNum->GetLevelCount(); i++) in Reset() local
1595 aLevelLB.SelectEntryPos( i, sal_True); in Reset()
1628 for ( long i = 0; i < aColorTable->Count(); i++ ) in Reset() local
1630 XColorEntry* pEntry = aColorTable->GetColor(i); in Reset()
1662 for(sal_uInt16 i = nFmtCount; i; i--) in Reset() local
1664 sal_uInt16 nEntryData = (sal_uInt16)(sal_uLong)aFmtLB.GetEntryData(i - 1); in Reset()
1667 aFmtLB.RemoveEntry(i - 1); in Reset()
1700 for(sal_uInt16 i = nFmtCount; i; i--) in Reset() local
1702 sal_uInt16 nEntryData = (sal_uInt16)(sal_uLong)aFmtLB.GetEntryData(i - 1); in Reset()
1704 aFmtLB.RemoveEntry(i - 1); in Reset()
1742 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in InitControls() local
1746 aNumFmtArr[i] = &pActNum->GetLevel(i); in InitControls()
1747 bShowBullet &= aNumFmtArr[i]->GetNumberingType() == SVX_NUM_CHAR_SPECIAL; in InitControls()
1748 bShowBitmap &= (aNumFmtArr[i]->GetNumberingType()&(~LINK_TOKEN)) == SVX_NUM_BITMAP; in InitControls()
1751 nLvl = i; in InitControls()
1752 sFirstCharFmt = aNumFmtArr[i]->GetCharFmtName(); in InitControls()
1753 eFirstOrient = aNumFmtArr[i]->GetVertOrient(); in InitControls()
1755 aFirstSize = aNumFmtArr[i]->GetGraphicSize(); in InitControls()
1757 if( i > nLvl) in InitControls()
1759 bSameType &= aNumFmtArr[i]->GetNumberingType() == aNumFmtArr[nLvl]->GetNumberingType(); in InitControls()
1760 bSameStart = aNumFmtArr[i]->GetStart() == aNumFmtArr[nLvl]->GetStart(); in InitControls()
1762 bSamePrefix = aNumFmtArr[i]->GetPrefix() == aNumFmtArr[nLvl]->GetPrefix(); in InitControls()
1763 bSameSuffix = aNumFmtArr[i]->GetSuffix() == aNumFmtArr[nLvl]->GetSuffix(); in InitControls()
1764 … bAllLevel &= aNumFmtArr[i]->GetIncludeUpperLevels() == aNumFmtArr[nLvl]->GetIncludeUpperLevels(); in InitControls()
1765 bSameCharFmt &= sFirstCharFmt == aNumFmtArr[i]->GetCharFmtName(); in InitControls()
1766 bSameVOrient &= eFirstOrient == aNumFmtArr[i]->GetVertOrient(); in InitControls()
1768 bSameSize &= aNumFmtArr[i]->GetGraphicSize() == aFirstSize; in InitControls()
1769 bSameBulColor &= aNumFmtArr[i]->GetBulletColor() == aNumFmtArr[nLvl]->GetBulletColor(); in InitControls()
1770 bSameBulRelSize &= aNumFmtArr[i]->GetBulletRelSize() == aNumFmtArr[nLvl]->GetBulletRelSize(); in InitControls()
1771 bSameAdjust &= aNumFmtArr[i]->GetNumAdjust() == aNumFmtArr[nLvl]->GetNumAdjust(); in InitControls()
1773 nHighestLevel = i; in InitControls()
1776 aNumFmtArr[i] = 0; in InitControls()
1985 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++ ) in IMPL_LINK() local
1986 pBox->SelectEntryPos( i, sal_False ); in IMPL_LINK()
1992 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++ ) in IMPL_LINK() local
1994 if(pBox->IsEntryPosSelected( i )) in IMPL_LINK()
2004 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++ ) in IMPL_LINK() local
2008 pBox->SelectEntryPos(i); in IMPL_LINK()
2030 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
2059 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
2063 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2077 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
2090 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
2106 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
2161 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
2165 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2172 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
2190 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
2192 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2211 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
2215 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2217 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
2232 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
2236 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2238 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
2289 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
2293 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2302 aInitSize[i] = aNumFmt.GetGraphicSize(); in IMPL_LINK()
2304 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
2340 for(sal_uInt16 i = 0; i < aGrfNames.Count(); i++) in IMPL_LINK() local
2343 String sGrfName = *(const String*)aGrfNames.GetObject(i); in IMPL_LINK()
2347 if(GalleryExplorer::GetGraphicObj( GALLERY_THEME_BULLETS, i, &aGraphic)) in IMPL_LINK()
2362 pPopup->InsertItem(MN_GALLERY_ENTRY + i, sGrfName, aImage ); in IMPL_LINK()
2368 MN_GALLERY_ENTRY + i, sGrfName, aImage ); in IMPL_LINK()
2390 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
2394 const SvxNumberFormat& rCurFmt = pActNum->GetLevel(i); in IMPL_LINK()
2424 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
2428 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2431 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
2461 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
2465 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2471 if (aInitSize[i].Height()) in IMPL_LINK()
2472 fSizeRatio = (double)aInitSize[i].Width() / (double)aInitSize[i].Height(); in IMPL_LINK()
2478 long nDelta = nWidthVal - aInitSize[i].Width(); in IMPL_LINK()
2482 aSize.Height() = aInitSize[i].Height() + (long)((double)nDelta / fSizeRatio); in IMPL_LINK()
2490 long nDelta = nHeightVal - aInitSize[i].Height(); in IMPL_LINK()
2494 aSize.Width() = aInitSize[i].Width() + (long)((double)nDelta * fSizeRatio); in IMPL_LINK()
2505 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
2540 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
2544 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2552 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
2570 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
2574 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2591 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
3022 for ( sal_uInt16 i = 0; i < aAlignLB.GetEntryCount(); ++i ) in SvxNumPositionTabPage() local
3024 aAlign2LB.InsertEntry( aAlignLB.GetEntry( i ) ); in SvxNumPositionTabPage()
3186 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in InitControls() local
3188 aNumFmtArr[i] = &pActNum->GetLevel(i); in InitControls()
3193 nLvl = i; in InitControls()
3203 if( i > nLvl) in InitControls()
3206 bSameAdjust &= aNumFmtArr[i]->GetNumAdjust() == aNumFmtArr[nLvl]->GetNumAdjust(); in InitControls()
3213 (aNumFmtArr[i]->GetAbsLSpace() + aNumFmtArr[i]->GetFirstLineOffset() - in InitControls()
3214 … aNumFmtArr[i - 1]->GetAbsLSpace() + aNumFmtArr[i - 1]->GetFirstLineOffset()); in InitControls()
3217 (aNumFmtArr[i]->GetAbsLSpace() + aNumFmtArr[i]->GetFirstLineOffset() - in InitControls()
3218 … aNumFmtArr[i - 1]->GetAbsLSpace() + aNumFmtArr[i - 1]->GetFirstLineOffset()); in InitControls()
3222 aNumFmtArr[i]->GetAbsLSpace() - aNumFmtArr[i]->GetFirstLineOffset() == in InitControls()
3223 aNumFmtArr[i - 1]->GetAbsLSpace() - aNumFmtArr[i - 1]->GetFirstLineOffset(); in InitControls()
3225 …bSameDist &= aNumFmtArr[i]->GetCharTextDistance() == aNumFmtArr[nLvl]->GetCharTextDistance(); in InitControls()
3226 … bSameIndent &= aNumFmtArr[i]->GetFirstLineOffset() == aNumFmtArr[nLvl]->GetFirstLineOffset(); in InitControls()
3231 … aNumFmtArr[i]->GetLabelFollowedBy() == aNumFmtArr[nLvl]->GetLabelFollowedBy(); in InitControls()
3233 aNumFmtArr[i]->GetListtabPos() == aNumFmtArr[nLvl]->GetListtabPos(); in InitControls()
3235 ( ( aNumFmtArr[i]->GetIndentAt() + aNumFmtArr[i]->GetFirstLineIndent() ) in InitControls()
3238 aNumFmtArr[i]->GetIndentAt() == aNumFmtArr[nLvl]->GetIndentAt(); in InitControls()
3402 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in ActivatePage() local
3405 aLevelLB.SelectEntryPos( i, sal_True); in ActivatePage()
3475 for(sal_uInt16 i = 1; i <= pSaveNum->GetLevelCount(); i++) in Reset() local
3476 aLevelLB.InsertEntry(UniString::CreateFromInt32(i)); in Reset()
3497 for(sal_uInt16 i = 0; i < pSaveNum->GetLevelCount(); i++) in Reset() local
3500 aLevelLB.SelectEntryPos( i, sal_True); in Reset()
3536 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); ++i ) in InitPosAndSpaceMode() local
3540 SvxNumberFormat aNumFmt( pActNum->GetLevel(i) ); in InitPosAndSpaceMode()
3622 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
3626 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
3639 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
3658 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++ ) in IMPL_LINK() local
3659 pBox->SelectEntryPos( i, sal_False ); in IMPL_LINK()
3665 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++ ) in IMPL_LINK() local
3667 if(pBox->IsEntryPosSelected( i )) in IMPL_LINK()
3677 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++ ) in IMPL_LINK() local
3681 pBox->SelectEntryPos(i); in IMPL_LINK()
3708 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
3712 SvxNumberFormat aNumFmt( pActNum->GetLevel( i ) ); in IMPL_LINK()
3718 if(0 == i) in IMPL_LINK()
3725 long nTmp = pActNum->GetLevel( i - 1 ).GetAbsLSpace() + in IMPL_LINK()
3726 pActNum->GetLevel( i - 1 ).GetFirstLineOffset() - in IMPL_LINK()
3727 pActNum->GetLevel( i ).GetFirstLineOffset(); in IMPL_LINK()
3755 pActNum->SetLevel( i, aNumFmt ); in IMPL_LINK()
3784 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
3788 const SvxNumberFormat &rNumFmt = pActNum->GetLevel(i); in IMPL_LINK()
3792 if(bOn && i) in IMPL_LINK()
3793 …nValue -= (pActNum->GetLevel(i - 1).GetAbsLSpace() + pActNum->GetLevel(i - 1).GetFirstLineOffset()… in IMPL_LINK()
3798 (pActNum->GetLevel(i - 1).GetAbsLSpace() + pActNum->GetLevel(i - 1).GetFirstLineOffset()); in IMPL_LINK()
3838 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); ++i ) in IMPL_LINK() local
3842 SvxNumberFormat aNumFmt( pActNum->GetLevel(i) ); in IMPL_LINK()
3844 pActNum->SetLevel( i, aNumFmt ); in IMPL_LINK()
3848 nFirstLvl = i; in IMPL_LINK()
3886 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); ++i ) in IMPL_LINK() local
3890 SvxNumberFormat aNumFmt( pActNum->GetLevel(i) ); in IMPL_LINK()
3892 pActNum->SetLevel( i, aNumFmt ); in IMPL_LINK()
3914 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); ++i ) in IMPL_LINK() local
3918 SvxNumberFormat aNumFmt( pActNum->GetLevel(i) ); in IMPL_LINK()
3921 pActNum->SetLevel( i, aNumFmt ); in IMPL_LINK()
3943 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); ++i ) in IMPL_LINK() local
3947 SvxNumberFormat aNumFmt( pActNum->GetLevel(i) ); in IMPL_LINK()
3953 pActNum->SetLevel( i, aNumFmt ); in IMPL_LINK()
3979 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK() local
3983 SvxNumberFormat aNumFmt( pActNum->GetLevel( i ) ); in IMPL_LINK()
3984 SvxNumberFormat aTempFmt(aTmpNumRule.GetLevel( i )); in IMPL_LINK()
4003 pActNum->SetLevel( i, aNumFmt ); in IMPL_LINK()
4049 for(sal_uInt32 i = 0; i < nCount; i++) in PageCreated() local
4051 myCharFmtLB.InsertEntry(*(const String*)(pList->GetObject(i)) ); in PageCreated()