Lines Matching refs:nDiv
985 sal_Int64 nDiv(1); in ImpSetUIUnit() local
998 case MAP_POINT : nDiv=72; break; // 1Pt = 1/72" in ImpSetUIUnit()
999 case MAP_TWIP : nDiv=144; nUIUnitKomma++; break; // 1Twip = 1/1440" in ImpSetUIUnit()
1027 case FUNIT_FOOT : nDiv*=12; break; // 1Ft = 12" in ImpSetUIUnit()
1028 case FUNIT_MILE : nDiv*=6336; nUIUnitKomma++; break; // 1mile = 63360" in ImpSetUIUnit()
1051 nDiv *= 254; in ImpSetUIUnit()
1056 if(1 != nMul || 1 != nDiv) in ImpSetUIUnit()
1058 const Fraction aTemp(static_cast< long >(nMul), static_cast< long >(nDiv)); in ImpSetUIUnit()
1060 nDiv = aTemp.GetDenominator(); in ImpSetUIUnit()
1068 nDiv *= aUIScale.GetNumerator(); in ImpSetUIUnit()
1079 while(0 == (nDiv % 10)) in ImpSetUIUnit()
1082 nDiv /= 10; in ImpSetUIUnit()
1086 aUIUnitFact = Fraction(sal_Int32(nMul), sal_Int32(nDiv)); in ImpSetUIUnit()
1087 bUIOnlyKomma = (nMul == nDiv); in ImpSetUIUnit()
1386 sal_Int32 nDiv(rVal.GetDenominator()); in TakePercentStr() local
1389 if(nDiv < 0) in TakePercentStr()
1395 if(nDiv < 0) in TakePercentStr()
1396 nDiv = -nDiv; in TakePercentStr()
1399 nMul += nDiv/2; in TakePercentStr()
1400 nMul /= nDiv; in TakePercentStr()