22#include <rtl/ustring.hxx>
29namespace chart {
class ChartModel; }
37 class XDataSeriesContainer;
42 class XLabeledDataSequence;
49class ChartTypeTemplate;
51struct InterpretedData;
52class LabeledDataSequence;
53class RangeSelectionHelper;
72 std::pair< rtl::Reference< ::chart::DataSeries >,
76 typedef std::map< OUString, OUString >
82 std::shared_ptr< RangeSelectionHelper >
const &
88 css::uno::Reference< css::chart2::data::XDataProvider >
91 std::vector< rtl::Reference< ::chart::ChartType > >
94 std::vector< tSeriesWithChartTypeByName >
98 const css::uno::Reference< css::chart2::XDataSeries > & xSeries,
99 const OUString & aRoleOfSequenceForLabel,
113 const css::uno::Reference< css::chart2::XDataSeries > & xSeries,
115 bool bCreateDataCachedSequences =
false );
121 css::uno::Reference< css::chart2::data::XLabeledDataSequence >
124 void setCategories(
const css::uno::Reference< css::chart2::data::XLabeledDataSequence > & xCategories );
131 OUString & rOutRangeString,
132 bool & rOutUseColumns,
bool & rOutFirstCellAsLabel,
bool & rOutHasCategories )
const;
136 void setData(
const css::uno::Sequence< css::beans::PropertyValue > & rArguments );
138 void setTimeBasedRange(
bool bTimeBased, sal_Int32 nStart, sal_Int32 nEnd)
const;
159 mutable std::shared_ptr< RangeSelectionHelper >
std::vector< rtl::Reference< ::chart::ChartType > > getAllDataSeriesContainers() const
void setData(const css::uno::Sequence< css::beans::PropertyValue > &rArguments)
const rtl::Reference<::chart::ChartModel > & getChartModel() const
DialogModel(rtl::Reference<::chart::ChartModel > xChartDocument)
bool isCategoryDiagram() const
std::pair< OUString, std::pair< rtl::Reference< ::chart::DataSeries >, rtl::Reference< ::chart::ChartType > > > tSeriesWithChartTypeByName
std::shared_ptr< RangeSelectionHelper > m_spRangeSelectionHelper
void setCategories(const css::uno::Reference< css::chart2::data::XLabeledDataSequence > &xCategories)
static OUString GetRoleDataLabel()
void detectArguments(OUString &rOutRangeString, bool &rOutUseColumns, bool &rOutFirstCellAsLabel, bool &rOutHasCategories) const
std::vector< tSeriesWithChartTypeByName > getAllDataSeriesWithLabel() const
void setTemplate(const rtl::Reference< ::chart::ChartTypeTemplate > &xTemplate)
void setTimeBasedRange(bool bTimeBased, sal_Int32 nStart, sal_Int32 nEnd) const
void deleteSeries(const rtl::Reference< ::chart::DataSeries > &xSeries, const rtl::Reference< ::chart::ChartType > &xChartType)
rtl::Reference< ::chart::DataSeries > insertSeriesAfter(const css::uno::Reference< css::chart2::XDataSeries > &xSeries, const rtl::Reference< ::chart::ChartType > &xChartType, bool bCreateDataCachedSequences=false)
std::map< OUString, OUString > tRolesWithRanges
bool allArgumentsForRectRangeDetected() const
css::uno::Reference< css::chart2::data::XDataProvider > getDataProvider() const
static OUString ConvertRoleFromInternalToUI(const OUString &rRoleString)
ChartModel & getModel() const
void moveSeries(const rtl::Reference< DataSeries > &xSeries, MoveDirection eDirection)
sal_Int32 countSeries() const
std::shared_ptr< RangeSelectionHelper > const & getRangeSelectionHelper() const
void startControllerLockTimer()
rtl::Reference<::chart::ChartModel > m_xChartDocument
TimerTriggeredControllerLock m_aTimerTriggeredControllerLock
static sal_Int32 GetRoleIndexForSorting(const OUString &rInternalRoleString)
css::uno::Reference< css::chart2::data::XLabeledDataSequence > getCategories() const
DialogModelTimeBasedInfo maTimeBasedInfo
static tRolesWithRanges getRolesWithRanges(const css::uno::Reference< css::chart2::XDataSeries > &xSeries, const OUString &aRoleOfSequenceForLabel, const rtl::Reference< ::chart::ChartType > &xChartType)
rtl::Reference< ::chart::ChartTypeTemplate > m_xTemplate
const DialogModelTimeBasedInfo & getTimeBasedInfo() const
OUString getCategoriesRange() const
void applyInterpretedData(const InterpretedData &rNewData, const std::vector< rtl::Reference< ::chart::DataSeries > > &rSeriesToReUse)
DialogModelTimeBasedInfo()
offers tooling to interpret different data sources in a structural and chart-type-dependent way.