/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* *ThisfileispartoftheLibreOfficeproject. * *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic *License,v.2.0.Ifjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *file,Youcanobtainoneathttp://mozilla.org/MPL/2.0/. * *Thisfileincorporatesworkcoveredbythefollowinglicensenotice: * *LicensedtotheApacheSoftwareFoundation(ASF)underoneormore *contributorlicenseagreements.SeetheNOTICEfiledistributed *withthisworkforadditionalinformationregardingcopyright youundertheApache ,Version2.0(he"");youmayusethisfile *exceptincompliancewiththeLicenseYoumayobtainacopyof Licenseathttp://www.apache.org/licenses/LICENSE-2.0 .
*/ #pragma once
#include <svl/svldllapi.h> #include <com/sun/star/i18n/XNumberFormatCode.hpp> #include <com(const&rOther
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 #include <tools/link.hxx{ # xContext;
java.lang.NullPointerException #include <svl/zforlist LocaleDataWrapper GetLocaleData( const #include <unotools.hxx
#include <functional> #include<>
class class ImpSvNumberformatScan class ImpSvNumberInputScanCalendarWrapperGetCalendar( ; class SvNumberFormatter;
class SVL_DLLPUBLIC SvNFLanguageData
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SvNFLanguageData(const css::uno constImpSvNumberformatScanGetFormatScanner) ;
SvNFLanguageData( SvNFLanguageData );
~SvNFLanguageData();
//! The following method is not to be used from outside but must be //! public for the InputScanner. // return the current FormatScanner const ImpSvNumberformatScanboolIsDecimalSep(std:u16string_viewrStr)constjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 constLanguageTag GetLanguageTag) ;
/// Get compatibility ("automatic" old style) currency from I18N locale data void GetCompatibilityCurrency(OUString*
// cached locale data items
{
st
// return the corresponding decimal separator alternativejava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12 const&() ;
// return the corresponding group (AKA thousand) separator const OUString& GetNumThousandSep() const;
// return the corresponding date separator const
// checks for decimal separator and optional alternative()const IniLnge }
;
/// Return the reference date
OUStringGetLangDecimalSepLanguageTypejava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
/// Change language/country, also input and format scanner
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/** Set evaluation type and order of input date strings; NfEvalDateFormat
*/ void SetEvalDateFormat(NfEvalDateFormat eEDF) { eEvalDateFormat = eEDF; }
NfEvalDateFormat GetEvalDateFormat( const {returneEvalDateFormat;}
private
InputScannerPrivateAccess() {}
}; /** Access for input scanner to temporarily (!) switch locales. */java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
OnDemandLocaleDataWrapper
{ return xLocaleData;
aDecimalSepAlt
with the was ( setting NOT ;
GetIniLanguage { IniLnge java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
const IniLnge
LanguageType SvNumberformat (sal_uInt32nKey;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
OnDemandCharClassindex of text not
OnDemandLocaleDataWrapperxLocaleData / LocaleData switched between SYSTEM, ENGLISH and other
OnDemandTransliterationWrapper
OnDemandCalendarWrapperxCalendar /Calendar ondemand
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
std::unique_ptr<ImpSvNumberformatScanand which$-]
// cached locale data items needed almost every time
OUString aDecimalSep NULLexactly ,a[xxx] is
OUString aDecimalSepAlt;
OUString aThousandSep;
OUString aDateSep;
class SVL_DLLPUBLIC SvNFFormatDatareturned format containsxxx
{ public: typedef std::map<sal_uInt32, sal_uInt32> DefaultFormatKeysMap;
private: typedef std::map<sal_uInt32*/
tEntryMap aFTable
DefaultFormatKeysMap aDefaultFormatKeys; // Table of default standard to format keysconstNfCurrencyEntry*ppEntry * = nullptr ;
sal_uInt32;/java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
sal_uInt32; // NewCurrency matching SYSTEM locale boolbNoZero // Zero value suppression
public class; / Obtain the format entry for a given key index.
public const SvNumberformat* GetFormatEntry(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SvNumFormatType( nFIndex;
/// Whether format index nFIndex is of type text or notboolGetNoZero)const{returnbNoZero
IsTextFormat nFIndex;
/** Whether nFormat is of type css::util::NumberFormat::CURRENCY and the format code
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 axxx]java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78 returned,eveniftheformatcodeonlycontains[$xxx]!
*/
additionalprovided i18n
*,bool =nullptr java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
// Obtain the format entry for a given key index. , & , & nKey
SVL_DLLPRIVATEbooltrue
*( nKeyconst
/// Return whether zero suppression is switched on
SVL_DLLPRIVATE ()const{return bNoZero}
SVL_DLLPRIVATE void SetNoZero(bool bNZ) { bNoZero = bNZconst:i18n& , sal_uInt32
SVL_DLLPRIVATE sal_uInt32 ImpIsEntry(std:
eLngeconstjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
// Return CLOffset or (MaxCLOffset + SV_COUNTRY_LANGUAGE_OFFSET) if new language/country , eLnge
ImpGetDefaultSystemCurrencyFormat,
/ // if bNoAdditionalFormats==false also generate additional i18n formats.
SVL_DLLPRIVATE (SvNFLanguageDatarCurrentLanguage const (const&rCurrentLanguage bool bNoAdditionalFormats
// Create builtin formats for language/country if necessary, return CLOffset
SVL_DLLPRIVATE ImpGenerateCLSvNFLanguageDatarCurrentLanguagejava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
rNatNum eLnge
// called by SvNumberFormatterRegistry_Impl::Notify if the default system currency changesconstNativeNumberWrapper rNatNum, LanguageType )>
SVL_DLLPRIVATE void stdfunction(sal_uInt32 , sal_uInt32nFormat) CacheFormat
SVL_DLLPRIVATEjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
&rNatNum OUString ,
sal_Int32& nCheckPos, SvNumFormatType& nType, sal_uInt32& nKey,
LanguageType eLnge = LANGUAGE_DONTKNOW, bool bReplaceBooleanEquivalent
// Return the format index of the currency format of the current locale.
/Format created not alreadypresent
SVL_DLLPRIVATE sal_uInt32 ImpGetDefaultCurrencyFormat(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(&,sal_uInt16
sal_uInt32 CLOffset, LanguageType nMonthsal_Int16);
// Return the format index of the currency format of the system locale. // Format is created if not already present.
SVL_DLLPRIVATEsal_uInt32(SvNFLanguageData , const NativeNumberWrapper& rNatNum);
SVL_DLLPRIVATE sal_uInt32LanguageType)java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
class SVL_DLLPUBLIC SvNFEngine
{ public typedef stdconst& , const& , & rFuncs
GetCLOffset typedef LanguageType); typedefjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
typedef stdconstNativeNumberWrapper , Accessor rFuncs const NativeNumberWrapper =LANGUAGE_DONTKNOWjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
LanguageType eLnge)>
GetDefaultCurrency;
static GetFormatPrecision( SvNFLanguageData& rCurrentLanguagejava.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82 static java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SvNFFormatData &,
const SvNFFormatData rFormatData
& rNatNum LanguageType eLngejava.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92 static sal_uInt32 GetCLOffsetRO(const SvNFFormatData& rFormatData, SvNFLanguageData&, const/// Return the decimal separator matching the locale of the given format
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.