LibreOffice Module sc (master) 1
Classes | Public Member Functions | Private Attributes | List of all members
sc::SparklineAttributes Class Reference

Common properties for a group of sparklines. More...

#include <SparklineAttributes.hxx>

Collaboration diagram for sc::SparklineAttributes:
[legend]

Classes

class  Implementation
 Holder of sparkline attributes. More...
 

Public Member Functions

 SparklineAttributes ()
 
 ~SparklineAttributes ()
 
 SparklineAttributes (const SparklineAttributes &rOther)
 
 SparklineAttributes (SparklineAttributes &&rOther)
 
SparklineAttributesoperator= (const SparklineAttributes &rOther)
 
SparklineAttributesoperator= (SparklineAttributes &&rOther)
 
bool operator== (const SparklineAttributes &rOther) const
 
bool operator!= (const SparklineAttributes &rOther) const
 
Color getColorSeries () const
 
void setColorSeries (Color aColorSeries)
 
Color getColorNegative () const
 
void setColorNegative (Color aColorSeries)
 
Color getColorAxis () const
 
void setColorAxis (Color aColorSeries)
 
Color getColorMarkers () const
 
void setColorMarkers (Color aColorSeries)
 
Color getColorFirst () const
 
void setColorFirst (Color aColorSeries)
 
Color getColorLast () const
 
void setColorLast (Color aColorSeries)
 
Color getColorHigh () const
 
void setColorHigh (Color aColorSeries)
 
Color getColorLow () const
 
void setColorLow (Color aColorSeries)
 
AxisType getMinAxisType () const
 
void setMinAxisType (AxisType eAxisType)
 
AxisType getMaxAxisType () const
 
void setMaxAxisType (AxisType eAxisType)
 
double getLineWeight () const
 Line weight or width in points. More...
 
void setLineWeight (double nWeight)
 
SparklineType getType () const
 
void setType (SparklineType eType)
 
bool isDateAxis () const
 
void setDateAxis (bool bValue)
 
DisplayEmptyCellsAs getDisplayEmptyCellsAs () const
 
void setDisplayEmptyCellsAs (DisplayEmptyCellsAs eValue)
 
bool isMarkers () const
 
void setMarkers (bool bValue)
 
bool isHigh () const
 
void setHigh (bool bValue)
 
bool isLow () const
 
void setLow (bool bValue)
 
bool isFirst () const
 
void setFirst (bool bValue)
 
bool isLast () const
 
void setLast (bool bValue)
 
bool isNegative () const
 
void setNegative (bool bValue)
 
bool shouldDisplayXAxis () const
 
void setDisplayXAxis (bool bValue)
 
bool shouldDisplayHidden () const
 
void setDisplayHidden (bool bValue)
 
bool isRightToLeft () const
 
void setRightToLeft (bool bValue)
 
std::optional< double > getManualMax () const
 
void setManualMax (std::optional< double > aValue)
 
std::optional< double > getManualMin () const
 
void setManualMin (std::optional< double > aValue)
 

Private Attributes

o3tl::cow_wrapper< Implementationm_aImplementation
 

Detailed Description

Common properties for a group of sparklines.

Definition at line 46 of file SparklineAttributes.hxx.

Constructor & Destructor Documentation

◆ SparklineAttributes() [1/3]

sc::SparklineAttributes::SparklineAttributes ( )
default

◆ ~SparklineAttributes()

sc::SparklineAttributes::~SparklineAttributes ( )
default

◆ SparklineAttributes() [2/3]

sc::SparklineAttributes::SparklineAttributes ( const SparklineAttributes rOther)
default

◆ SparklineAttributes() [3/3]

sc::SparklineAttributes::SparklineAttributes ( SparklineAttributes &&  rOther)
default

Member Function Documentation

◆ getColorAxis()

Color sc::SparklineAttributes::getColorAxis ( ) const

◆ getColorFirst()

Color sc::SparklineAttributes::getColorFirst ( ) const

◆ getColorHigh()

Color sc::SparklineAttributes::getColorHigh ( ) const

◆ getColorLast()

Color sc::SparklineAttributes::getColorLast ( ) const

◆ getColorLow()

Color sc::SparklineAttributes::getColorLow ( ) const

◆ getColorMarkers()

Color sc::SparklineAttributes::getColorMarkers ( ) const

◆ getColorNegative()

Color sc::SparklineAttributes::getColorNegative ( ) const

◆ getColorSeries()

Color sc::SparklineAttributes::getColorSeries ( ) const

◆ getDisplayEmptyCellsAs()

DisplayEmptyCellsAs sc::SparklineAttributes::getDisplayEmptyCellsAs ( ) const

◆ getLineWeight()

double sc::SparklineAttributes::getLineWeight ( ) const

◆ getManualMax()

std::optional< double > sc::SparklineAttributes::getManualMax ( ) const

