OpenXLSX 1.9.1
Loading...
Searching...
No Matches
XLRelationships.cpp File Reference
#include <charconv>
#include <cstdint>
#include <cstring>
#include <gsl/gsl>
#include <memory>
#include <pugixml.hpp>
#include <random>
#include <stdexcept>
#include <string>
#include <vector>
#include "XLDocument.hpp"
#include "XLRelationships.hpp"
#include "XLException.hpp"

Namespaces

namespace  OpenXLSX
 
namespace  OpenXLSX_XLRelationships
 

Functions

void OpenXLSX::UseRandomIDs ()
 Enable use of random (relationship) IDs.
 
void OpenXLSX::UseSequentialIDs ()
 Disable use of random (relationship) IDs (default behavior)
 
thread_local std::mt19937 OpenXLSX::Rand32 (0)
 
uint64_t OpenXLSX::Rand64 ()
 Return a 64 bit random value (by invoking Rand32 twice)
 
void OpenXLSX::InitRandom (bool pseudoRandom=false)
 Initialize XLRand32 data source.
 
std::string OpenXLSX_XLRelationships::GetStringFromType (XLRelationshipType type)
 helper function, used only within module and from XLProperties.cpp / XLAppProperties::createFromTemplate