diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-21 17:18:37 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-21 17:18:37 +0100 |
commit | d672102cc70fa4b24eed730e89e9e766cc10a525 (patch) | |
tree | ee6e081a403e1e23af6ec7850a34eb10fc7fc8fd /sc/inc/charthelper.hxx | |
parent | 9617758b4b0997f5981a1303684ba9c9a4dd148b (diff) | |
parent | 6f68642b7b2310b902264849a5ffc5dca6c15510 (diff) |
removetooltypes01: Rebase to DEV300m98
Diffstat (limited to 'sc/inc/charthelper.hxx')
-rw-r--r-- | sc/inc/charthelper.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sc/inc/charthelper.hxx b/sc/inc/charthelper.hxx index b7c3279370cf..8ee894e6a55a 100644 --- a/sc/inc/charthelper.hxx +++ b/sc/inc/charthelper.hxx @@ -31,10 +31,15 @@ #include <tools/solar.h> #include "address.hxx" #include "global.hxx" +#include "rangelst.hxx" #include <com/sun/star/chart2/XChartDocument.hpp> class SdrObject; +class SdrPage; +class ScModelObj; + +typedef ::std::vector< ScRangeList > ScRangeListVector; /** Use this to handle charts in a calc document */ @@ -49,6 +54,12 @@ public: ::com::sun::star::uno::Sequence< rtl::OUString >& rRanges ); static void SetChartRanges( const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartDocument >& xChartDoc, const ::com::sun::star::uno::Sequence< rtl::OUString >& rRanges ); + + static void AddRangesIfProtectedChart( ScRangeListVector& rRangesVector, ScDocument* pDocument, SdrObject* pObject ); + static void FillProtectedChartRangesVector( ScRangeListVector& rRangesVector, ScDocument* pDocument, SdrPage* pPage ); + static void GetChartNames( ::std::vector< ::rtl::OUString >& rChartNames, SdrPage* pPage ); + static void CreateProtectedChartListenersAndNotify( ScDocument* pDoc, SdrPage* pPage, ScModelObj* pModelObj, SCTAB nTab, + const ScRangeListVector& rRangesVector, const ::std::vector< ::rtl::OUString >& rExcludedChartNames, bool bSameDoc = true ); }; #endif |