26using ::com::sun::star::uno::Sequence;
27using ::com::sun::star::uno::Reference;
40 m_aDataSeq( rSequences )
44 const std::vector< uno::Reference< chart2::data::XLabeledDataSequence > > & rSequences )
46 m_aDataSeq = comphelper::containerToSequence< Reference< chart2::data::XLabeledDataSequence > >(rSequences);
66 return "com.sun.star.comp.chart.DataSource";
76 return {
"com.sun.star.chart2.data.DataSource" };
81extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface *
83 css::uno::Sequence<css::uno::Any>
const &)
85 return cppu::acquire(new ::chart::DataSource);
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_chart_DataSource_get_implementation(css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual ~DataSource() override
virtual css::uno::Sequence< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > SAL_CALL getDataSequences() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL setData(const css::uno::Sequence< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > &aData) override
virtual OUString SAL_CALL getImplementationName() override
declare XServiceInfo methods
css::uno::Sequence< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > m_aDataSeq
constexpr OUStringLiteral aData
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)