LibreOffice Module sc (master)  1
Public Member Functions | Public Attributes | List of all members
ScDataBarFormatData Struct Reference

#include <colorscale.hxx>

Collaboration diagram for ScDataBarFormatData:
[legend]

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< ColormxNegativeColor
 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
 

Detailed Description

Definition at line 95 of file colorscale.hxx.

Constructor & Destructor Documentation

ScDataBarFormatData::ScDataBarFormatData ( )
inline

Definition at line 97 of file colorscale.hxx.

References AUTOMATIC, and COL_BLACK.

ScDataBarFormatData::ScDataBarFormatData ( const ScDataBarFormatData r)
inline

Definition at line 109 of file colorscale.hxx.

References mpLowerLimit, mpUpperLimit, and mxNegativeColor.

Member Data Documentation

Color ScDataBarFormatData::maAxisColor
Color ScDataBarFormatData::maPositiveColor
bool ScDataBarFormatData::mbGradient
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(), and ScDataBarFormatObj::setPropertyValue().

bool ScDataBarFormatData::mbOnlyBar
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(), 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(), 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(), ScDataBarFormatObj::setPropertyValue(), and XclExpExtDataBar::XclExpExtDataBar().

std::unique_ptr<ScColorScaleEntry, o3tl::default_delete<ScColorScaleEntry> > ScDataBarFormatData::mpLowerLimit
std::unique_ptr<ScColorScaleEntry, o3tl::default_delete<ScColorScaleEntry> > ScDataBarFormatData::mpUpperLimit
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(), ScDataBarSettingsDlg::GetData(), ScDataBarFormatObj::getPropertyValue(), ScDataBarFormatData(), ScDataBarFormatObj::setPropertyValue(), and XclExpExtDataBar::XclExpExtDataBar().


The documentation for this struct was generated from the following file: