LibreOffice Module sc (master) 1
Static Public Member Functions | List of all members
ScChartHelper Class Reference

Use this to handle charts in a calc document. More...

#include <charthelper.hxx>

Static Public Member Functions

static sal_uInt16 DoUpdateAllCharts (ScDocument &rDoc)
static void AdjustRangesOfChartsOnDestinationPage (const ScDocument &rSrcDoc, ScDocument &rDestDoc, const SCTAB nSrcTab, const SCTAB nDestTab)
static void UpdateChartsOnDestinationPage (ScDocument &rDestDoc, const SCTAB nDestTab)
static css::uno::Reference< css::chart2::XChartDocument > GetChartFromSdrObject (const SdrObject *pObject)
static void GetChartRanges (const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc, std::vector< OUString > &rRanges)
static void SetChartRanges (const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc, const css::uno::Sequence< OUString > &rRanges)
static void AddRangesIfProtectedChart (ScRangeListVector &rRangesVector, const ScDocument &rDocument, SdrObject *pObject)
static void FillProtectedChartRangesVector (ScRangeListVector &rRangesVector, const ScDocument &rDocument, const SdrPage *pPage)
static void GetChartNames (::std::vector< OUString > &rChartNames, const SdrPage *pPage)
static void CreateProtectedChartListenersAndNotify (ScDocument &rDoc, const SdrPage *pPage, ScModelObj *pModelObj, SCTAB nTab, const ScRangeListVector &rRangesVector, const ::std::vector< OUString > &rExcludedChartNames, bool bSameDoc=true)

Detailed Description

Use this to handle charts in a calc document.

Definition at line 35 of file charthelper.hxx.

Member Function Documentation

◆ AddRangesIfProtectedChart()

void ScChartHelper::AddRangesIfProtectedChart ( ScRangeListVector rRangesVector,
const ScDocument rDocument,
SdrObject pObject 

◆ AdjustRangesOfChartsOnDestinationPage()

void ScChartHelper::AdjustRangesOfChartsOnDestinationPage ( const ScDocument rSrcDoc,
ScDocument rDestDoc,
const SCTAB  nSrcTab,
const SCTAB  nDestTab 

◆ CreateProtectedChartListenersAndNotify()

void ScChartHelper::CreateProtectedChartListenersAndNotify ( ScDocument rDoc,
const SdrPage pPage,
ScModelObj pModelObj,
SCTAB  nTab,
const ScRangeListVector rRangesVector,
const ::std::vector< OUString > &  rExcludedChartNames,
bool  bSameDoc = true 

◆ DoUpdateAllCharts()

sal_uInt16 ScChartHelper::DoUpdateAllCharts ( ScDocument rDoc)

Definition at line 109 of file charthelper.cxx.

Referenced by ScDocument::ModifyStyleSheet().

◆ FillProtectedChartRangesVector()

void ScChartHelper::FillProtectedChartRangesVector ( ScRangeListVector rRangesVector,
const ScDocument rDocument,
const SdrPage pPage 

◆ GetChartFromSdrObject()

uno::Reference< chart2::XChartDocument > ScChartHelper::GetChartFromSdrObject ( const SdrObject pObject)

◆ GetChartNames()

void ScChartHelper::GetChartNames ( ::std::vector< OUString > &  rChartNames,
const SdrPage pPage 

◆ GetChartRanges()

void ScChartHelper::GetChartRanges ( const css::uno::Reference< css::chart2::XChartDocument > &  xChartDoc,
std::vector< OUString > &  rRanges 

Definition at line 194 of file charthelper.cxx.

Referenced by ScDocument::GetChartRanges().

◆ SetChartRanges()

void ScChartHelper::SetChartRanges ( const css::uno::Reference< css::chart2::XChartDocument > &  xChartDoc,
const css::uno::Sequence< OUString > &  rRanges 

Definition at line 218 of file charthelper.cxx.


Referenced by ScDocument::SetChartRanges().

◆ UpdateChartsOnDestinationPage()

void ScChartHelper::UpdateChartsOnDestinationPage ( ScDocument rDestDoc,
const SCTAB  nDestTab 

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