20#ifndef INCLUDED_XMLOFF_NUMEHELP_HXX
21#define INCLUDED_XMLOFF_NUMEHELP_HXX
27#include <com/sun/star/uno/Reference.hxx>
79 sal_Int16 GetCellType(
const sal_Int32 nNumberFormat, OUString& sCurrency,
bool& bIsStandard);
80 static void WriteAttributes(
SvXMLExport& rXMLExport,
81 const sal_Int16 nTypeKey,
83 const OUString& rCurrencySymbol,
86 css::uno::Reference< css::util::XNumberFormatsSupplier >
const & xNumberFormatsSupplier);
87 static sal_Int16
GetCellType(
const sal_Int32 nNumberFormat,
bool& bIsStandard,
88 css::uno::Reference< css::util::XNumberFormatsSupplier >
const & xNumberFormatsSupplier);
89 static void SetNumberFormatAttributes(
SvXMLExport& rXMLExport,
90 const sal_Int32 nNumberFormat,
92 bool bExportValue =
true);
93 static void SetNumberFormatAttributes(
SvXMLExport& rXMLExport,
94 const OUString& rValue,
95 std::u16string_view rCharacters,
97 bool bExportTypeAttribute =
true);
99 bool GetCurrencySymbol(
const sal_Int32 nNumberFormat, OUString& rCurrencySymbol);
100 sal_Int16 GetCellType(
const sal_Int32 nNumberFormat,
bool& bIsStandard);
101 void WriteAttributes(
const sal_Int16 nTypeKey,
102 const double& rValue,
103 const OUString& rCurrencySymbol,
105 void SetNumberFormatAttributes(
const sal_Int32 nNumberFormat,
106 const double& rValue,
107 bool bExportValue =
true,
109 void SetNumberFormatAttributes(
const OUString& rValue,
110 std::u16string_view rCharacters,
111 bool bExportValue =
true,
std::set< XMLNumberFormat, LessNumberFormat > XMLNumberFormatSet
constexpr sal_uInt16 XML_NAMESPACE_OFFICE