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

Handle the export of sparkline groups and sparklines. More...

#include <SparklineGroupsExport.hxx>

Collaboration diagram for sc::SparklineGroupsExport:
[legend]

Public Member Functions

 SparklineGroupsExport (ScXMLExport &rExport, SCTAB nTable)
 
void write ()
 

Private Member Functions

void addSparklineGroupAttributes (sc::SparklineAttributes const &rAttributes)
 
void addSparklineGroup (std::shared_ptr< SparklineGroup > const &pSparklineGroup, std::vector< std::shared_ptr< Sparkline > > const &rSparklines)
 
void addSparklineAttributes (Sparkline const &rSparkline)
 
void insertColor (Color aColor, xmloff::token::XMLTokenEnum eToken)
 
void insertBool (bool bValue, xmloff::token::XMLTokenEnum eToken)
 

Private Attributes

ScXMLExportm_rExport
 
SCTAB m_nTable
 

Detailed Description

Handle the export of sparkline groups and sparklines.

Definition at line 26 of file SparklineGroupsExport.hxx.

Constructor & Destructor Documentation

◆ SparklineGroupsExport()

sc::SparklineGroupsExport::SparklineGroupsExport ( ScXMLExport rExport,
SCTAB  nTable 
)

Definition at line 30 of file SparklineGroupsExport.cxx.

Member Function Documentation

◆ addSparklineAttributes()

void sc::SparklineGroupsExport::addSparklineAttributes ( Sparkline const &  rSparkline)
private

◆ addSparklineGroup()

void sc::SparklineGroupsExport::addSparklineGroup ( std::shared_ptr< SparklineGroup > const &  pSparklineGroup,
std::vector< std::shared_ptr< Sparkline > > const &  rSparklines 
)
private

◆ addSparklineGroupAttributes()

void sc::SparklineGroupsExport::addSparklineGroupAttributes ( sc::SparklineAttributes const &  rAttributes)
private

Definition at line 119 of file SparklineGroupsExport.cxx.

References SvXMLExport::AddAttribute(), sc::Custom, sc::SparklineAttributes::getColorAxis(), sc::SparklineAttributes::getColorFirst(), sc::SparklineAttributes::getColorHigh(), sc::SparklineAttributes::getColorLast(), sc::SparklineAttributes::getColorLow(), sc::SparklineAttributes::getColorMarkers(), sc::SparklineAttributes::getColorNegative(), sc::SparklineAttributes::getColorSeries(), sc::SparklineAttributes::getDisplayEmptyCellsAs(), sc::SparklineAttributes::getLineWeight(), sc::SparklineAttributes::getManualMax(), sc::SparklineAttributes::getManualMin(), sc::SparklineAttributes::getMaxAxisType(), sc::SparklineAttributes::getMinAxisType(), sc::SparklineAttributes::getType(), insertBool(), insertColor(), sc::SparklineAttributes::isDateAxis(), sc::SparklineAttributes::isFirst(), sc::SparklineAttributes::isHigh(), sc::SparklineAttributes::isLast(), sc::SparklineAttributes::isLow(), sc::SparklineAttributes::isMarkers(), sc::SparklineAttributes::isNegative(), sc::SparklineAttributes::isRightToLeft(), m_rExport, sc::SparklineAttributes::shouldDisplayHidden(), sc::SparklineAttributes::shouldDisplayXAxis(), sType, XML_COLOR_AXIS, XML_COLOR_FIRST, XML_COLOR_HIGH, XML_COLOR_LAST, XML_COLOR_LOW, XML_COLOR_MARKERS, XML_COLOR_NEGATIVE, XML_COLOR_SERIES, XML_DATE_AXIS, XML_DISPLAY_EMPTY_CELLS_AS, XML_DISPLAY_HIDDEN, XML_DISPLAY_X_AXIS, XML_FIRST, XML_HIGH, XML_LAST, XML_LINE_WIDTH, XML_LOW, XML_MANUAL_MAX, XML_MANUAL_MIN, XML_MARKERS, XML_MAX_AXIS_TYPE, XML_MIN_AXIS_TYPE, XML_NAMESPACE_CALC_EXT, XML_NEGATIVE, XML_RIGHT_TO_LEFT, and XML_TYPE.

Referenced by addSparklineGroup().

◆ insertBool()

void sc::SparklineGroupsExport::insertBool ( bool  bValue,
xmloff::token::XMLTokenEnum  eToken 
)
private

◆ insertColor()

void sc::SparklineGroupsExport::insertColor ( Color  aColor,
xmloff::token::XMLTokenEnum  eToken 
)
private

◆ write()

void sc::SparklineGroupsExport::write ( )

Member Data Documentation

◆ m_nTable

SCTAB sc::SparklineGroupsExport::m_nTable
private

Definition at line 29 of file SparklineGroupsExport.hxx.

Referenced by addSparklineAttributes(), and write().

◆ m_rExport

ScXMLExport& sc::SparklineGroupsExport::m_rExport
private

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