#include <cctype>
#include <string>
#include <string_view>
#include <fmt/format.h>
#include <pugixml.hpp>
#include "XLException.hpp"
#include "XLXmlParser.hpp"
Go to the source code of this file.
|
| void | OpenXLSX::copyXMLNode (XMLNode &destination, const XMLNode &source) |
| |
| std::string | OpenXLSX::xmlNodeFingerprint (const XMLNode &node) |
| | Compute a canonical, deterministic string fingerprint of a pugixml subtree.
|
| |
| template<typename E , size_t N> |
| constexpr E | OpenXLSX::EnumFromString (std::string_view str, const EnumStringMap< E >(&mapping)[N], E invalidVal) |
| |
| template<typename E , size_t N> |
| constexpr const char * | OpenXLSX::EnumToString (E val, const EnumStringMap< E >(&mapping)[N], const char *invalidStr) |
| |
| std::string | OpenXLSX::formatDoubleAsString (double val, int decimalPlaces=2) |
| | Format val as a string with decimalPlaces.
|
| |
| std::string | OpenXLSX::checkAndFormatDoubleAsString (double val, double min, double max, double absTolerance, int decimalPlaces=2) |
| | Check that a double value is within range, and format it as a string with decimalPlaces.
|
| |