◆ getManualMin()

std::optional< double > sc::SparklineAttributes::getManualMin ( ) const

◆ getMaxAxisType()

AxisType sc::SparklineAttributes::getMaxAxisType ( ) const

◆ getMinAxisType()

AxisType sc::SparklineAttributes::getMinAxisType ( ) const

◆ getType()

SparklineType sc::SparklineAttributes::getType ( ) const

◆ isDateAxis()

bool sc::SparklineAttributes::isDateAxis ( ) const

◆ isFirst()

bool sc::SparklineAttributes::isFirst ( ) const

◆ isHigh()

bool sc::SparklineAttributes::isHigh ( ) const

◆ isLast()

bool sc::SparklineAttributes::isLast ( ) const

◆ isLow()

bool sc::SparklineAttributes::isLow ( ) const

◆ isMarkers()

bool sc::SparklineAttributes::isMarkers ( ) const

◆ isNegative()

bool sc::SparklineAttributes::isNegative ( ) const

◆ isRightToLeft()

bool sc::SparklineAttributes::isRightToLeft ( ) const

◆ operator!=()

bool sc::SparklineAttributes::operator!= ( const SparklineAttributes rOther) const
inline

Definition at line 61 of file SparklineAttributes.hxx.

References operator==().

◆ operator=() [1/2]

SparklineAttributes & sc::SparklineAttributes::operator= ( const SparklineAttributes rOther)
default

◆ operator=() [2/2]

SparklineAttributes & sc::SparklineAttributes::operator= ( SparklineAttributes &&  rOther)
default

◆ operator==()

bool sc::SparklineAttributes::operator== ( const SparklineAttributes rOther) const

Definition at line 144 of file SparklineAttributes.cxx.

References m_aImplementation.

Referenced by operator!=().

◆ setColorAxis()

void sc::SparklineAttributes::setColorAxis ( Color  aColorSeries)

◆ setColorFirst()

void sc::SparklineAttributes::setColorFirst ( Color  aColorSeries)

◆ setColorHigh()

void sc::SparklineAttributes::setColorHigh ( Color  aColorSeries)

◆ setColorLast()

void sc::SparklineAttributes::setColorLast ( Color  aColorSeries)

◆ setColorLow()

void sc::SparklineAttributes::setColorLow ( Color  aColorSeries)

◆ setColorMarkers()

void sc::SparklineAttributes::setColorMarkers ( Color  aColorSeries)

◆ setColorNegative()

void sc::SparklineAttributes::setColorNegative ( Color  aColorSeries)

◆ setColorSeries()

void sc::SparklineAttributes::setColorSeries ( Color  aColorSeries)

◆ setDateAxis()

void sc::SparklineAttributes::setDateAxis ( bool  bValue)

◆ setDisplayEmptyCellsAs()

void sc::SparklineAttributes::setDisplayEmptyCellsAs ( DisplayEmptyCellsAs  eValue)

◆ setDisplayHidden()

void sc::SparklineAttributes::setDisplayHidden ( bool  bValue)

◆ setDisplayXAxis()

void sc::SparklineAttributes::setDisplayXAxis ( bool  bValue)

◆ setFirst()

void sc::SparklineAttributes::setFirst ( bool  bValue)

◆ setHigh()

void sc::SparklineAttributes::setHigh ( bool  bValue)

◆ setLast()

void sc::SparklineAttributes::setLast ( bool  bValue)

◆ setLineWeight()

void sc::SparklineAttributes::setLineWeight ( double  nWeight)

◆ setLow()

void sc::SparklineAttributes::setLow ( bool  bValue)

◆ setManualMax()

void sc::SparklineAttributes::setManualMax ( std::optional< double >  aValue)

◆ setManualMin()

void sc::SparklineAttributes::setManualMin ( std::optional< double >  aValue)

◆ setMarkers()

void sc::SparklineAttributes::setMarkers ( bool  bValue)

◆ setMaxAxisType()

void sc::SparklineAttributes::setMaxAxisType ( AxisType  eAxisType)

◆ setMinAxisType()

void sc::SparklineAttributes::setMinAxisType ( AxisType  eAxisType)

◆ setNegative()

void sc::SparklineAttributes::setNegative ( bool  bValue)

◆ setRightToLeft()

void sc::SparklineAttributes::setRightToLeft ( bool  bValue)

◆ setType()

void sc::SparklineAttributes::setType ( SparklineType  eType)

◆ shouldDisplayHidden()

bool sc::SparklineAttributes::shouldDisplayHidden ( ) const

◆ shouldDisplayXAxis()

bool sc::SparklineAttributes::shouldDisplayXAxis ( ) const

Member Data Documentation

◆ m_aImplementation

o3tl::cow_wrapper<Implementation> sc::SparklineAttributes::m_aImplementation
private

The documentation for this class was generated from the following files: