42 static void GetChartRanges(
const css::uno::Reference< css::chart2::XChartDocument >& xChartDoc,
43 std::vector< OUString >& rRanges );
44 static void SetChartRanges(
const css::uno::Reference< css::chart2::XChartDocument >& xChartDoc,
45 const css::uno::Sequence< OUString >& rRanges );
51 const ScRangeListVector& rRangesVector, const ::std::vector< OUString >& rExcludedChartNames,
bool bSameDoc =
true );
::std::vector< ScRangeList > ScRangeListVector
Use this to handle charts in a calc document.
static void GetChartRanges(const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc, std::vector< OUString > &rRanges)
static void CreateProtectedChartListenersAndNotify(ScDocument &rDoc, const SdrPage *pPage, ScModelObj *pModelObj, SCTAB nTab, const ScRangeListVector &rRangesVector, const ::std::vector< OUString > &rExcludedChartNames, bool bSameDoc=true)
static void UpdateChartsOnDestinationPage(ScDocument &rDestDoc, const SCTAB nDestTab)
static sal_uInt16 DoUpdateAllCharts(ScDocument &rDoc)
static void SetChartRanges(const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc, const css::uno::Sequence< OUString > &rRanges)
static void GetChartNames(::std::vector< OUString > &rChartNames, const SdrPage *pPage)
static void FillProtectedChartRangesVector(ScRangeListVector &rRangesVector, const ScDocument &rDocument, const SdrPage *pPage)
static void AddRangesIfProtectedChart(ScRangeListVector &rRangesVector, const ScDocument &rDocument, SdrObject *pObject)
static void AdjustRangesOfChartsOnDestinationPage(const ScDocument &rSrcDoc, ScDocument &rDestDoc, const SCTAB nSrcTab, const SCTAB nDestTab)
static css::uno::Reference< css::chart2::XChartDocument > GetChartFromSdrObject(const SdrObject *pObject)
EmbeddedObjectRef * pObject