Lines Matching refs:pActNum
231 pActNum(0), in SvxSingleNumPickTabPage()
278 delete pActNum; in ~SvxSingleNumPickTabPage()
303 *pSaveNum = *pActNum; in FillItemSet()
333 if(*pSaveNum != *pActNum) in ActivatePage()
335 *pActNum = *pSaveNum; in ActivatePage()
339 if(pActNum && (!lcl_IsNumFmtSet(pActNum, nActNumLvl) || bIsPreset)) in ActivatePage()
387 if(!pActNum) in Reset()
388 pActNum = new SvxNumRule(*pSaveNum); in Reset()
389 else if(*pSaveNum != *pActNum) in Reset()
390 *pActNum = *pSaveNum; in Reset()
398 if(pActNum) in IMPL_LINK()
412 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
416 SvxNumberFormat aFmt(pActNum->GetLevel(i)); in IMPL_LINK()
430 pActNum->SetLevel(i, aFmt); in IMPL_LINK()
460 pActNum(0), in SvxBulletPickTabPage()
481 delete pActNum; in ~SvxBulletPickTabPage()
503 if( (bPreset || bModified) && pActNum) in FillItemSet()
505 *pSaveNum = *pActNum; in FillItemSet()
533 if(*pSaveNum != *pActNum) in ActivatePage()
535 *pActNum = *pSaveNum; in ActivatePage()
539 if(pActNum && (!lcl_IsNumFmtSet(pActNum, nActNumLvl) || bIsPreset)) in ActivatePage()
587 if(!pActNum) in Reset()
588 pActNum = new SvxNumRule(*pSaveNum); in Reset()
589 else if(*pSaveNum != *pActNum) in Reset()
590 *pActNum = *pSaveNum; in Reset()
598 if(pActNum) in IMPL_LINK()
606 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
610 SvxNumberFormat aFmt(pActNum->GetLevel(i)); in IMPL_LINK()
620 pActNum->SetLevel(i, aFmt); in IMPL_LINK()
663 pActNum(0), in SvxNumPickTabPage()
720 delete pActNum; in ~SvxNumPickTabPage()
743 if( (bPreset || bModified) && pActNum) in FillItemSet()
745 *pSaveNum = *pActNum; in FillItemSet()
773 if(*pSaveNum != *pActNum) in ActivatePage()
775 *pActNum = *pSaveNum; in ActivatePage()
779 if(pActNum && (!lcl_IsNumFmtSet(pActNum, nActNumLvl) || bIsPreset)) in ActivatePage()
826 if(!pActNum) in Reset()
827 pActNum = new SvxNumRule(*pSaveNum); in Reset()
828 else if(*pSaveNum != *pActNum) in Reset()
829 *pActNum = *pSaveNum; in Reset()
839 if(pActNum) in IMPL_LINK()
850 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
856 SvxNumberFormat aFmt(pActNum->GetLevel(i)); in IMPL_LINK()
909 …aFmt.SetIncludeUpperLevels(sal::static_int_cast< sal_uInt8 >(0 != nUpperLevelOrChar ? pActNum->Get… in IMPL_LINK()
917 pActNum->SetLevel(i, aFmt); in IMPL_LINK()
958 pActNum(0), in SvxBitmapPickTabPage()
1011 delete pActNum; in ~SvxBitmapPickTabPage()
1048 if(*pSaveNum != *pActNum) in ActivatePage()
1050 *pActNum = *pSaveNum; in ActivatePage()
1055 (pActNum && (!lcl_IsNumFmtSet(pActNum, nActNumLvl) || bIsPreset))) in ActivatePage()
1086 if( (bPreset || bModified) && pActNum) in FillItemSet()
1088 *pSaveNum = *pActNum; in FillItemSet()
1120 if(!pActNum) in Reset()
1121 pActNum = new SvxNumRule(*pSaveNum); in Reset()
1122 else if(*pSaveNum != *pActNum) in Reset()
1123 *pActNum = *pSaveNum; in Reset()
1124 if(!pActNum->IsFeatureSupported(NUM_ENABLE_LINKED_BMP)) in Reset()
1129 else if(!pActNum->IsFeatureSupported(NUM_ENABLE_EMBEDDED_BMP)) in Reset()
1142 if(pActNum) in IMPL_LINK()
1157 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
1161 SvxNumberFormat aFmt(pActNum->GetLevel(i)); in IMPL_LINK()
1178 pActNum->SetLevel(i, aFmt); in IMPL_LINK()
1326 pActNum(0), in SvxNumOptionsTabPage()
1448 delete pActNum; in ~SvxNumOptionsTabPage()
1496 bModified = (!pActNum->Get( 0 ) || bPreset); in ActivatePage()
1497 if(*pActNum != *pSaveNum || in ActivatePage()
1504 aLevelLB.SelectEntryPos( pActNum->GetLevelCount(), nActNumLvl == USHRT_MAX); in ActivatePage()
1506 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in ActivatePage()
1513 *pActNum = *pSaveNum; in ActivatePage()
1533 if(bModified && pActNum) in FillItemSet()
1535 *pSaveNum = *pActNum; in FillItemSet()
1600 if(!pActNum) in Reset()
1601 pActNum = new SvxNumRule(*pSaveNum); in Reset()
1602 else if(*pSaveNum != *pActNum) in Reset()
1603 *pActNum = *pSaveNum; in Reset()
1604 pPreviewWIN->SetNumRule(pActNum); in Reset()
1605 aSameLevelCB.Check(pActNum->IsContinuousNumbering()); in Reset()
1608 if ( pActNum->IsFeatureSupported( NUM_BULLET_COLOR ) ) in Reset()
1644 sal_Bool bCharFmt = pActNum->IsFeatureSupported(NUM_CHAR_STYLE); in Reset()
1648 sal_Bool bContinuous = pActNum->IsFeatureSupported(NUM_CONTINUOUS); in Reset()
1671 if(!pActNum->IsFeatureSupported(NUM_ENABLE_LINKED_BMP)) in Reset()
1678 else if(!pActNum->IsFeatureSupported(NUM_ENABLE_EMBEDDED_BMP)) in Reset()
1685 if(pActNum->IsFeatureSupported(NUM_SYMBOL_ALIGNMENT)) in Reset()
1697 if(pActNum->IsFeatureSupported(NUM_NO_NUMBERS)) in Reset()
1740 sal_Bool bBullColor = pActNum->IsFeatureSupported(NUM_BULLET_COLOR); in InitControls()
1741 sal_Bool bBullRelSize = pActNum->IsFeatureSupported(NUM_BULLET_REL_SIZE); in InitControls()
1742 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in InitControls()
1746 aNumFmtArr[i] = &pActNum->GetLevel(i); in InitControls()
1930 sal_Bool bCharFmt = pActNum->IsFeatureSupported(NUM_CHAR_STYLE); in SwitchNumberType()
1936 sal_Bool bAllLevelFeature = pActNum->IsFeatureSupported(NUM_CONTINUOUS); in SwitchNumberType()
1945 sal_Bool bBullColor = pActNum->IsFeatureSupported(NUM_BULLET_COLOR); in SwitchNumberType()
1948 sal_Bool bBullResSize = pActNum->IsFeatureSupported(NUM_BULLET_REL_SIZE); in SwitchNumberType()
1980 if(pBox->IsEntryPosSelected( pActNum->GetLevelCount() ) && in IMPL_LINK()
1985 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++ ) in IMPL_LINK()
1992 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++ ) in IMPL_LINK()
1998 pBox->SelectEntryPos( pActNum->GetLevelCount(), sal_False ); in IMPL_LINK()
2004 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++ ) in IMPL_LINK()
2030 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
2033 for(sal_uInt16 e = 0; e < pActNum->GetLevelCount(); e++) in IMPL_LINK()
2037 SvxNumberFormat aNumFmt(pActNum->GetLevel(e)); in IMPL_LINK()
2039 pActNum->SetLevel(e, aNumFmt); in IMPL_LINK()
2059 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
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()
2118 sal_Bool bAllLevelFeature = pActNum->IsFeatureSupported(NUM_CONTINUOUS); in IMPL_LINK()
2161 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
2165 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2172 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
2188 pActNum->SetContinuousNumbering(bSet); in IMPL_LINK()
2190 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
2192 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2211 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
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()
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()
2293 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2304 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
2390 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
2394 const SvxNumberFormat& rCurFmt = pActNum->GetLevel(i); in IMPL_LINK()
2424 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
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()
2465 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2505 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
2540 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
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()
2574 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
2591 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
2686 if(pActNum) in Paint()
2701 …sal_uInt16 nXStep = sal::static_int_cast< sal_uInt16 >(aSize.Width() / (3 * pActNum->GetLevelCount… in Paint()
2702 if(pActNum->GetLevelCount() < 10) in Paint()
2706 …al::static_int_cast< sal_uInt16 >((aSize.Height() - 6)/ (pActNum->GetLevelCount() > 1 ? pActNum->G… in Paint()
2719 sal_uInt16 nPreNum = pActNum->GetLevel(0).GetStart(); in Paint()
2731 sal_uInt8 nEnd = std::min( (sal_uInt8)(nStart + 3), (sal_uInt8)pActNum->GetLevelCount() ); in Paint()
2734 const SvxNumberFormat &rFmt = pActNum->GetLevel(nLevel); in Paint()
2788 if(pActNum->IsContinuousNumbering()) in Paint()
2790 String aText(pActNum->MakeNumString( aNum )); in Paint()
2872 for( sal_uInt8 nLevel = 0; nLevel < pActNum->GetLevelCount(); in Paint()
2875 const SvxNumberFormat &rFmt = pActNum->GetLevel(nLevel); in Paint()
2928 if(pActNum->IsContinuousNumbering()) in Paint()
2930 String aText(pActNum->MakeNumString( aNum )); in Paint()
3003 pActNum(0), in SvxNumPositionTabPage()
3113 delete pActNum; in ~SvxNumPositionTabPage()
3186 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in InitControls()
3188 aNumFmtArr[i] = &pActNum->GetLevel(i); in InitControls()
3391 bModified = (!pActNum->Get( 0 ) || bPreset); in ActivatePage()
3392 if(*pSaveNum != *pActNum || in ActivatePage()
3395 *pActNum = *pSaveNum; in ActivatePage()
3400 aLevelLB.SelectEntryPos( pActNum->GetLevelCount(), nActNumLvl == USHRT_MAX); in ActivatePage()
3402 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in ActivatePage()
3439 if(bModified && pActNum) in FillItemSet()
3441 *pSaveNum = *pActNum; in FillItemSet()
3505 if(!pActNum) in Reset()
3506 pActNum = new SvxNumRule(*pSaveNum); in Reset()
3507 else if(*pSaveNum != *pActNum) in Reset()
3508 *pActNum = *pSaveNum; in Reset()
3509 pPreviewWIN->SetNumRule(pActNum); in Reset()
3526 if ( pActNum == 0 ) in InitPosAndSpaceMode()
3536 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); ++i ) in InitPosAndSpaceMode()
3540 SvxNumberFormat aNumFmt( pActNum->GetLevel(i) ); in InitPosAndSpaceMode()
3562 pActNum->IsFeatureSupported(NUM_CONTINUOUS) ); in ShowControlsDependingOnPosAndSpaceMode()
3564 pActNum->IsFeatureSupported(NUM_CONTINUOUS)); in ShowControlsDependingOnPosAndSpaceMode()
3622 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
3626 SvxNumberFormat aNumFmt(pActNum->GetLevel(i)); in IMPL_LINK()
3639 pActNum->SetLevel(i, aNumFmt); in IMPL_LINK()
3653 if(pBox->IsEntryPosSelected( pActNum->GetLevelCount() ) && in IMPL_LINK()
3658 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++ ) in IMPL_LINK()
3665 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++ ) in IMPL_LINK()
3671 pBox->SelectEntryPos( pActNum->GetLevelCount(), sal_False ); in IMPL_LINK()
3677 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++ ) in IMPL_LINK()
3708 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
3712 SvxNumberFormat aNumFmt( pActNum->GetLevel( 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()
3788 const SvxNumberFormat &rNumFmt = pActNum->GetLevel(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()
3842 SvxNumberFormat aNumFmt( pActNum->GetLevel(i) ); in IMPL_LINK()
3844 pActNum->SetLevel( i, aNumFmt ); in IMPL_LINK()
3853 pActNum->GetLevel( nFirstLvl ).GetListtabPos(); in IMPL_LINK()
3865 SetMetricValue( aListtabMF, pActNum->GetLevel( nFirstLvl ).GetListtabPos(), eCoreUnit ); in IMPL_LINK()
3886 for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); ++i ) in IMPL_LINK()
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()
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()
3947 SvxNumberFormat aNumFmt( pActNum->GetLevel(i) ); in IMPL_LINK()
3953 pActNum->SetLevel( i, aNumFmt ); in IMPL_LINK()
3973 SvxNumRule aTmpNumRule( pActNum->GetFeatureFlags(), in IMPL_LINK()
3974 pActNum->GetLevelCount(), in IMPL_LINK()
3975 pActNum->IsContinuousNumbering(), in IMPL_LINK()
3977 pActNum->GetLevel( 0 ).GetPositionAndSpaceMode() ); in IMPL_LINK()
3979 for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) in IMPL_LINK()
3983 SvxNumberFormat aNumFmt( pActNum->GetLevel( i ) ); in IMPL_LINK()
4003 pActNum->SetLevel( i, aNumFmt ); in IMPL_LINK()