Lines Matching refs:nFmt

56 sal_uInt16 lcl_GetLanguageOfFormat( sal_uInt16 nLng, sal_uLong nFmt,  in lcl_GetLanguageOfFormat()  argument
62 switch( rFormatter.GetIndexTableOffset( nFmt )) in lcl_GetLanguageOfFormat()
185 sal_uInt32 nFmt, in SwField() argument
192 , nFormat( nFmt ) in SwField()
496 sal_uInt32 nFmt, sal_uInt16 nLng) const in ExpandValue() argument
506 sal_uInt16 nFmtLng = ::lcl_GetLanguageOfFormat( nLng, nFmt, *pFormatter ); in ExpandValue()
508 if( nFmt < SV_COUNTRY_LANGUAGE_OFFSET && LANGUAGE_SYSTEM != nFmtLng ) in ExpandValue()
513 const SvNumberformat* pEntry = pFormatter->GetEntry(nFmt); in ExpandValue()
517 sal_uInt32 nNewFormat = pFormatter->GetFormatForLanguageIfBuiltIn(nFmt, in ExpandValue()
520 if (nNewFormat == nFmt) in ExpandValue()
525 pFormatter->PutandConvertEntry(sFmt, nDummy, nType, nFmt, in ExpandValue()
529 nFmt = nNewFormat; in ExpandValue()
534 if( pFormatter->IsTextFormat( nFmt ) ) in ExpandValue()
538 pFormatter->GetOutputString(sValue, nFmt, sExpand, &pCol); in ExpandValue()
541 pFormatter->GetOutputString(rVal, nFmt, sExpand, &pCol); in ExpandValue()
551 sal_uInt32 nFmt) const in DoubleToString()
554 const SvNumberformat* pEntry = pFormatter->GetEntry(nFmt); in DoubleToString()
582 SwValueField::SwValueField( SwValueFieldType* pFldType, sal_uInt32 nFmt, in SwValueField() argument
584 : SwField(pFldType, nFmt, nLng), in SwValueField()
625 sal_uInt32 SwValueField::GetSystemFormat(SvNumberFormatter* pFormatter, sal_uInt32 nFmt) in GetSystemFormat() argument
627 const SvNumberformat* pEntry = pFormatter->GetEntry(nFmt); in GetSystemFormat()
632 sal_uInt32 nNewFormat = pFormatter->GetFormatForLanguageIfBuiltIn(nFmt, in GetSystemFormat()
635 if (nNewFormat == nFmt) in GetSystemFormat()
643 sal_uInt32 nFormat = nFmt; in GetSystemFormat()
646 nFmt = nFormat; in GetSystemFormat()
649 nFmt = nNewFormat; in GetSystemFormat()
652 return nFmt; in GetSystemFormat()
719 SwFormulaField::SwFormulaField( SwValueFieldType* pFldType, sal_uInt32 nFmt, const double fVal) in SwFormulaField() argument
720 : SwValueField(pFldType, nFmt, LANGUAGE_SYSTEM, fVal) in SwFormulaField()
747 sal_uLong nFmt(GetFormat()); in SetFormula() local
749 if( nFmt && SAL_MAX_UINT32 != nFmt ) in SetFormula()
764 sal_uInt32 nFmt(GetFormat()); in SetExpandedFormula() local
766 if (nFmt && nFmt != SAL_MAX_UINT32 && ((SwValueFieldType *)GetTyp())->UseFormat()) in SetExpandedFormula()
772 if (pFormatter->IsNumberFormat(rStr, nFmt, fTmpValue)) in SetExpandedFormula()
777 ((SwValueFieldType *)GetTyp())->DoubleToString(sFormula, fTmpValue, nFmt); in SetExpandedFormula()
790 sal_uInt32 nFmt(GetFormat()); in GetExpandedFormula() local
792 if (nFmt && nFmt != SAL_MAX_UINT32 && ((SwValueFieldType *)GetTyp())->UseFormat()) in GetExpandedFormula()
799 if (pFormatter->IsTextFormat(nFmt)) in GetExpandedFormula()
802 ((SwValueFieldType *)GetTyp())->DoubleToString(sValue, GetValue(), nFmt); in GetExpandedFormula()
803 pFormatter->GetOutputString(sValue, nFmt, sFormattedValue, &pCol); in GetExpandedFormula()
806 pFormatter->GetOutputString(GetValue(), nFmt, sFormattedValue, &pCol); in GetExpandedFormula()