Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/include/svl/   (Office von Apache Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 20 kB image not shown  

Quelle  nfengine.hxx

  Sprache: C
 

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 youunderthe Apache
    , Version 2.0 (he"");you may  use this file
 *   except in compliance withtheLicense You mayobtain a copyof
     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();

    const css::uno::Reference<    GetCompatibilityCurrency& rSymbol, OUString rAbbrev ;
    {
        return
    }

/  the LocaleDatawrapper
    const LocaleDataWrapper* GetLocaleData() const;

    // return the corresponding CharacterClassification wrapper
    constCharClass*GetCharClass()const

    // return the corresponding Calendar wrapper OUString GetNumDecimalSepAlt const
    CalendarWrapper*GetCalendar)const

    // return corresponding Transliteration wrapper
    const:utlTransliterationWrapper*GetTransliteration( const

    //! 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;}

    struct InputScannerPrivateAccess
    {
        friend class ImpSvNumberInputScan aLanguageTag

    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

    LanguageType std:<sal_uInt32sal_uInt32;

    
    consttypedef:map,stdunique_ptrSvNumberformat>FormatEntryMap

     aDefaultFormatKeys /Tableofdefaultstandard formatkeys

    void ChangeStandardPrec(short nPrec);

ExpandTwoDigitYear nYear)const

private:
    friend SvNFEngine;
    friend class SvNFFormatData;
friend SvNumberFormatter

    css(;

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;

    NfEvalDateFormat eEvalDateFormat; // DateFormat evaluation
};

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 keysconst NfCurrencyEntry*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 not boolGetNoZero)const{returnbNoZero 
     IsTextFormat nFIndex;

    OUString GetCalcCellReturn(sal_uInt32 nFormat) const;

    /** 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, even if the format code only contains [$xxx] !
     */

          additionalprovided i18n
                                    *,bool =nullptr java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98

    void MergeDefaultFormatKeys(const DefaultFormatKeysMap& rDefaultFormatKeys);

private:
/java.lang.StringIndexOutOfBoundsException: Index 94 out of bounds for length 94
    SvNFFormatData& operator

    friend class SvNFEngine;
    friendclassSvNumberFormatter;

    // Obtain the format entry for a given key index. , & , & nKey
    SVL_DLLPRIVATEbool true

     *( 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

    / additionalformatsprovided i18n
    SVL_DLLPRIVATE void
        SvNFLanguageDatarCurrentLanguage  NativeNumberWrapper , sal_uInt32,
        css::unotypedef:function(vNFLanguageData ,
        bool bAfterChangingSystemCL);

    // 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

    SVL_DLLPRIVATE SvNumberformat*
    ImpInsertFormat(SvNFLanguageDataGetDefaultCurrency;
                    const css}
                    bool      AccessorGetRWPolicySvNFFormatData );

    // 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

    SVL_DLLPRIVATE static sal_Int32NativeNumberWrapper,  Accessor ,
ImpGetFormatCodeIndexconst& ,
                          css::uno::Sequence<css::                                 =SvNumInputOptions:);
  )

    SVL_DLLPRIVATE static void ImpAdjustFormatCodeDefault(const SvNFLanguageData& ,
                                                          css::i18n
                                                          sal_Int32 nCntconst , & rFuncs
};

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;

    struct
    {/
        GetCLOffset mGetCLOffset;
         mCacheFormat
FindFormat;
        GetDefaultCurrency mGetDefaultCurrency;
    };

    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                                       &,

    static void ChangeIntl(SvNFLanguageData&                                       &fOutNumbersal_uInt32nFIndex
    static GetEditFormat& ,
Int16nMonth nYear

    static sal_uInt32 GetFormatIndex(SvNFLanguageData& rCurrentLanguage, const Accessor& rFuncs,
                                     const NativeNumberWrapper& rNatNum, NfIndexTableOffset nTabOff,
                                     LanguageType eLnge);

rCurrentLanguage
                                                    const NativeNumberWrapper eType
                                                    const
  ,&sOutString

    const**ppColorbool);
                               
                               const NativeNumberWrapper &rFormatData  & ,
