OpenXLSX 1.9.1
Loading...
Searching...
No Matches
XLConditionalFormatting.cpp File Reference
#include "XLConditionalFormatting.hpp"
#include "XLException.hpp"
#include "XLUtilities.hpp"
#include "XLWorksheet.hpp"
#include <algorithm>
#include <fmt/format.h>
#include <limits>
#include <map>

Namespaces

namespace  OpenXLSX
 

Functions

OPENXLSX_EXPORT XLCfType OpenXLSX::XLCfTypeFromString (std::string const &typeString)
 get the correct XLCfType from the OOXML cfRule type attribute string
 
OPENXLSX_EXPORT std::string OpenXLSX::XLCfTypeToString (XLCfType cfType)
 inverse of XLCfTypeFromString
 
OPENXLSX_EXPORT XLCfOperator OpenXLSX::XLCfOperatorFromString (std::string const &operatorString)
 get the correct XLCfOperator from the OOXML cfRule operator attribute string
 
OPENXLSX_EXPORT std::string OpenXLSX::XLCfOperatorToString (XLCfOperator cfOperator)
 inverse of XLCfOperatorFromString
 
OPENXLSX_EXPORT XLCfTimePeriod OpenXLSX::XLCfTimePeriodFromString (std::string const &timePeriodString)
 get the correct XLCfTimePeriod from the OOXML cfRule timePeriod attribute string
 
OPENXLSX_EXPORT std::string OpenXLSX::XLCfTimePeriodToString (XLCfTimePeriod cfTimePeriod)
 inverse of XLCfTimePeriodFromString
 
OPENXLSX_EXPORT XLCfvoType OpenXLSX::XLCfvoTypeFromString (std::string const &cfvoTypeString)
 
OPENXLSX_EXPORT std::string OpenXLSX::XLCfvoTypeToString (XLCfvoType cfvoType)
 
OPENXLSX_EXPORT XLDataBarDirection OpenXLSX::XLDataBarDirectionFromString (std::string const &directionString)
 
OPENXLSX_EXPORT std::string OpenXLSX::XLDataBarDirectionToString (XLDataBarDirection direction)
 
OPENXLSX_EXPORT XLDataBarAxisPosition OpenXLSX::XLDataBarAxisPositionFromString (std::string const &positionString)
 
OPENXLSX_EXPORT std::string OpenXLSX::XLDataBarAxisPositionToString (XLDataBarAxisPosition position)
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLColorScaleRule (const XLColor &minColor, const XLColor &maxColor)
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLColorScaleRule (const XLColor &minColor, const XLColor &midColor, const XLColor &maxColor)
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLDataBarRule (const XLColor &color, bool showValue=true)
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLCellIsRule (XLCfOperator op, const std::string &value)
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLCellIsRule (const std::string &op, const std::string &value)
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLFormulaRule (const std::string &formula)
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLIconSetRule (const std::string &iconSetName="3TrafficLights1", bool showValue=true, bool reverse=false)
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLTop10Rule (uint16_t rank=10, bool percent=false, bool bottom=false)
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLAboveAverageRule (bool aboveAverage=true, bool equalAverage=false, int16_t stdDev=0)
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLDuplicateValuesRule (bool unique=false)
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLContainsTextRule (const std::string &text)
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLNotContainsTextRule (const std::string &text)
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLContainsBlanksRule ()
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLNotContainsBlanksRule ()
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLContainsErrorsRule ()
 
OPENXLSX_EXPORT XLCfRule OpenXLSX::XLNotContainsErrorsRule ()