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

Sparkline data, used for rendering the content of a cell. More...

#include <Sparkline.hxx>

Collaboration diagram for sc::Sparkline:
[legend]

Public Member Functions

 Sparkline (SCCOL nColumn, SCROW nRow, std::shared_ptr< SparklineGroup > pSparklineGroup)
 
 Sparkline (const Sparkline &)=delete
 
Sparklineoperator= (const Sparkline &)=delete
 
void setInputRange (ScRangeList const &rInputRange)
 
ScRangeList const & getInputRange () const
 
std::shared_ptr< SparklineGroup > const & getSparklineGroup () const
 
SCCOL getColumn () const
 
SCROW getRow () const
 

Private Attributes

SCCOL m_nColumn
 
SCROW m_nRow
 
ScRangeList m_aInputRange
 
std::shared_ptr< SparklineGroupm_pSparklineGroup
 

Detailed Description

Sparkline data, used for rendering the content of a cell.

Contains the input range of the data that is being drawn and a reference to the SparklineGroup, which includes common properties of multiple sparklines.

Definition at line 28 of file Sparkline.hxx.

Constructor & Destructor Documentation

◆ Sparkline() [1/2]

sc::Sparkline::Sparkline ( SCCOL  nColumn,
SCROW  nRow,
std::shared_ptr< SparklineGroup pSparklineGroup 
)
inline

Definition at line 37 of file Sparkline.hxx.

References m_nColumn.

◆ Sparkline() [2/2]

sc::Sparkline::Sparkline ( const Sparkline )
delete

Member Function Documentation

◆ getColumn()

SCCOL sc::Sparkline::getColumn ( ) const
inline

Definition at line 53 of file Sparkline.hxx.

References m_nColumn.

Referenced by sc::SparklineGroupsExport::addSparklineAttributes().

◆ getInputRange()

ScRangeList const & sc::Sparkline::getInputRange ( ) const
inline

Definition at line 49 of file Sparkline.hxx.

Referenced by sc::SparklineGroupsExport::addSparklineAttributes().

◆ getRow()

SCROW sc::Sparkline::getRow ( ) const
inline

Definition at line 55 of file Sparkline.hxx.

Referenced by sc::SparklineGroupsExport::addSparklineAttributes().

◆ getSparklineGroup()

std::shared_ptr< SparklineGroup > const & sc::Sparkline::getSparklineGroup ( ) const
inline

Definition at line 51 of file Sparkline.hxx.

◆ operator=()

Sparkline & sc::Sparkline::operator= ( const Sparkline )
delete

◆ setInputRange()

void sc::Sparkline::setInputRange ( ScRangeList const &  rInputRange)
inline

Member Data Documentation

◆ m_aInputRange

ScRangeList sc::Sparkline::m_aInputRange
private

Definition at line 33 of file Sparkline.hxx.

◆ m_nColumn

SCCOL sc::Sparkline::m_nColumn
private

Definition at line 30 of file Sparkline.hxx.

◆ m_nRow

SCROW sc::Sparkline::m_nRow
private

Definition at line 31 of file Sparkline.hxx.

◆ m_pSparklineGroup

std::shared_ptr<SparklineGroup> sc::Sparkline::m_pSparklineGroup
private

Definition at line 34 of file Sparkline.hxx.


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