22#include <com/sun/star/chart2/XChartDocument.hpp>
25#include <oox/token/properties.hxx>
52 OUStringBuffer aTitle;
56 Any aAny = elem.second;
57 if(aAny.has<OUString>())
62 aTitle.append(aAny.get<OUString>());
70 mrModel.
maData.insert(std::make_pair<sal_Int32, Any>(0,
Any(aTitle.makeStringAndClear())));
74 bool bDateCategories = (
mrModel.
meFormatType == SvNumFormatType::DATE) && (rRole ==
"categories");
76 rRole, bDateCategories ? OUString(
"date") : OUString(
""));
A wrapper for a UNO property set.
bool setProperty(sal_Int32 nPropId, const Type &rValue)
Puts the passed value into the property set.
virtual css::uno::Reference< css::chart2::data::XDataSequence > createDataSequence(const css::uno::Reference< css::chart2::data::XDataProvider > &rxDataProvider, const DataSequenceModel &rDataSeq, const OUString &rRole, const OUString &aRoleQualifier)
Creates a data sequence from a formula.
Base class of all converter classes.
DataSequenceModel & mrModel
css::uno::Reference< css::chart2::XChartDocument > const & getChartDocument() const
Returns the API chart document model.
ChartConverter & getChartConverter() const
Returns the chart converter.
virtual ~DataSequenceConverter() override
css::uno::Reference< css::chart2::data::XDataSequence > createDataSequence(const OUString &rRole)
Creates a data sequence object from the contained formula link.
DataSequenceConverter(const ConverterRoot &rParent, DataSequenceModel &rModel)
css::uno::Reference< css::chart2::data::XDataSequence > createDataSequence(const OUString &rRole)
Creates a data sequence object from the contained series data.
virtual ~DataSourceConverter() override
DataSourceConverter(const ConverterRoot &rParent, DataSourceModel &rModel)
sal_Int32 mnPointCount
Number format for double values.
SvNumFormatType meFormatType
Number of category levels.
DataSequenceRef mxDataSeq