summaryrefslogtreecommitdiff
path: root/sc/inc/document.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r--sc/inc/document.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 8bf2570bf2f8..32dfc7d1b9cb 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: document.hxx,v $
- * $Revision: 1.112 $
+ * $Revision: 1.113 $
*
* This file is part of OpenOffice.org.
*
@@ -42,6 +42,7 @@
#include "brdcst.hxx"
#include "tabopparams.hxx"
#include "grammar.hxx"
+#include <com/sun/star/chart2/XChartDocument.hpp>
#include <memory>
#include <map>
@@ -496,6 +497,11 @@ SC_DLLPUBLIC ScDBCollection* GetDBCollection() const;
SdrObject* GetObjectAtPoint( SCTAB nTab, const Point& rPos );
BOOL HasChartAtPoint( SCTAB nTab, const Point& rPos, String* pName = NULL );
+
+ ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartDocument > GetChartByName( const String& rChartName );
+ void GetChartRanges( const String& rChartName, ::std::vector< ScRangeList >& rRanges, ScDocument* pSheetNameDoc );
+ void SetChartRanges( const String& rChartName, const ::std::vector< ScRangeList >& rRanges );
+
void UpdateChartArea( const String& rChartName, const ScRange& rNewArea,
BOOL bColHeaders, BOOL bRowHeaders, BOOL bAdd );
void UpdateChartArea( const String& rChartName,