Lines Matching refs:i
798 for(sal_uInt16 i = 0; i < SVX_MAX_NUM; i++) in SvxNumRule() local
800 if(i < nLevels) in SvxNumRule()
802 aFmts[i] = new SvxNumberFormat(SVX_NUM_CHARS_UPPER_LETTER); in SvxNumRule()
810 aFmts[i]->SetLSpace( MM100_TO_TWIP(DEF_WRITER_LSPACE) ); in SvxNumRule()
811 aFmts[i]->SetAbsLSpace( MM100_TO_TWIP(DEF_WRITER_LSPACE * (i+1)) ); in SvxNumRule()
812 aFmts[i]->SetFirstLineOffset(MM100_TO_TWIP(-DEF_WRITER_LSPACE)); in SvxNumRule()
823 aFmts[i]->SetPositionAndSpaceMode( SvxNumberFormat::LABEL_ALIGNMENT ); in SvxNumRule()
824 aFmts[i]->SetLabelFollowedBy( SvxNumberFormat::LISTTAB ); in SvxNumRule()
825 aFmts[i]->SetListtabPos( cIndentAt * (i+2) ); in SvxNumRule()
826 aFmts[i]->SetFirstLineIndent( cFirstLineIndent ); in SvxNumRule()
827 aFmts[i]->SetIndentAt( cIndentAt * (i+2) ); in SvxNumRule()
833 aFmts[i]->SetLSpace( DEF_DRAW_LSPACE ); in SvxNumRule()
834 aFmts[i]->SetAbsLSpace( DEF_DRAW_LSPACE * (i) ); in SvxNumRule()
838 aFmts[i] = 0; in SvxNumRule()
839 aFmtsSet[i] = sal_False; in SvxNumRule()
854 for(sal_uInt16 i = 0; i < SVX_MAX_NUM; i++) in SvxNumRule() local
856 if(rCopy.aFmts[i]) in SvxNumRule()
857 aFmts[i] = new SvxNumberFormat(*rCopy.aFmts[i]); in SvxNumRule()
859 aFmts[i] = 0; in SvxNumRule()
860 aFmtsSet[i] = rCopy.aFmtsSet[i]; in SvxNumRule()
883 for(sal_uInt16 i = 0; i < SVX_MAX_NUM; i++) in SvxNumRule() local
888 aFmts[i] = new SvxNumberFormat(rStream); in SvxNumRule()
890 aFmts[i] = 0; in SvxNumRule()
891 aFmtsSet[i] = aFmts[i] ? sal_True : sal_False; in SvxNumRule()
915 for(sal_uInt16 i = 0; i < SVX_MAX_NUM; i++) in Store() local
917 if(aFmts[i]) in Store()
920 if(bConvertBulletFont && aFmts[i]->GetBulletFont()) in Store()
924 CreateFontToSubsFontConverter(aFmts[i]->GetBulletFont()->GetName(), in Store()
927 aFmts[i]->Store(rStream, pConverter); in Store()
945 for(sal_uInt16 i = 0; i < SVX_MAX_NUM; i++) in ~SvxNumRule() local
946 delete aFmts[i]; in ~SvxNumRule()
962 for(sal_uInt16 i = 0; i < SVX_MAX_NUM; i++) in operator =() local
964 delete aFmts[i]; in operator =()
965 if(rCopy.aFmts[i]) in operator =()
966 aFmts[i] = new SvxNumberFormat(*rCopy.aFmts[i]); in operator =()
968 aFmts[i] = 0; in operator =()
969 aFmtsSet[i] = rCopy.aFmtsSet[i]; in operator =()
983 for(sal_uInt16 i = 0; i < nLevelCount; i++) in operator ==() local
986 (aFmtsSet[i] != rCopy.aFmtsSet[i]) || in operator ==()
987 (!aFmts[i] && rCopy.aFmts[i]) || in operator ==()
988 (aFmts[i] && !rCopy.aFmts[i]) || in operator ==()
989 (aFmts[i] && *aFmts[i] != *rCopy.aFmts[i]) in operator ==()
1029 void SvxNumRule::SetLevel( sal_uInt16 i, const SvxNumberFormat& rNumFmt, sal_Bool bIsValid ) in SetLevel() argument
1031 DBG_ASSERT(i < SVX_MAX_NUM, "falsches Level" ); in SetLevel()
1033 if( (i < SVX_MAX_NUM) && (!aFmtsSet[i] || !(rNumFmt == *Get( i ))) ) in SetLevel()
1035 delete aFmts[ i ]; in SetLevel()
1036 aFmts[ i ] = new SvxNumberFormat( rNumFmt ); in SetLevel()
1037 aFmtsSet[i] = bIsValid; in SetLevel()
1071 sal_uInt8 i = rNum.GetLevel(); in MakeNumString() local
1079 if( i+1 >= n ) in MakeNumString()
1080 i -= n - 1; in MakeNumString()
1082 i = 0; in MakeNumString()
1086 for( ; i <= rNum.GetLevel(); ++i ) in MakeNumString()
1088 const SvxNumberFormat& rNFmt = GetLevel( i ); in MakeNumString()
1098 if( rNum.GetLevelVal()[ i ] ) in MakeNumString()
1101 aStr += rNFmt.GetNumStr( rNum.GetLevelVal()[ i ], aLocale ); in MakeNumString()
1107 if( i != rNum.GetLevel() && bDot) in MakeNumString()
1126 for(sal_uInt16 i = 0; i < GetLevelCount(); i++) in UnLinkGraphics() local
1128 SvxNumberFormat aFmt(GetLevel(i)); in UnLinkGraphics()
1149 SetLevel(i, aFmt); in UnLinkGraphics()