LibreOffice Module sc (master) 1
|
#include <colorscale.hxx>
Public Member Functions | |
ScDataBarFormatData () | |
ScDataBarFormatData (const ScDataBarFormatData &r) | |
Public Attributes | |
Color | maPositiveColor |
Color for all Positive Values and if mbNeg == false also for negative ones. More... | |
std::optional< Color > | mxNegativeColor |
Specifies the color for negative values. More... | |
Color | maAxisColor |
Color of the axis if used Default color is black. More... | |
bool | mbGradient |
Paint the bars with gradient. More... | |
bool | mbNeg |
Use different color for negative values. More... | |
databar::ScAxisPosition | meAxisPosition |
Paint negative values into the same direction as positive values If false we will set the mid point according to the upper and lower limit and negative values are painted to the left and positive to the right. More... | |
double | mnMinLength |
Minimal length of a databar in percent of cell length Value has to be in the range [0, 100) More... | |
double | mnMaxLength |
Maximal length of a databar in percent of cell length Value has to be in the range (0, 100]. More... | |
bool | mbOnlyBar |
If TRUE we only show the bar and not the value. More... | |
std::unique_ptr< ScColorScaleEntry, o3tl::default_delete< ScColorScaleEntry > > | mpUpperLimit |
std::unique_ptr< ScColorScaleEntry, o3tl::default_delete< ScColorScaleEntry > > | mpLowerLimit |
Definition at line 95 of file colorscale.hxx.
|
inline |
Definition at line 97 of file colorscale.hxx.
References AUTOMATIC, and COL_BLACK().
|
inline |
Definition at line 109 of file colorscale.hxx.
References mpLowerLimit, mpUpperLimit, and mxNegativeColor.
Color ScDataBarFormatData::maAxisColor |
Color of the axis if used Default color is black.
Definition at line 145 of file colorscale.hxx.
Referenced by ScXMLExport::ExportConditionalFormat(), oox::xls::ExtCfDataBarRule::finalizeImport(), ScDataBarFormatObj::getPropertyValue(), ScXMLDataBarFormatContext::ScXMLDataBarFormatContext(), ScDataBarFormatObj::setPropertyValue(), and XclExpExtDataBar::XclExpExtDataBar().
Color ScDataBarFormatData::maPositiveColor |
Color for all Positive Values and if mbNeg == false also for negative ones.
Definition at line 134 of file colorscale.hxx.
Referenced by ScXMLExport::ExportConditionalFormat(), oox::xls::ExtCfDataBarRule::finalizeImport(), ScDataBarFormatObj::getPropertyValue(), ScXMLDataBarFormatContext::ScXMLDataBarFormatContext(), ScDataBarFormatObj::setPropertyValue(), XclExpDataBar::XclExpDataBar(), and XclExpExtDataBar::XclExpExtDataBar().
bool ScDataBarFormatData::mbGradient |
Paint the bars with gradient.
If this is used the default is to draw with borders.
Default is true
Definition at line 152 of file colorscale.hxx.
Referenced by ScXMLExport::ExportConditionalFormat(), oox::xls::ExtCfDataBarRule::finalizeImport(), ScDataBarFormatObj::getPropertyValue(), ScXMLDataBarFormatContext::ScXMLDataBarFormatContext(), ScDataBarFormatObj::setPropertyValue(), and XclExpExtDataBar::XclExpExtDataBar().
bool ScDataBarFormatData::mbNeg |
Use different color for negative values.
Color is specified in mpNegativeColor and defaults to 0xFF0000
Default is true
Definition at line 159 of file colorscale.hxx.
Referenced by ScXMLExport::ExportConditionalFormat(), oox::xls::ExtCfDataBarRule::finalizeImport(), ScDataBarFormatObj::getPropertyValue(), ScXMLDataBarFormatContext::ScXMLDataBarFormatContext(), and ScDataBarFormatObj::setPropertyValue().
bool ScDataBarFormatData::mbOnlyBar |
If TRUE we only show the bar and not the value.
Definition at line 182 of file colorscale.hxx.
Referenced by ScXMLExport::ExportConditionalFormat(), ScDataBarFormatObj::getPropertyValue(), XclExpDataBar::SaveXml(), ScXMLDataBarFormatContext::ScXMLDataBarFormatContext(), and ScDataBarFormatObj::setPropertyValue().
databar::ScAxisPosition ScDataBarFormatData::meAxisPosition |
Paint negative values into the same direction as positive values If false we will set the mid point according to the upper and lower limit and negative values are painted to the left and positive to the right.
Default is false
Definition at line 167 of file colorscale.hxx.
Referenced by ScXMLExport::ExportConditionalFormat(), oox::xls::ExtCfDataBarRule::finalizeImport(), ScDataBarFormatObj::getPropertyValue(), ScXMLDataBarFormatContext::ScXMLDataBarFormatContext(), ScDataBarFormatObj::setPropertyValue(), and XclExpExtDataBar::XclExpExtDataBar().
double ScDataBarFormatData::mnMaxLength |
Maximal length of a databar in percent of cell length Value has to be in the range (0, 100].
Definition at line 177 of file colorscale.hxx.
Referenced by ScXMLExport::ExportConditionalFormat(), XclExpDataBar::SaveXml(), ScXMLDataBarFormatContext::ScXMLDataBarFormatContext(), ScDataBarFormatObj::setPropertyValue(), and XclExpExtDataBar::XclExpExtDataBar().
double ScDataBarFormatData::mnMinLength |
Minimal length of a databar in percent of cell length Value has to be in the range [0, 100)
Definition at line 172 of file colorscale.hxx.
Referenced by ScXMLExport::ExportConditionalFormat(), XclExpDataBar::SaveXml(), ScXMLDataBarFormatContext::ScXMLDataBarFormatContext(), ScDataBarFormatObj::setPropertyValue(), and XclExpExtDataBar::XclExpExtDataBar().
std::unique_ptr<ScColorScaleEntry, o3tl::default_delete<ScColorScaleEntry> > ScDataBarFormatData::mpLowerLimit |
Definition at line 185 of file colorscale.hxx.
Referenced by ScXMLDataBarFormatContext::createFastChildContext(), ScXMLExport::ExportConditionalFormat(), oox::xls::ExtCfDataBarRule::finalizeImport(), ScDataBarEntryObj::getCoreObject(), ScDataBarFormatData(), XclExpDataBar::XclExpDataBar(), and XclExpExtDataBar::XclExpExtDataBar().
std::unique_ptr<ScColorScaleEntry, o3tl::default_delete<ScColorScaleEntry> > ScDataBarFormatData::mpUpperLimit |
Definition at line 184 of file colorscale.hxx.
Referenced by ScXMLDataBarFormatContext::createFastChildContext(), ScXMLExport::ExportConditionalFormat(), oox::xls::ExtCfDataBarRule::finalizeImport(), ScDataBarEntryObj::getCoreObject(), ScDataBarFormatData(), XclExpDataBar::XclExpDataBar(), and XclExpExtDataBar::XclExpExtDataBar().
std::optional<Color> ScDataBarFormatData::mxNegativeColor |
Specifies the color for negative values.
This is optional and depends on mbNeg.
Default color is 0xFF0000, this value is not set
Definition at line 140 of file colorscale.hxx.
Referenced by ScXMLExport::ExportConditionalFormat(), oox::xls::ExtCfDataBarRule::finalizeImport(), ScDataBarFormatObj::getPropertyValue(), ScDataBarFormatData(), ScXMLDataBarFormatContext::ScXMLDataBarFormatContext(), ScDataBarFormatObj::setPropertyValue(), and XclExpExtDataBar::XclExpExtDataBar().