LibreOffice Module chart2 (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
chart::ColumnLineDataInterpreter Class Reference

#include <ColumnLineDataInterpreter.hxx>

Inheritance diagram for chart::ColumnLineDataInterpreter:
[legend]
Collaboration diagram for chart::ColumnLineDataInterpreter:
[legend]

Public Member Functions

 ColumnLineDataInterpreter (sal_Int32 nNumberOfLines)
 
virtual ~ColumnLineDataInterpreter () override
 
- Public Member Functions inherited from chart::DataInterpreter
 DataInterpreter ()
 
virtual ~DataInterpreter () override
 
virtual OUString SAL_CALL getImplementationName () override
 XServiceInfo declarations. More...
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual InterpretedData interpretDataSource (const css::uno::Reference< css::chart2::data::XDataSource > &xSource, const css::uno::Sequence< css::beans::PropertyValue > &aArguments, const std::vector< rtl::Reference< ::chart::DataSeries > > &aSeriesToReUse)
 Interprets the given data. More...
 
virtual InterpretedData reinterpretDataSeries (const InterpretedData &aInterpretedData)
 Re-interprets the data given in aInterpretedData while keeping the number of data series and the categories. More...
 
virtual bool isDataCompatible (const InterpretedData &aInterpretedData)
 parses the given data and states, if a reinterpretDataSeries() call can be done without data loss. More...
 
virtual css::uno::Any getChartTypeSpecificData (const OUString &sKey)
 Get chart information that is specific to a particular chart type, by key. More...
 

Protected Member Functions

virtual InterpretedData interpretDataSource (const css::uno::Reference< css::chart2::data::XDataSource > &xSource, const css::uno::Sequence< css::beans::PropertyValue > &aArguments, const std::vector< rtl::Reference<::chart::DataSeries > > &aSeriesToReUse) override
 

Private Attributes

sal_Int32 m_nNumberOfLines
 

Additional Inherited Members

- Static Public Member Functions inherited from chart::DataInterpreter
static OUString GetRole (const css::uno::Reference< css::chart2::data::XDataSequence > &xSeq)
 
static void SetRole (const css::uno::Reference< css::chart2::data::XDataSequence > &xSeq, const OUString &rRole)
 
static css::uno::Any GetProperty (const css::uno::Sequence< css::beans::PropertyValue > &aArguments, std::u16string_view rName)
 
static bool HasCategories (const css::uno::Sequence< css::beans::PropertyValue > &rArguments, const std::vector< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > &rData)
 
static bool UseCategoriesAsX (const css::uno::Sequence< css::beans::PropertyValue > &rArguments)
 
static std::vector< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > getDataSequences (const css::uno::Reference< css::chart2::data::XDataSource > &xSource)
 
static rtl::Reference< ::chart::DataSourcemergeInterpretedData (const InterpretedData &aInterpretedData)
 Try to reverse the operation done in interpretDataSource(). More...
 

Detailed Description

Definition at line 25 of file ColumnLineDataInterpreter.hxx.

Constructor & Destructor Documentation

◆ ColumnLineDataInterpreter()

chart::ColumnLineDataInterpreter::ColumnLineDataInterpreter ( sal_Int32  nNumberOfLines)
explicit

Definition at line 36 of file ColumnLineDataInterpreter.cxx.

◆ ~ColumnLineDataInterpreter()

chart::ColumnLineDataInterpreter::~ColumnLineDataInterpreter ( )
overridevirtual

Definition at line 41 of file ColumnLineDataInterpreter.cxx.

Member Function Documentation

◆ interpretDataSource()

InterpretedData chart::ColumnLineDataInterpreter::interpretDataSource ( const css::uno::Reference< css::chart2::data::XDataSource > &  xSource,
const css::uno::Sequence< css::beans::PropertyValue > &  aArguments,
const std::vector< rtl::Reference<::chart::DataSeries > > &  aSeriesToReUse 
)
overrideprotectedvirtual

Member Data Documentation

◆ m_nNumberOfLines

sal_Int32 chart::ColumnLineDataInterpreter::m_nNumberOfLines
private

Definition at line 39 of file ColumnLineDataInterpreter.hxx.

Referenced by interpretDataSource().


The documentation for this class was generated from the following files: