LibreOffice Module oox (master) 1
|
A helper container class to collect the chart data point labels and the address of the cell[range] from which the labels are sourced if that is the case. More...
#include <chartexport.hxx>
Public Types | |
typedef std::map< sal_Int32, OUString > | LabelsRangeMap |
type of the internal container that stores the indexed label text. More... | |
Public Member Functions | |
bool | empty () const |
Returns whether the container is empty or not. More... | |
size_t | count () const |
Returns the count of labels stored. More... | |
bool | hasLabel (sal_Int32 nIndex) const |
Indicates whether the container has a label with index specified by nIndex. More... | |
const OUString & | getRange () const |
Returns the address of the cell[range] from which label contents are sourced. More... | |
void | setRange (const OUString &rRange) |
Sets the address of the cell[range] from which label contents are sourced. More... | |
void | setLabel (sal_Int32 nIndex, const OUString &rText) |
Adds a new indexed label text. More... | |
LabelsRangeMap::const_iterator | begin () const |
LabelsRangeMap::const_iterator | end () const |
Private Attributes | |
OUString | maRange |
LabelsRangeMap | maLabels |
A helper container class to collect the chart data point labels and the address of the cell[range] from which the labels are sourced if that is the case.
This is then used to write the label texts under the extension tag <c15:datalabelsRange>.
Definition at line 101 of file chartexport.hxx.
typedef std::map<sal_Int32, OUString> oox::drawingml::DataLabelsRange::LabelsRangeMap |
type of the internal container that stores the indexed label text.
Definition at line 106 of file chartexport.hxx.
DataLabelsRange::LabelsRangeMap::const_iterator oox::drawingml::DataLabelsRange::begin | ( | ) | const |
Definition at line 514 of file chartexport.cxx.
References maLabels.
size_t oox::drawingml::DataLabelsRange::count | ( | ) | const |
Returns the count of labels stored.
Definition at line 489 of file chartexport.cxx.
References maLabels.
bool oox::drawingml::DataLabelsRange::empty | ( | ) | const |
Returns whether the container is empty or not.
Definition at line 484 of file chartexport.cxx.
References maLabels.
Referenced by oox::drawingml::ChartExport::exportSeries().
DataLabelsRange::LabelsRangeMap::const_iterator oox::drawingml::DataLabelsRange::end | ( | ) | const |
Definition at line 519 of file chartexport.cxx.
References maLabels.
const OUString & oox::drawingml::DataLabelsRange::getRange | ( | ) | const |
Returns the address of the cell[range] from which label contents are sourced.
Definition at line 499 of file chartexport.cxx.
References maRange.
bool oox::drawingml::DataLabelsRange::hasLabel | ( | sal_Int32 | nIndex | ) | const |
Indicates whether the container has a label with index specified by nIndex.
Definition at line 494 of file chartexport.cxx.
void oox::drawingml::DataLabelsRange::setLabel | ( | sal_Int32 | nIndex, |
const OUString & | rText | ||
) |
Adds a new indexed label text.
Definition at line 509 of file chartexport.cxx.
void oox::drawingml::DataLabelsRange::setRange | ( | const OUString & | rRange | ) |
Sets the address of the cell[range] from which label contents are sourced.
Definition at line 504 of file chartexport.cxx.
References maRange.
|
private |
Definition at line 127 of file chartexport.hxx.
Referenced by begin(), count(), empty(), end(), hasLabel(), and setLabel().
|
private |
Definition at line 126 of file chartexport.hxx.
Referenced by getRange(), and setRange().