34 #ifndef ODSCOLORSCALE_H
35 #define ODSCOLORSCALE_H
39 #include <QXmlStreamWriter>
49 const QString &cell_stop_position);
58 const QString &cell_stop_position);
71 bool isInSheet(
const QString &sheet_name);
72 void writeConditionalFormat(QXmlStreamWriter *p_writer);
75 std::tuple<QString, QString> parseCellRange(
const QString &cell_position);
79 QString _cell_start_position;
80 QString _cell_stop_position;
82 QColor _minimum_color = QColor(
"#0000ff");
83 QColor _maximum_color = QColor(
"#ff0000");
84 QColor _percentile_color = QColor(
"#ffffff");
Definition: contentxml.h:35
Definition: odscolorscale.h:44
void setCellRange(const QString &cell_start_position, const QString &cell_stop_position)
set cell range to apply color scale
Definition: odscolorscale.cpp:181
void setMaximumColor(const QColor &maximum_color)
set maximum color of the color scale
Definition: odscolorscale.cpp:211
void setMinimumColor(const QColor &minimum_color)
set minimum color of the color scale
Definition: odscolorscale.cpp:206