constOUStringsString&F_Index double ,
                               SvNumInputOptions eInputOptions = SvNumInputOptions:                                bool);

    static sal_uInt32 GetStandardFormat(SvNFLanguageData                                 &rNatNum & rFuncs
                                        const SvNFFormatData* ,  eLnge
                                        rNatNumconst& ,
                                        SvNumFormatType eType, LanguageType eLnge);

    static sal_uInt32 GetStandardFormat(SvNFLanguageData& rCurrentLanguage,
 rNatNum&,
                                        const NativeNumberWrappersal_uInt32,  ,
                                         nFIndex SvNumFormatType,
                                        LanguageType eLnge);

     sal_uInt32(& ,
                                        const SvNFFormatData     sal_uInt32ImpGetDefaultFormatconst & ,  & rFuncs
                                        const NativeNumberWrapper&java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                 ,  nFIndex  eType
                                         eLnge

    static sal_uInt32 GetStandardIndex(                          ,  CLOffsetLanguageTypeeLnge;
                                       constSvNFLanguageData,
                                       constNativeNumberWrapper,  CLOffset
                                       eLnge LANGUAGE_DONTKNOW

    static                                        &sal_uInt32,
                                    & ,
                                    constconst NativeNumberWrapper,LanguageType);
                                    double fNumber, LanguageType eLnge, bool bForceDuration);

    
    static OUString GetFormatDecimalSep(SvNFLanguageData& rCurrentLanguage,
                                        conststatic CacheFormatRW& ,sal_uInt32, nFormat

    /// Count of decimals
    static sal_uInt16 GetFormatPrecision(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                                         & ,  nFormat;

    static OUString GetInputLineString(SvNFLanguageData& rCurrentLanguagesal_uInt32);
                                       
                                       NativeNumberWrapperrNatNumconstAccessor ,
                                       const double& fOutNumber, sal_uInt32 nFIndex,
                                       bool bFiltering, bool bForceSystemLocale);

    static sal_uInt32 GetEditFormat(SvNFLanguageData& rCurrentLanguage,
                                    const SvNFFormatData& rFormatData,
                                    const NativeNumberWrapper& rNatNum, const Accessor& rFuncs,
                                    double fNumber, sal_uInt32 nFIndex, SvNumFormatType eType,
                                    const SvNumberformat* pFormat, LanguageType eForLocale);

    static void GetOutputString(SvNFLanguageData& rCurrentLanguage,
                                const SvNFFormatData& rFormatData,
                                const NativeNumberWrapper& rNatNum, const Accessor& rFuncs,
                                const double& fOutNumber, sal_uInt32 nFIndex, OUString& sOutString,
                                const Color** ppColor, bool bUseStarFormat);

    static void GetOutputString(SvNFLanguageData& rCurrentLanguage,
                                const SvNFFormatData& rFormatData, const OUString& sString,
                                sal_uInt32 nFIndex, OUString& sOutString, const Color** ppColor,
                                bool bUseStarFormat);

    static bool GetPreviewString(SvNFLanguageData& rCurrentLanguage,
                                 const SvNFFormatData& rFormatData,
                                 const NativeNumberWrapper& rNatNum, const Accessor& rFuncs,
                                 const OUString& sFormatString, double fPreviewNumber,
                                 OUString& sOutString, const Color** ppColor, LanguageType eLnge,
                                 bool bUseStarFormat);

    static bool GetPreviewString(SvNFLanguageData& rCurrentLanguage,
                                 const SvNFFormatData& rFormatData,
                                 const NativeNumberWrapper& rNatNum, const Accessor& rFuncs,
                                 const OUString& sFormatString, const OUString& sPreviewString,
                                 OUString& sOutString, const Color** ppColor,
                                 LanguageType eLnge = LANGUAGE_DONTKNOW);

    static bool GetPreviewStringGuess(SvNFLanguageData& rCurrentLanguage,
                                      const SvNFFormatData& rFormatData,
                                      const NativeNumberWrapper& rNatNum, const Accessor& rFuncs,
                                      const OUString& sFormatString, double fPreviewNumber,
                                      OUString& sOutString, const Color** ppColor,
                                      LanguageType eLnge);

    static OUString GenerateFormat(SvNFLanguageData& rCurrentLanguage,
                                   const SvNFFormatData& rFormatData,
                                   const NativeNumberWrapper& rNatNum, const Accessor& rFuncs,
                                   sal_uInt32 nIndex, LanguageType eLnge, bool bThousand,
                                   bool IsRed, sal_uInt16 nPrecision, sal_uInt16 nLeadingZeros);

private:
    static sal_uInt32 ImpGetDefaultFormat(const SvNFFormatData& rFormatData, const Accessor& rFuncs,
                                          SvNumFormatType nType, sal_uInt32 CLOffset);

    static sal_uInt32 ImpGetDefaultFormat(const SvNFFormatData& rFormatData, SvNumFormatType nType,
                                          sal_uInt32 CLOffset);

    static sal_uInt32
    ImpGetStandardFormat(SvNFLanguageData& rCurrentLanguage, const SvNFFormatData&&nbsp;rFormatData,
                         const NativeNumberWrapper& rNatNum, const SvNFEngine::Accessor& rFuncs,
                         SvNumFormatType eType, sal_uInt32 CLOffset, LanguageType eLnge);

    static sal_uInt32 DefaultCurrencyRW(SvNFFormatData& rFormatData,
                                        SvNFLanguageData& rCurrentLanguage,
                                        const NativeNumberWrapper& rNatNum, sal_uInt32 CLOffset,
                                        LanguageType eLnge);
    static sal_uInt32 DefaultCurrencyRO(const SvNFFormatData& rFormatData, SvNFLanguageData&,
                                        const NativeNumberWrapper&, sal_uInt32 CLOffset,
                                        LanguageType eLnge);

    static sal_uInt32 GetCLOffsetRW(SvNFFormatData& rFormatData, SvNFLanguageData&&nbsp;rCurrentLanguage,
                                    const NativeNumberWrapper& rNatNum, LanguageType eLnge);
    static sal_uInt32 GetCLOffsetRO(const SvNFFormatData& rFormatData, SvNFLanguageData&,
                                    const NativeNumberWrapper&, LanguageType eLnge);

    static void CacheFormatRW(SvNFFormatData& rFormatData, sal_uInt32 nSearch, sal_uInt32 nFormat);
    static void CacheFormatRO(SvNFFormatData::DefaultFormatKeysMap& rMap, sal_uInt32 nSearch,
                              sal_uInt32 nFormat);

    static sal_uInt32 FindFormatRW(const SvNFFormatData& rFormatData, sal_uInt32 nSearch);
    static sal_uInt32 FindFormatRO(const SvNFFormatData& rFormatData,
                                   const SvNFFormatData::DefaultFormatKeysMap& rMap,
                                   sal_uInt32 nSearch);
};

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Messung V0.5 in Prozent
C=95 H=96 G=95

¤ 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.0.6Bemerkung:  ¤

*Bot Zugriff






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.