Lines Matching refs:pFormat
460 SvNumberformat* pFormat = (SvNumberformat*) aFTable.Get(F_Index); in IsTextFormat() local
461 if (!pFormat) in IsTextFormat()
464 return pFormat->IsTextFormat(); in IsTextFormat()
469 SvNumberformat* pFormat = (SvNumberformat*) aFTable.Get(F_Index); in HasTextFormat() local
470 if (!pFormat) in HasTextFormat()
473 return pFormat->HasTextFormat(); in HasTextFormat()
632 const SvNumberformat* pFormat = GetEntry( nKey); in GetIndexPuttingAndConverting() local
633 if (!pFormat->HasNewCurrency()) in GetIndexPuttingAndConverting()
655 SvNumberformat* pFormat = aFTable.First(); in PrepareSave() local
656 while (pFormat) in PrepareSave()
658 pFormat->SetUsed(sal_False); in PrepareSave()
659 pFormat = aFTable.Next(); in PrepareSave()
665 SvNumberformat* pFormat = (SvNumberformat*) aFTable.Get(nFIndex); in SetFormatUsed() local
666 if (pFormat) in SetFormatUsed()
667 pFormat->SetUsed(sal_True); in SetFormatUsed()
926 SvNumberformat* pFormat = (SvNumberformat*) aFTable.Get(nOffset); in GetUsedLanguages() local
927 if (pFormat) in GetUsedLanguages()
928 rList.Insert( pFormat->GetLanguage(), rList.Count() ); in GetUsedLanguages()
967 SvNumberformat* pFormat; in ImpGetCLOffset() local
971 pFormat = (SvNumberformat*) aFTable.Get(nOffset); in ImpGetCLOffset()
972 if (pFormat && pFormat->GetLanguage() == eLnge) in ImpGetCLOffset()
1034 SvNumberformat* pFormat = (SvNumberformat*) aFTable.Get(FIndex); in GetFirstEntryTable() local
1035 if (!pFormat) in GetFirstEntryTable()
1044 rLnge = pFormat->GetLanguage(); in GetFirstEntryTable()
1045 eType = pFormat->GetType()&~NUMBERFORMAT_DEFINED; in GetFirstEntryTable()
1191 const SvNumberformat* pFormat = (SvNumberformat*) aFTable.Get(F_Index); in IsNumberFormat() local
1192 if (!pFormat) in IsNumberFormat()
1200 FType = pFormat->GetType() &~NUMBERFORMAT_DEFINED; in IsNumberFormat()
1203 ChangeIntl(pFormat->GetLanguage()); in IsNumberFormat()
1212 res = pStringScanner->IsNumberFormat(sString, RType, fOutNumber, pFormat); in IsNumberFormat()
1475 SvNumberformat* pFormat; in GetInputLineString() local
1477 pFormat = (SvNumberformat*) aFTable.Get(nFIndex); in GetInputLineString()
1478 if (!pFormat) in GetInputLineString()
1479 pFormat = aFTable.Get(ZF_STANDARD); in GetInputLineString()
1480 LanguageType eLang = pFormat->GetLanguage(); in GetInputLineString()
1482 short eType = pFormat->GetType() & ~NUMBERFORMAT_DEFINED; in GetInputLineString()
1510 pFormat = (SvNumberformat*) aFTable.Get( nKey ); in GetInputLineString()
1511 if (pFormat) in GetInputLineString()
1513 if ( eType == NUMBERFORMAT_TIME && pFormat->GetFormatPrecision() ) in GetInputLineString()
1518 pFormat->GetOutputString(fOutNumber, sOutString, &pColor); in GetInputLineString()
1534 SvNumberformat* pFormat = (SvNumberformat*) aFTable.Get(nFIndex); in GetOutputString() local
1535 if (!pFormat) in GetOutputString()
1536 pFormat = aFTable.Get(ZF_STANDARD); in GetOutputString()
1537 ChangeIntl(pFormat->GetLanguage()); in GetOutputString()
1538 pFormat->GetOutputString(fOutNumber, sOutString, ppColor); in GetOutputString()
1546 SvNumberformat* pFormat = (SvNumberformat*) aFTable.Get(nFIndex); in GetOutputString() local
1547 if (!pFormat) in GetOutputString()
1548 pFormat = aFTable.Get(ZF_STANDARD_TEXT); in GetOutputString()
1549 if (!pFormat->IsTextFormat() && !pFormat->HasTextFormat()) in GetOutputString()
1556 ChangeIntl(pFormat->GetLanguage()); in GetOutputString()
1557 pFormat->GetOutputString(sString, sOutString, ppColor); in GetOutputString()
1806 SvNumberformat* pFormat = new SvNumberformat(aCodeStr, in ImpInsertFormat() local
1811 if ( !pFormat || nCheckPos > 0 ) in ImpInsertFormat()
1823 delete pFormat; in ImpInsertFormat()
1857 delete pFormat; in ImpInsertFormat()
1872 delete pFormat; in ImpInsertFormat()
1876 if ( !aFTable.Insert( nPos, pFormat ) ) in ImpInsertFormat()
1890 delete pFormat; in ImpInsertFormat()
1894 pFormat->SetStandard(); in ImpInsertFormat()
1896 pFormat->SetComment( rCode.DefaultName ); in ImpInsertFormat()
1897 return pFormat; in ImpInsertFormat()
1920 const SvNumberformat* pFormat = aFTable.Get(nFormat); in GetFormatSpecialInfo() local
1921 if (pFormat) in GetFormatSpecialInfo()
1922 pFormat->GetFormatSpecialInfo(bThousand, IsRed, in GetFormatSpecialInfo()
1935 const SvNumberformat* pFormat = aFTable.Get( nFormat ); in GetFormatPrecision() local
1936 if ( pFormat ) in GetFormatPrecision()
1937 return pFormat->GetFormatPrecision(); in GetFormatPrecision()
1945 const SvNumberformat* pFormat = aFTable.Get( nFormat ); in GetFormatDecimalSep() local
1946 if ( !pFormat || pFormat->GetLanguage() == ActLnge ) in GetFormatDecimalSep()
1951 if ( pFormat->GetLanguage() == eSaveLang ) in GetFormatDecimalSep()
1956 …::com::sun::star::lang::Locale aTmpLocale(MsLangId::convertLanguageToLocale(pFormat->GetLanguage()… in GetFormatDecimalSep()
1957 ((SvNumberFormatter*)this)->xLocaleData.changeLocale(aTmpLocale, pFormat->GetLanguage() ); in GetFormatDecimalSep()
1976 SvNumberformat* pFormat = new SvNumberformat( aTmpStr, in GetFormatSpecialInfo() local
1979 pFormat->GetFormatSpecialInfo( bThousand, IsRed, nPrecision, nAnzLeading ); in GetFormatSpecialInfo()
1987 delete pFormat; in GetFormatSpecialInfo()
2861 SvNumberformat* pFormat = (SvNumberformat*) aFTable.Get(nFIndex); in GetType() local
2862 if (!pFormat) in GetType()
2866 eType = pFormat->GetType() &~NUMBERFORMAT_DEFINED; in GetType()
2897 SvNumberformat* pFormat = rTable.aFTable.First(); in MergeFormatter() local
2898 while (pFormat) in MergeFormatter()
2903 nCLOffset = ImpGenerateCL(pFormat->GetLanguage()); in MergeFormatter()
2911 pNewEntry = new SvNumberformat( *pFormat, *pFormatScanner ); in MergeFormatter()
2925 pNewEntry = new SvNumberformat( *pFormat, *pFormatScanner ); in MergeFormatter()
2928 pFormat->GetLanguage()); in MergeFormatter()
2955 pFormat = rTable.aFTable.Next(); in MergeFormatter()
3320 SvNumberformat* pFormat = (SvNumberformat*) aFTable.Get( nFormat ); in GetNewCurrencySymbolString() local
3321 if ( pFormat ) in GetNewCurrencySymbolString()
3324 if ( pFormat->GetNewCurrencySymbol( aSymbol, aExtension ) ) in GetNewCurrencySymbolString()
3331 bFoundBank, aSymbol, aExtension, pFormat->GetLanguage(), in GetNewCurrencySymbolString()