Lines Matching refs:nKey

365 		sal_uInt32 nKey;  in ImpChangeSysCL()  local
367 while ( (nKey = aFTable.GetCurKey()) > SV_MAX_ANZ_STANDARD_FORMATE && in ImpChangeSysCL()
368 nKey < SV_COUNTRY_LANGUAGE_OFFSET ) in ImpChangeSysCL()
370 SvNumberformat* pEntry = (SvNumberformat*) aFTable.Remove( nKey ); in ImpChangeSysCL()
385 sal_uInt32 nKey; in ReplaceSystemCL() local
389 while ( (nKey = aFTable.GetCurKey()) >= nCLOffset && nKey <= nMaxBuiltin && aFTable.Count() ) in ReplaceSystemCL()
391 SvNumberformat* pEntry = (SvNumberformat*) aFTable.Remove( nKey ); in ReplaceSystemCL()
397 while ( (nKey = aFTable.GetCurKey()) >= nCLOffset && nKey < nNextCL && aFTable.Count() ) in ReplaceSystemCL()
399 SvNumberformat* pEntry = (SvNumberformat*) aFTable.Remove( nKey ); in ReplaceSystemCL()
400 aOldTable.Insert( nKey, pEntry ); in ReplaceSystemCL()
416 nKey = aOldTable.GetCurKey(); in ReplaceSystemCL()
417 if ( nLastKey < nKey ) in ReplaceSystemCL()
418 nLastKey = nKey; in ReplaceSystemCL()
419 SvNumberformat* pOldEntry = (SvNumberformat*) aOldTable.Remove( nKey ); in ReplaceSystemCL()
440 if ( !aFTable.Insert( nKey, pNewEntry ) ) in ReplaceSystemCL()
479 sal_uInt32& nKey, // Formatnummer in PutEntry() argument
482 nKey = 0; in PutEntry()
514 nKey = ImpIsEntry(p_Entry->GetFormatstring(),CLOffset, eLge); in PutEntry()
515 if (nKey != NUMBERFORMAT_ENTRY_NOT_FOUND) // schon vorhanden in PutEntry()
532 nKey = nPos+1; in PutEntry()
533 pStdFormat->SetLastInsertKey((sal_uInt16) (nKey-CLOffset)); in PutEntry()
545 sal_uInt32& nKey, in PutandConvertEntry() argument
554 bRes = PutEntry(rString, nCheckPos, nType, nKey, eLnge); in PutandConvertEntry()
563 sal_uInt32& nKey, in PutandConvertEntrySystem() argument
572 bRes = PutEntry(rString, nCheckPos, nType, nKey, eLnge); in PutandConvertEntrySystem()
582 sal_uInt32 nKey = NUMBERFORMAT_ENTRY_NOT_FOUND; in GetIndexPuttingAndConverting() local
593 nKey = nOrig; // none avaliable, maybe user-defined in GetIndexPuttingAndConverting()
595 nKey = GetFormatForLanguageIfBuiltIn( nOrig, SvtSysLocale().GetLanguage() ); in GetIndexPuttingAndConverting()
597 if (nKey == nOrig) in GetIndexPuttingAndConverting()
604 nKey, eLnge, SvtSysLocale().GetLanguage()); in GetIndexPuttingAndConverting()
608 nKey = NUMBERFORMAT_ENTRY_NOT_FOUND; in GetIndexPuttingAndConverting()
614 nKey = GetEntryKey( rString, eLnge); in GetIndexPuttingAndConverting()
615 if (nKey == NUMBERFORMAT_ENTRY_NOT_FOUND) in GetIndexPuttingAndConverting()
617 rNewInserted = PutEntry( rString, rCheckPos, rType, nKey, eLnge); in GetIndexPuttingAndConverting()
621 nKey = NUMBERFORMAT_ENTRY_NOT_FOUND; in GetIndexPuttingAndConverting()
625 if (nKey == NUMBERFORMAT_ENTRY_NOT_FOUND) in GetIndexPuttingAndConverting()
626 nKey = GetStandardIndex( eLnge); in GetIndexPuttingAndConverting()
627 rType = GetType( nKey); in GetIndexPuttingAndConverting()
632 const SvNumberformat* pFormat = GetEntry( nKey); in GetIndexPuttingAndConverting()
637 DeleteEntry( nKey); // don't leave trails of rubbish in GetIndexPuttingAndConverting()
640 nKey = GetStandardFormat( NUMBERFORMAT_CURRENCY, eLnge); in GetIndexPuttingAndConverting()
643 return nKey; in GetIndexPuttingAndConverting()
647 void SvNumberFormatter::DeleteEntry(sal_uInt32 nKey) in DeleteEntry() argument
649 SvNumberformat* pEntry = aFTable.Remove(nKey); in DeleteEntry()
1339 sal_uInt32 nKey; in ImpGetDefaultFormat() local
1341 while ( (nKey = aFTable.GetCurKey()) >= CLOffset && nKey < nStopKey ) in ImpGetDefaultFormat()
1348 nDefaultFormat = nKey; in ImpGetDefaultFormat()
1497 sal_uInt32 nKey = nFIndex; in GetInputLineString() local
1501 nKey = GetFormatIndex( NF_DATE_SYS_DDMMYYYY, eLang ); in GetInputLineString()
1504 nKey = GetFormatIndex( NF_DATETIME_SYS_DDMMYYYY_HHMMSS, eLang ); in GetInputLineString()
1507 nKey = GetStandardFormat( fOutNumber, nFIndex, eType, eLang ); in GetInputLineString()
1509 if ( nKey != nFIndex ) in GetInputLineString()
1510 pFormat = (SvNumberformat*) aFTable.Get( nKey ); in GetInputLineString()
1571 sal_uInt32 nKey; in GetPreviewString() local
1586 nKey = ImpIsEntry(p_Entry->GetFormatstring(),CLOffset, eLnge); in GetPreviewString()
1587 if (nKey != NUMBERFORMAT_ENTRY_NOT_FOUND) // schon vorhanden in GetPreviewString()
1588 GetOutputString(fPreviewNumber,nKey,sOutString,ppColor); in GetPreviewString()
1619 sal_uInt32 nKey = ImpIsEntry( aFormatStringUpper, nCLOffset, eLnge ); in GetPreviewStringGuess() local
1620 if ( nKey != NUMBERFORMAT_ENTRY_NOT_FOUND ) in GetPreviewStringGuess()
1622 GetOutputString( fPreviewNumber, nKey, sOutString, ppColor ); in GetPreviewStringGuess()
1639 nKey = ImpIsEntry( aFormatStringUpper, nCLOffset, LANGUAGE_ENGLISH_US ); in GetPreviewStringGuess()
1640 sal_Bool bEnglishFormat = (nKey != NUMBERFORMAT_ENTRY_NOT_FOUND); in GetPreviewStringGuess()
1706 sal_uInt32 nKey; in GetPreviewString() local
1722 nKey = ImpIsEntry( p_Entry->GetFormatstring(), CLOffset, eLnge); in GetPreviewString()
1723 if (nKey != NUMBERFORMAT_ENTRY_NOT_FOUND) // already present in GetPreviewString()
1724 GetOutputString( aNonConstPreview, nKey, sOutString, ppColor); in GetPreviewString()
1829 sal_uInt32 nKey = ImpIsEntry( aCodeStr, nCLOffset, ActLnge ); in ImpInsertFormat() local
1830 if ( nKey != NUMBERFORMAT_ENTRY_NOT_FOUND ) in ImpInsertFormat()
2832 sal_uInt32 nKey = ImpIsEntry(sStr, CLOffset, eLnge); in IsUserDefined() local
2833 if (nKey == NUMBERFORMAT_ENTRY_NOT_FOUND) in IsUserDefined()
2835 SvNumberformat* pEntry = aFTable.Get(nKey); in IsUserDefined()
3215 sal_uInt32 nKey; in ImpGetDefaultCurrencyFormat() local
3217 while ( (nKey = aFTable.GetCurKey()) >= CLOffset && nKey < nStopKey ) in ImpGetDefaultCurrencyFormat()
3223 nDefaultCurrencyFormat = nKey; in ImpGetDefaultCurrencyFormat()