OpenXLSX 1.9.1
Loading...
Searching...
No Matches
XLRelationships.hpp File Reference
#include <gsl/pointers>
#include <random>
#include <string>
#include <vector>
#include "OpenXLSX-Exports.hpp"
#include "XLXmlFile.hpp"
#include "XLXmlParser.hpp"

Go to the source code of this file.

Data Structures

class  OpenXLSX::XLRelationshipItem
 
class  OpenXLSX::XLRelationships
 

Namespaces

namespace  OpenXLSX
 
namespace  OpenXLSX_XLRelationships
 

Enumerations

enum class  OpenXLSX::XLRelationshipType {
  OpenXLSX::CoreProperties , OpenXLSX::ExtendedProperties , OpenXLSX::CustomProperties , OpenXLSX::Workbook ,
  OpenXLSX::Worksheet , OpenXLSX::Chartsheet , OpenXLSX::Dialogsheet , OpenXLSX::Macrosheet ,
  OpenXLSX::CalculationChain , OpenXLSX::ExternalLink , OpenXLSX::ExternalLinkPath , OpenXLSX::Theme ,
  OpenXLSX::Styles , OpenXLSX::Chart , OpenXLSX::ChartStyle , OpenXLSX::ChartColorStyle ,
  OpenXLSX::Image , OpenXLSX::Drawing , OpenXLSX::VMLDrawing , OpenXLSX::SharedStrings ,
  OpenXLSX::PrinterSettings , OpenXLSX::VBAProject , OpenXLSX::ControlProperties , OpenXLSX::Comments ,
  OpenXLSX::Table , OpenXLSX::Hyperlink , OpenXLSX::Unknown , OpenXLSX::PivotTable ,
  OpenXLSX::Slicer , OpenXLSX::SlicerCache , OpenXLSX::PivotCacheDefinition , OpenXLSX::PivotCacheRecords ,
  OpenXLSX::ThreadedComments , OpenXLSX::Person
}
 An enum of the possible relationship (or XML document) types used in relationship (.rels) XML files. More...
 

Functions

void OpenXLSX::UseRandomIDs ()
 Enable use of random (relationship) IDs.
 
void OpenXLSX::UseSequentialIDs ()
 Disable use of random (relationship) IDs (default behavior)
 
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
 

Variables

thread_local std::mt19937 OpenXLSX::Rand32
 Return a 32 bit random value.