11#ifndef OPENXLSX_XLSTYLES_NUMBERFORMATS_HPP
12#define OPENXLSX_XLSTYLES_NUMBERFORMATS_HPP
16# pragma warning(disable : 4251)
17# pragma warning(disable : 4275)
28#include <unordered_map>
107 std::unique_ptr<XMLNode> m_numberFormatNode;
162 size_t count()
const;
191 uint32_t numberFormatIdFromIndex(
XLStyleIndex index)
const;
197 static std::optional<uint32_t> standardNumberFormatId(std::string_view formatCode)
noexcept;
203 static std::string_view standardFormatCode(uint32_t
id)
noexcept;
210 uint32_t createNumberFormat(std::string_view formatCode);
216 uint32_t getFreeNumberFormatId()
const;
227 std::unique_ptr<XMLNode> m_numberFormatsNode;
228 std::vector<XLNumberFormat> m_numberFormats;
Definition IXLCellProvider.hpp:24
OpenXLSX_xml_node XMLNode
Definition XLXmlParser.hpp:64
size_t XLStyleIndex
Definition XLStyles_Common.hpp:36