summaryrefslogtreecommitdiff
path: root/sc/inc/charthelper.hxx
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2010-03-10 10:07:29 +0100
committerIngrid Halama <iha@openoffice.org>2010-03-10 10:07:29 +0100
commita4d17fb0d40f2dc13d073df9d38a54c1ff1f3d21 (patch)
tree22fbac7ac7b6dc5c8ddd09f2d123853591549801 /sc/inc/charthelper.hxx
parent6616bad4c5f200c3e3db340682e33ae239a5964c (diff)
chart43: cleanup some chart code
Diffstat (limited to 'sc/inc/charthelper.hxx')
-rw-r--r--sc/inc/charthelper.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sc/inc/charthelper.hxx b/sc/inc/charthelper.hxx
index 561aa0026e60..50b8586bdace 100644
--- a/sc/inc/charthelper.hxx
+++ b/sc/inc/charthelper.hxx
@@ -32,6 +32,10 @@
#include "address.hxx"
#include "global.hxx"
+#include <com/sun/star/chart2/XChartDocument.hpp>
+
+class SdrObject;
+
/** Use this to handle charts in a calc document
*/
class ScChartHelper
@@ -40,6 +44,11 @@ public:
static USHORT DoUpdateAllCharts( ScDocument* pDoc );
static USHORT DoUpdateCharts( const ScAddress& rPos, ScDocument* pDoc ); //use this to replace ScDBFunc::DoUpdateCharts in future
static void AdjustRangesOfChartsOnDestinationPage( ScDocument* pSrcDoc, ScDocument* pDestDoc, const SCTAB nSrcTab, const SCTAB nDestTab );
+ static ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartDocument > GetChartFromSdrObject( SdrObject* pObject );
+ static void GetChartRanges( const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartDocument >& xChartDoc,
+ ::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 );
};
#endif