LibreOffice Module sc (master) 1
|
Handle the export of sparkline groups and sparklines. More...
#include <SparklineGroupsExport.hxx>
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 | |
ScXMLExport & | m_rExport |
SCTAB | m_nTable |
Handle the export of sparkline groups and sparklines.
Definition at line 26 of file SparklineGroupsExport.hxx.
sc::SparklineGroupsExport::SparklineGroupsExport | ( | ScXMLExport & | rExport, |
SCTAB | nTable | ||
) |
Definition at line 30 of file SparklineGroupsExport.cxx.
|
private |
Definition at line 52 of file SparklineGroupsExport.cxx.
References SvXMLExport::AddAttribute(), formula::FormulaGrammar::CONV_OOO, sc::Sparkline::getColumn(), ScXMLExport::GetDocument(), sc::Sparkline::getInputRange(), sc::Sparkline::getRow(), ScRangeStringConverter::GetStringFromAddress(), ScRangeStringConverter::GetStringFromRangeList(), m_nTable, m_rExport, XML_CELL_ADDRESS, XML_DATA_RANGE, and XML_NAMESPACE_CALC_EXT.
Referenced by addSparklineGroup().
|
private |
Definition at line 171 of file SparklineGroupsExport.cxx.
References SvXMLExport::AddAttribute(), addSparklineAttributes(), addSparklineGroupAttributes(), m_rExport, XML_ID, XML_NAMESPACE_CALC_EXT, XML_SPARKLINE, XML_SPARKLINE_GROUP, and XML_SPARKLINES.
Referenced by write().
|
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().
|
private |
Definition at line 46 of file SparklineGroupsExport.cxx.
References SvXMLExport::AddAttribute(), eToken, m_rExport, and XML_NAMESPACE_CALC_EXT.
Referenced by addSparklineGroupAttributes().
|
private |
Definition at line 36 of file SparklineGroupsExport.cxx.
References SvXMLExport::AddAttribute(), COL_TRANSPARENT(), sax::Converter::convertColor(), eToken, m_rExport, and XML_NAMESPACE_CALC_EXT.
Referenced by addSparklineGroupAttributes().
void sc::SparklineGroupsExport::write | ( | ) |
Definition at line 196 of file SparklineGroupsExport.cxx.
References addSparklineGroup(), ScXMLExport::GetDocument(), m_nTable, m_rExport, XML_NAMESPACE_CALC_EXT, and XML_SPARKLINE_GROUPS.
Referenced by ScXMLExport::exportSparklineGroups().
|
private |
Definition at line 29 of file SparklineGroupsExport.hxx.
Referenced by addSparklineAttributes(), and write().
|
private |
Definition at line 28 of file SparklineGroupsExport.hxx.
Referenced by addSparklineAttributes(), addSparklineGroup(), addSparklineGroupAttributes(), insertBool(), insertColor(), and write().