/trunk/main/dbaccess/source/ui/misc/ |
H A D | UITools.cxx | 534 sal_Int32 nDBTypePrecision = aIter->second->nPrecision; (void)nDBTypePrecision; in getTypeInfoFromType() 548 (aIter->second->nPrecision >= _nPrecision) in getTypeInfoFromType() 561 sal_Int32 nPrec = aIter->second->nPrecision; in getTypeInfoFromType() 597 sal_Int32 nPrec = aIter->second->nPrecision; in getTypeInfoFromType() 711 pInfo->nPrecision = aValue; in fillTypeInfo() 752 if( pInfo->nPrecision < 0) in fillTypeInfo() 753 pInfo->nPrecision = 0; in fillTypeInfo()
|
/trunk/main/svl/source/numbers/ |
H A D | zforlist.cxx | 1916 sal_uInt16& nPrecision, in GetFormatSpecialInfo() argument 1923 nPrecision, nAnzLeading); in GetFormatSpecialInfo() 1928 nPrecision = pFormatScanner->GetStandardPrec(); in GetFormatSpecialInfo() 1966 sal_Bool& bThousand, sal_Bool& IsRed, sal_uInt16& nPrecision, in GetFormatSpecialInfo() argument 1979 pFormat->GetFormatSpecialInfo( bThousand, IsRed, nPrecision, nAnzLeading ); in GetFormatSpecialInfo() 1984 nPrecision = pFormatScanner->GetStandardPrec(); in GetFormatSpecialInfo() 2705 sal_uInt16 nPrecision, in GenerateFormat() argument 2751 if (nPrecision > 0) in GenerateFormat() 2754 sString.Expand( sString.Len() + nPrecision, '0' ); in GenerateFormat()
|
H A D | zformat.cxx | 1820 …ormat::ImpGetOutputStdToPrecision(double& rNumber, String& rOutString, sal_uInt16 nPrecision) const in ImpGetOutputStdToPrecision() 1823 nPrecision = ::std::min(UPPER_PRECISION, nPrecision); in ImpGetOutputStdToPrecision() 1856 rtl_math_StringFormat_F, nPrecision /*2*/, in ImpGetOutputStdToPrecision() 3904 sal_uInt16& nPrecision, in GetFormatSpecialInfo() argument 3910 GetNumForInfo( 0, nDummyType, bThousand, nPrecision, nAnzLeading ); in GetFormatSpecialInfo() 3923 sal_Bool& bThousand, sal_uInt16& nPrecision, sal_uInt16& nAnzLeading ) const in GetNumForInfo() argument 3933 nPrecision = rInfo.nCntPost; in GetNumForInfo()
|
/trunk/main/vcl/source/fontsubset/ |
H A D | cff.cxx | 2084 inline int dbl2str( char* pOut, double fVal, int nPrecision=6) in dbl2str() argument 2086 const int nLen = psp::getValueOfDouble( pOut, fVal, nPrecision); in dbl2str()
|
/trunk/main/sc/source/ui/sidebar/ |
H A D | NumberFormatPropertyPanel.cxx | 209 sal_uInt16 nPrecision = (mpEdDecimals->IsEnabled()) in IMPL_LINK() local 218 String sPrecision = String::CreateFromInt32(nPrecision); in IMPL_LINK() 331 sal_uInt16 nPrecision = 0; in NotifyItemUpdate() local 374 nPrecision = (sal_uInt16)sFormat[2].ToInt32(); in NotifyItemUpdate() 382 nPrecision = 0; in NotifyItemUpdate() 387 mpEdDecimals->SetValue(nPrecision); in NotifyItemUpdate()
|
/trunk/main/sc/source/ui/view/ |
H A D | viewfunc.cxx | 2761 sal_uInt16 nPrecision, nLeading; in ChangeNumFmtDecimals() local 2762 pOldEntry->GetFormatSpecialInfo( bThousand, bNegRed, nPrecision, nLeading ); in ChangeNumFmtDecimals() 2786 nPrecision = 0; in ChangeNumFmtDecimals() 2795 nPrecision = aOut.Len() - nPos - aDecSep.Len(); in ChangeNumFmtDecimals() 2804 if (nPrecision<20) in ChangeNumFmtDecimals() 2805 ++nPrecision; // erhoehen in ChangeNumFmtDecimals() 2811 if (nPrecision) in ChangeNumFmtDecimals() 2812 --nPrecision; // vermindern in ChangeNumFmtDecimals() 2822 bThousand, bNegRed, nPrecision, nLeading ); in ChangeNumFmtDecimals()
|
H A D | formatsh.cxx | 1071 const sal_uInt16 nPrecision = (sal_uInt16)sFormat[2].ToInt32(); in ExecuteNumFormat() local 1080 nPrecision, in ExecuteNumFormat() 2372 sal_uInt16 nPrecision(0); in GetNumFormatState() local 2375 … pFormatter->GetFormatSpecialInfo(nNumberFormat,bThousand, bNegRed, nPrecision, nLeadZeroes); in GetNumFormatState() 2380 const String sPrecision = String::CreateFromInt32(nPrecision); in GetNumFormatState()
|
/trunk/main/sc/source/core/tool/ |
H A D | interpr2.cxx | 2694 double nPrecision = 0.0; in ScEuroConvert() local 2697 nPrecision = ::rtl::math::approxFloor(GetDouble()); in ScEuroConvert() 2698 if ( nPrecision < 3 ) in ScEuroConvert() 2732 if ( nPrecision ) in ScEuroConvert() 2734 (int) nPrecision ); in ScEuroConvert()
|
/trunk/main/dbaccess/source/ui/tabledesign/ |
H A D | TableController.cxx | 859 sal_Int32 nPrecision = 0; in loadData() local 876 xColumn->getPropertyValue(PROPERTY_PRECISION) >>= nPrecision; in loadData() 894 …nfo = ::dbaui::getTypeInfoFromType(m_aTypeInfo,nType,sTypeName,sCreate,nPrecision,nScale,bIsAutoIn… in loadData() 916 pActFieldDescr->SetPrecision(nPrecision); in loadData() 1082 sal_Int32 nType=0,nPrecision=0,nScale=0,nNullable=0; in alterColumns() local 1087 xColumn->getPropertyValue(PROPERTY_PRECISION) >>= nPrecision; in alterColumns() 1107 (nPrecision != pField->GetPrecision() && nPrecision ) || in alterColumns()
|
/trunk/main/connectivity/source/drivers/dbase/ |
H A D | DTable.cxx | 356 sal_Int32 nPrecision = aDBFColumn.db_flng; in fillColumns() local 381 nPrecision = SvDbaseConverter::ConvertPrecisionToOdbc(nPrecision,aDBFColumn.db_dez); in fillColumns() 416 nPrecision = 2147483647; in fillColumns() 421 nPrecision = 2147483647; in fillColumns() 434 nPrecision = 2147483647; in fillColumns() 442 m_aPrecisions.push_back(nPrecision); in fillColumns() 450 nPrecision, in fillColumns() 1281 sal_Int32 nPrecision = 0; in CreateFile() local 1342 if (nPrecision > 254) in CreateFile() 1352 OSL_ENSURE(nPrecision >= nScale, in CreateFile() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | pdfwriter_impl.cxx | 827 static void appendFixedInt( sal_Int32 nValue, OStringBuffer& rBuffer, sal_Int32 nPrecision = nLog10… in appendFixedInt() argument 834 sal_Int32 nFactor = 1, nDiv = nPrecision; in appendFixedInt() 856 static void appendDouble( double fValue, OStringBuffer& rBuffer, sal_Int32 nPrecision = 5 ) in appendDouble() argument 868 if( fValue == 1.0 || log10( 1.0-fValue ) <= -nPrecision ) in appendDouble() 876 fValue *= pow( 10.0, (double)nPrecision ); in appendDouble() 886 sal_Int64 nBound = (sal_Int64)(pow( 10.0, nPrecision - 1.0 )+0.5); in appendDouble() 887 for ( i = 0; ( i < nPrecision ) && nFrac; i++ ) in appendDouble() 1613 …Length, OStringBuffer& rBuffer, bool bVertical, sal_Int32* pOutLength, sal_Int32 nPrecision ) const in appendMappedLength() 1622 appendDouble( fLength, rBuffer, nPrecision ); in appendMappedLength()
|
H A D | pdfwriter_impl.hxx | 168 …er& rBuffer, bool bVertical = true, sal_Int32* pOutLength = NULL, sal_Int32 nPrecision = 5 ) const;
|
/trunk/main/xmloff/source/style/ |
H A D | xmlnumfe.cxx | 976 sal_uInt16 nPrecision = 0; in ExportPart_Impl() local 978 rFormat.GetNumForInfo( nPart, nFmtType, bThousand, nPrecision, nLeading); in ExportPart_Impl() 1312 nPrecision > 0 ) in ExportPart_Impl() 1394 sal_Int32 nDecimals = nPrecision; // from GetFormatSpecialInfo in ExportPart_Impl() 1412 if ( bDecDashes && nPrecision > 0 ) in ExportPart_Impl() 1413 sDashStr.Fill( nPrecision, '-' ); in ExportPart_Impl() 1424 … WriteScientificElement_Impl( nPrecision, nIntegerSymbols, bThousand, nExpDigits ); in ExportPart_Impl() 1437 … WriteFractionElement_Impl( nInteger, bThousand, nPrecision, nPrecision ); in ExportPart_Impl() 1447 if ( pElemStr && nPrecision == 0 ) in ExportPart_Impl() 1578 WriteSecondsElement_Impl( ( nElemType == NF_KEY_SS ), nPrecision ); in ExportPart_Impl()
|
/trunk/main/wizards/com/sun/star/wizards/db/ |
H A D | TypeInspector.java | 213 int nPrecision = -1; in getDataTypeIndex() local 219 nPrecision = AnyConverter.toInt(_xColPropertySet.getPropertyValue("Precision")); in getDataTypeIndex() 233 …if (nPrecision <= nPrecisionInfos[i] && (nScale >= nMinScaleInfos[i]) && (nScale <= nMinScaleInfos… in getDataTypeIndex()
|
/trunk/main/vcl/unx/generic/printergfx/ |
H A D | psputil.cxx | 60 sal_Int32 nPrecision; in getAlignedHexValueOf() local 62 nPrecision = 2; in getAlignedHexValueOf() 65 nPrecision = 4; in getAlignedHexValueOf() 68 nPrecision = 6; in getAlignedHexValueOf() 70 nPrecision = 8; in getAlignedHexValueOf() 73 sal_Int32 nRet = nPrecision; in getAlignedHexValueOf() 74 while (nPrecision) in getAlignedHexValueOf() 76 nPrecision -= getHexValueOf (nValue % 256, pBuffer + nPrecision - 2 ); in getAlignedHexValueOf()
|
/trunk/main/vcl/inc/vcl/ |
H A D | strhelper.hxx | 69 inline int VCL_DLLPUBLIC getValueOfDouble( char* pBuffer, double f, int nPrecision = 0) in getValueOfDouble() argument 71 …rtl::OString aStr( rtl::math::doubleToString( f, rtl_math_StringFormat_G, nPrecision, '.', true ) … in getValueOfDouble()
|
/trunk/main/tools/source/stream/ |
H A D | stream.cxx | 457 nPrecision = 0; // all significant digits in ImpInit() 2070 if( nPrecision ) in CreateFormatString() 2198 nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision,nLong); in WriteNumber() 2201 nLen=sprintf(buffer, aFStr.GetBuffer(),nWidth,nPrecision,nLong); in WriteNumber() 2227 nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision, nUInt32 ); in WriteNumber() 2230 nLen=sprintf(buffer,aFStr.GetBuffer(),nWidth,nPrecision,nUInt32 ); in WriteNumber() 2252 nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision, rDouble); in WriteNumber() 2255 nLen=sprintf(buffer, aFStr.GetBuffer(),nWidth,nPrecision,rDouble); in WriteNumber()
|
/trunk/main/tools/inc/tools/ |
H A D | stream.hxx | 276 sal_uInt8 nPrecision; member in SvStream 401 { nPrecision = nPrec; CreateFormatString(); } in SetPrecision() 402 sal_uInt8 GetPrecision() const { return nPrecision; } in GetPrecision()
|
/trunk/main/svx/source/items/ |
H A D | numfmtsh.cxx | 365 sal_uInt16 nPrecision, sal_uInt16 nLeadingZeroes, in MakeFormat() argument 388 nPrecision, nLeadingZeroes ); in MakeFormat() 397 nPrecision, nLeadingZeroes ); in MakeFormat()
|
/trunk/main/svx/inc/svx/ |
H A D | numfmtsh.hxx | 155 sal_uInt16 nPrecision,
|
/trunk/main/svtools/source/control/ |
H A D | fmtfield.cxx | 722 sal_uInt16 nPrecision, nAnzLeading; in GetThousandsSep() local 723 ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nAnzLeading); in GetThousandsSep() 736 sal_uInt16 nPrecision, nAnzLeading; in SetThousandsSep() local 737 ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nAnzLeading); in SetThousandsSep() 747 …nerateFormat(sFmtDescription, m_nFormatKey, eLang, _bUseSeparator, IsRed, nPrecision, nAnzLeading); in SetThousandsSep() 766 sal_uInt16 nPrecision, nAnzLeading; in GetDecimalDigits() local 767 ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nAnzLeading); in GetDecimalDigits() 769 return nPrecision; in GetDecimalDigits() 780 sal_uInt16 nPrecision, nAnzLeading; in SetDecimalDigits() local 781 ImplGetFormatter()->GetFormatSpecialInfo(m_nFormatKey, bThousand, IsRed, nPrecision, nAnzLeading); in SetDecimalDigits() [all …]
|
/trunk/main/svl/inc/svl/ |
H A D | zforlist.hxx | 478 sal_uInt16 nPrecision = 0, sal_uInt16 nAnzLeading = 1 ); 552 sal_uInt16& nPrecision, sal_uInt16& nAnzLeading); 565 sal_uInt16& nPrecision, sal_uInt16& nAnzLeading,
|
H A D | zformat.hxx | 258 sal_uInt16& nPrecision, 420 sal_Bool& bThousand, sal_uInt16& nPrecision, sal_uInt16& nAnzLeading ) const; 510 …oid ImpGetOutputStdToPrecision( double& rNumber, String& rOutString, sal_uInt16 nPrecision ) const;
|
/trunk/main/sdext/source/pdfimport/pdfparse/ |
H A D | pdfentries.cxx | 360 int nPrecision = 5; in emit() local 370 if( fValue == 1.0 || log10( 1.0-fValue ) <= -nPrecision ) in emit() 378 fValue *= pow( 10.0, (double)nPrecision ); in emit() 388 sal_Int64 nBound = (sal_Int64)(pow( 10.0, nPrecision - 1.0 )+0.5); in emit() 389 for ( i = 0; ( i < nPrecision ) && nFrac; i++ ) in emit()
|
/trunk/main/sc/source/ui/docshell/ |
H A D | docsh8.cxx | 435 sal_Int32 nPrecision = 0; in lcl_GetColumnTypes() local 489 nPrecision = aTmp.ToInt32(); in lcl_GetColumnTypes() 593 if ( nPrecision > 15 ) in lcl_GetColumnTypes() 594 nPrecision = 15; in lcl_GetColumnTypes() 597 if ( bPrecDefined && nPrecision != nPrec ) in lcl_GetColumnTypes() 599 if ( nPrecision ) in lcl_GetColumnTypes() 607 nPrecision = nPrec; in lcl_GetColumnTypes() 612 if ( nPrecision && nFieldLen < nPrecision + 2 ) in lcl_GetColumnTypes() 618 if ( nFieldLen == 1 && nPrecision == 0 ) in lcl_GetColumnTypes() 638 pColScales[nField] = nPrecision; in lcl_GetColumnTypes() [all …]
|