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 *pDoc)
 
static void AdjustRangesOfChartsOnDestinationPage (const ScDocument &rSrcDoc, ScDocument &rDestDoc, const SCTAB nSrcTab, const SCTAB nDestTab)
 
static void UpdateChartsOnDestinationPage (ScDocument *pDestDoc, 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 36 of file charthelper.hxx.

Member Function Documentation

void ScChartHelper::AddRangesIfProtectedChart ( ScRangeListVector rRangesVector,
const ScDocument rDocument,
SdrObject pObject 
)
static
void ScChartHelper::AdjustRangesOfChartsOnDestinationPage ( const ScDocument rSrcDoc,
ScDocument rDestDoc,
const SCTAB  nSrcTab,
const SCTAB  nDestTab 
)
static
void ScChartHelper::CreateProtectedChartListenersAndNotify ( ScDocument rDoc,
const SdrPage pPage,
ScModelObj pModelObj,
SCTAB  nTab,
const ScRangeListVector rRangesVector,
const ::std::vector< OUString > &  rExcludedChartNames,
bool  bSameDoc = true 
)
static
sal_uInt16 ScChartHelper::DoUpdateAllCharts ( ScDocument pDoc)
static

Definition at line 107 of file charthelper.cxx.

Referenced by ScDocument::ModifyStyleSheet().

void ScChartHelper::FillProtectedChartRangesVector ( ScRangeListVector rRangesVector,
const ScDocument rDocument,
const SdrPage pPage 
)
static
uno::Reference< chart2::XChartDocument > ScChartHelper::GetChartFromSdrObject ( const SdrObject pObject)
static
void ScChartHelper::GetChartNames ( ::std::vector< OUString > &  rChartNames,
const SdrPage pPage 
)
static
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().

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.

Referenced by ScDocument::SetChartRanges().

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

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