23#include <com/sun/star/uno/Reference.h>
24#include <com/sun/star/uno/Sequence.h>
27namespace chart {
class ChartModel; }
40class LabeledDataSequence;
45 static css::uno::Reference< css::chart2::data::XDataSequence >
46 createCachedDataSequence();
48 static css::uno::Reference< css::chart2::data::XDataSequence >
49 createCachedDataSequence(
const OUString & rSingleText );
53 const css::uno::Reference< css::chart2::data::XDataSequence >& xValues ,
54 const css::uno::Reference< css::chart2::data::XDataSequence >& xLabels );
58 const css::uno::Reference< css::chart2::data::XDataSequence >& xValues );
61 createLabeledDataSequence();
63 static css::uno::Sequence< css::beans::PropertyValue >
65 bool bUseColumns,
bool bFirstCellAsLabel,
bool bHasCategories );
67 static css::uno::Sequence<
69 const OUString & rRangeRepresentation,
70 const css::uno::Sequence< sal_Int32 >& rSequenceMapping,
71 bool bUseColumns,
bool bFirstCellAsLabel,
bool bHasCategories );
73 SAL_DLLPRIVATE
static void readArguments(
const css::uno::Sequence< css::beans::PropertyValue >& rArguments
74 , OUString & rRangeRepresentation, css::uno::Sequence< sal_Int32 >& rSequenceMapping
75 ,
bool& bUseColumns,
bool& bFirstCellAsLabel,
bool& bHasCategories );
83 static css::uno::Sequence< OUString > getUsedDataRanges(
89 static bool detectRangeSegmentation(
91 , OUString& rOutRangeString
92 , css::uno::Sequence< sal_Int32 >& rSequenceMapping
93 ,
bool& rOutUseColumns
94 ,
bool& rOutFirstCellAsLabel
95 ,
bool& rOutHasCategories );
97 static void setRangeSegmentation(
99 ,
const css::uno::Sequence< sal_Int32 >& rSequenceMapping
101 ,
bool bFirstCellAsLabel
102 ,
bool bUseCategories );
111 static bool allArgumentsForRectRangeDetected(
114 SAL_DLLPRIVATE
static css::uno::Sequence< OUString > getRangesFromLabeledDataSequence(
115 const css::uno::Reference< css::chart2::data::XLabeledDataSequence > & xLSeq );
117 SAL_DLLPRIVATE
static OUString getRangeFromValues(
118 const css::uno::Reference< css::chart2::data::XLabeledDataSequence > & xLSeq );
120 SAL_DLLPRIVATE
static css::uno::Sequence< OUString > getRangesFromDataSource(
121 const css::uno::Reference< css::chart2::data::XDataSource > & xSource );
static SAL_DLLPRIVATE css::uno::Sequence< OUString > getUsedDataRanges(const rtl::Reference< ::chart::Diagram > &xDiagram)
static rtl::Reference< LabeledDataSequence > createLabeledDataSequence(const css::uno::Reference< css::chart2::data::XDataSequence > &xValues, const css::uno::Reference< css::chart2::data::XDataSequence > &xLabels)
static rtl::Reference< LabeledDataSequence > createLabeledDataSequence(const css::uno::Reference< css::chart2::data::XDataSequence > &xValues)
static css::uno::Sequence< css::beans::PropertyValue > createArguments(const OUString &rRangeRepresentation, const css::uno::Sequence< sal_Int32 > &rSequenceMapping, bool bUseColumns, bool bFirstCellAsLabel, bool bHasCategories)