11#ifndef OPENXLSX_XLSLICERCACHE_HPP
12#define OPENXLSX_XLSLICERCACHE_HPP
14#include "OpenXLSX-Exports.hpp"
44 std::string
name()
const;
Definition XLPivotTable.hpp:421
XLSlicerCache(const XLSlicerCache &other)=default
XLSlicerCache()
Default constructor.
Definition XLSlicerCache.hpp:28
void setSourceName(std::string_view sourceName)
Set the source name.
Definition XLSlicerCache.cpp:37
XLSlicerCache(XLSlicerCache &&other) noexcept=default
XLSlicerCache & operator=(const XLSlicerCache &other)=default
void setName(std::string_view name)
Set the name of the slicer cache.
Definition XLSlicerCache.cpp:22
std::string sourceName() const
Get the source name (e.g. column name or pivot field name).
Definition XLSlicerCache.cpp:32
XLSlicerCache(XLXmlData *xmlData)
Constructor that wraps an XLXmlData pointer.
Definition XLSlicerCache.hpp:33
std::string name() const
Get the name of the slicer cache.
Definition XLSlicerCache.cpp:17
XLSlicerCache & operator=(XLSlicerCache &&other) noexcept=default
void syncWithPivotCache(const class XLPivotCacheDefinition &pivotCache, const std::vector< std::string > &selectedItems)
Synchronize selected filtering items with the pivot cache definition.
Definition XLSlicerCache.cpp:47
The XLXmlData class encapsulates the properties and behaviour of the .xml files in an ....
Definition XLXmlData.hpp:79
std::string xmlData(XLXmlSavingDeclaration savingDeclaration=XLXmlSavingDeclaration{}) const
Method for getting the XML data represented by the object.
Definition XLXmlFile.cpp:49
XLXmlFile()=default
Default constructor.
Definition IXLCellProvider.hpp:24