29#include <com/sun/star/lang/XServiceInfo.hpp>
30#include <com/sun/star/lang/XInitialization.hpp>
31#include <com/sun/star/chart2/data/XDataSequence.hpp>
32#include <com/sun/star/chart2/data/XNumericalDataSequence.hpp>
33#include <com/sun/star/chart2/data/XTextualDataSequence.hpp>
34#include <com/sun/star/util/XCloneable.hpp>
44typedef ::cppu::WeakComponentImplHelper<
45 css::chart2::data::XDataSequence,
46 css::chart2::data::XNumericalDataSequence,
47 css::chart2::data::XTextualDataSequence,
48 css::util::XCloneable,
49 css::util::XModifyBroadcaster,
50 css::lang::XInitialization,
51 css::lang::XServiceInfo >
69 explicit CachedDataSequence(
const css::uno::Reference< css::uno::XComponentContext > & xContext );
89 DECLARE_XTYPEPROVIDER()
104 css::chart2::data::LabelOrigin nLabelOrigin ) override;
120 const css::
uno::
Reference< css::util::XModifyListener >& aListener ) override;
122 const css::
uno::
Reference< css::util::XModifyListener >& aListener ) override;
This sequence object does store actual values within, hence "cached".
virtual void SAL_CALL addModifyListener(const css::uno::Reference< css::util::XModifyListener > &aListener) override
rtl::Reference< ModifyEventForwarder > m_xModifyEventForwarder
css::uno::Sequence< css::uno::Any > m_aMixedSequence
virtual OUString SAL_CALL getSourceRangeRepresentation() override
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const override
virtual css::uno::Sequence< OUString > SAL_CALL getTextualData() override
virtual css::uno::Sequence< double > SAL_CALL getNumericalData() override
CachedDataSequence(const css::uno::Reference< css::uno::XComponentContext > &xContext)
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
css::uno::Sequence< double > m_aNumericalSequence
css::uno::Sequence< css::uno::Any > Impl_getMixedData() const
is used by interface method getData().
CachedDataSequence()
constructs an empty sequence
enum DataType m_eCurrentDataType
virtual void SAL_CALL removeModifyListener(const css::uno::Reference< css::util::XModifyListener > &aListener) override
void registerProperties()
This method registers all properties.
virtual ~CachedDataSequence() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
merge XInterface implementations
virtual css::uno::Sequence< OUString > SAL_CALL generateLabel(css::chart2::data::LabelOrigin nLabelOrigin) override
css::uno::Sequence< OUString > Impl_getTextualData() const
is used by interface method getTextualData().
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getData() override
virtual ::sal_Int32 SAL_CALL getNumberFormatKeyByIndex(::sal_Int32 nIndex) override
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override
virtual OUString SAL_CALL getImplementationName() override
declare XServiceInfo methods
css::uno::Sequence< double > Impl_getNumericalData() const
is used by interface method getNumericalData().
sal_Int32 m_nNumberFormatKey
css::uno::Sequence< OUString > m_aTextualSequence
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
::cppu::WeakComponentImplHelper< css::chart2::data::XDataSequence, css::chart2::data::XNumericalDataSequence, css::chart2::data::XTextualDataSequence, css::util::XCloneable, css::util::XModifyBroadcaster, css::lang::XInitialization, css::lang::XServiceInfo > CachedDataSequence_Base
#define DECLARE_XINTERFACE()