Home
last modified time | relevance | path

Searched refs:nMaxDigit (Results 1 – 2 of 2) sorted by relevance

/aoo42x/main/basic/source/sbx/
H A Dsbxform.cxx385 short nMaxDigit; in GetDigitAtPos() local
392 nMaxDigit = (short)get_number_of_digits( dNumber ); in GetDigitAtPos()
396 if( nMaxDigit<nPos && !bFoundFirstDigit && nPos>=0 ) in GetDigitAtPos()
400 for( short i=nMaxDigit; i>=nPos; i-- ) in GetDigitAtPos()
719 short nState,nDigitPos,nExponentPos,nMaxDigit,nMaxExponentDigit; in ScanFormatString() local
731 nMaxDigit = (short)dExponent; in ScanFormatString()
739 nDigitPos = nMaxDigit; in ScanFormatString()
792 if( nMaxDigit>nDigitPos ) in ScanFormatString()
794 for( short j=nMaxDigit; j>nDigitPos; j-- ) in ScanFormatString()
807 … if( bGenerateThousandSeparator && ( c=='0' || nMaxDigit>=nDigitPos ) && j>0 && (j % 3 == 0) ) in ScanFormatString()
[all …]
/aoo42x/main/sc/source/ui/view/
H A Doutput2.cxx556 long nMaxDigit = GetMaxDigitWidth(); in SetTextToWidthOrHash() local
557 sal_uInt16 nNumDigits = static_cast<sal_uInt16>(nWidth / nMaxDigit); in SetTextToWidthOrHash()
583 nWidth += (nMaxDigit - GetDotWidth()) * nDecimalCount; in SetTextToWidthOrHash()
585 nWidth += (nMaxDigit - GetSignWidth()) * nSignCount; in SetTextToWidthOrHash()
587 nWidth += (nMaxDigit - GetExpWidth()) * nExpCount; in SetTextToWidthOrHash()
592 nNumDigits = static_cast<sal_uInt16>(nWidth / nMaxDigit); in SetTextToWidthOrHash()

Completed in 27 milliseconds