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::unique_ptr< ColormpNegativeColor
 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, mpNegativeColor, and mpUpperLimit.

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 160 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 168 of file colorscale.hxx.

Referenced by ScXMLExport::ExportConditionalFormat(), oox::xls::ExtCfDataBarRule::finalizeImport(), ScDataBarFormatObj::getPropertyValue(), ScDataBarSettingsDlg::ScDataBarSettingsDlg(), 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 178 of file colorscale.hxx.

Referenced by ScXMLExport::ExportConditionalFormat(), XclExpDataBar::SaveXml(), ScDataBarSettingsDlg::ScDataBarSettingsDlg(), 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 173 of file colorscale.hxx.

Referenced by ScXMLExport::ExportConditionalFormat(), XclExpDataBar::SaveXml(), ScDataBarSettingsDlg::ScDataBarSettingsDlg(), ScDataBarFormatObj::setPropertyValue(), and XclExpExtDataBar::XclExpExtDataBar().

std::unique_ptr<ScColorScaleEntry, o3tl::default_delete<ScColorScaleEntry> > ScDataBarFormatData::mpLowerLimit
std::unique_ptr<Color> ScDataBarFormatData::mpNegativeColor
std::unique_ptr<ScColorScaleEntry, o3tl::default_delete<ScColorScaleEntry> > ScDataBarFormatData::mpUpperLimit

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