LibreOffice Module xmloff (master) 1
Classes | Typedefs | Functions
xmlnumfe.cxx File Reference
#include <comphelper/sequence.hxx>
#include <comphelper/string.hxx>
#include <svl/numformat.hxx>
#include <svl/zforlist.hxx>
#include <svl/zformat.hxx>
#include <svl/numuno.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <tools/debug.hxx>
#include <rtl/math.hxx>
#include <unotools/calendarwrapper.hxx>
#include <unotools/charclass.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <tools/color.hxx>
#include <sax/tools/converter.hxx>
#include <com/sun/star/i18n/NativeNumberXmlAttributes2.hpp>
#include <utility>
#include <xmloff/xmlnumfe.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmlnumfi.hxx>
#include <svl/nfsymbol.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlexp.hxx>
#include <o3tl/string_view.hxx>
#include <float.h>
#include <set>
#include <string_view>
#include <vector>
Include dependency graph for xmlnumfe.cxx:

Go to the source code of this file.

Classes

class  SvXMLEmbeddedTextEntryArr
 
class  SvXMLNumUsedList_Impl
 

Typedefs

typedef std::set< sal_uInt32 > SvXMLuInt32Set
 

Functions

static OUString lcl_CreateStyleName (sal_Int32 nKey, sal_Int32 nPart, bool bDefPart, std::u16string_view rPrefix)
 
static sal_Int32 lcl_FindSymbol (const OUString &sUpperStr, std::u16string_view sCurString)
 
static OUString lcl_GetDefaultCalendar (SvNumberFormatter const *pFormatter, LanguageType nLang)
 
static bool lcl_IsInEmbedded (const SvXMLEmbeddedTextEntryArr &rEmbeddedEntries, sal_uInt16 nPos)
 
static bool lcl_IsDefaultDateFormat (const SvNumberformat &rFormat, bool bSystemDate, NfIndexTableOffset eBuiltIn)
 
static const SvNumberformatlcl_GetFormat (SvNumberFormatter const *pFormatter, sal_uInt32 nKey)
 

Typedef Documentation

◆ SvXMLuInt32Set

typedef std::set< sal_uInt32 > SvXMLuInt32Set

Definition at line 60 of file xmlnumfe.cxx.

Function Documentation

◆ lcl_CreateStyleName()

static OUString lcl_CreateStyleName ( sal_Int32  nKey,
sal_Int32  nPart,
bool  bDefPart,
std::u16string_view  rPrefix 
)
static

◆ lcl_FindSymbol()

static sal_Int32 lcl_FindSymbol ( const OUString &  sUpperStr,
std::u16string_view  sCurString 
)
static

◆ lcl_GetDefaultCalendar()

static OUString lcl_GetDefaultCalendar ( SvNumberFormatter const *  pFormatter,
LanguageType  nLang 
)
static

◆ lcl_GetFormat()

static const SvNumberformat * lcl_GetFormat ( SvNumberFormatter const *  pFormatter,
sal_uInt32  nKey 
)
static

Definition at line 1999 of file xmlnumfe.cxx.

References SvNumberFormatter::GetEntry().

Referenced by SvXMLNumFmtExport::ForceSystemLanguage().

◆ lcl_IsDefaultDateFormat()

static bool lcl_IsDefaultDateFormat ( const SvNumberformat rFormat,
bool  bSystemDate,
NfIndexTableOffset  eBuiltIn 
)
static

◆ lcl_IsInEmbedded()

static bool lcl_IsInEmbedded ( const SvXMLEmbeddedTextEntryArr rEmbeddedEntries,
sal_uInt16  nPos 
)
static

Definition at line 942 of file xmlnumfe.cxx.

References i, nCount, nPos, and SvXMLEmbeddedTextEntryArr::size().

Referenced by SvXMLNumFmtExport::ExportPart_Impl().