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 
)
static

◆ AdjustRangesOfChartsOnDestinationPage()

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

◆ CreateProtectedChartListenersAndNotify()

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

◆ DoUpdateAllCharts()

sal_uInt16 ScChartHelper::DoUpdateAllCharts ( ScDocument rDoc)
static

Definition at line 109 of file charthelper.cxx.

Referenced by ScDocument::ModifyStyleSheet().

◆ FillProtectedChartRangesVector()

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

◆ GetChartFromSdrObject()

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

◆ GetChartNames()

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

◆ GetChartRanges()

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

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 
)
static

Definition at line 218 of file charthelper.cxx.

References TOOLS_WARN_EXCEPTION.

Referenced by ScDocument::SetChartRanges().

◆ UpdateChartsOnDestinationPage()

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

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