summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/charthelper.hxx7
-rw-r--r--include/svx/svdoole2.hxx1
2 files changed, 8 insertions, 0 deletions
diff --git a/include/svx/charthelper.hxx b/include/svx/charthelper.hxx
index bfa1bf783650..f88b8c4e370d 100644
--- a/include/svx/charthelper.hxx
+++ b/include/svx/charthelper.hxx
@@ -25,11 +25,18 @@
#include <basegfx/range/b2drange.hxx>
#include <svx/svxdllapi.h>
#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
+#include <com/sun/star/chart2/XDiagram.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
class SVX_DLLPUBLIC ChartHelper
{
public:
+ /// Check that the XDiagram is a real 3D chart.
+ static bool isGL3DDiagram(const css::uno::Reference<css::chart2::XDiagram>& xDiagram);
+
+ /// Use chart's XUpdatable::update() to update values.
+ static void updateChart(const css::uno::Reference< css::frame::XModel >& rXModel);
+
// try to access rXModel in case of a chart to to get the chart content
// as sequence of primitives. Return range of primitives (chart size) in rRange;
// it will be used to embed the chart to the SdrObject transformation. This
diff --git a/include/svx/svdoole2.hxx b/include/svx/svdoole2.hxx
index fe41d2f64d9a..f14646b20428 100644
--- a/include/svx/svdoole2.hxx
+++ b/include/svx/svdoole2.hxx
@@ -153,6 +153,7 @@ public:
// #109985#
bool IsChart() const;
+ bool IsReal3DChart() const;
bool IsCalc() const;
bool UpdateLinkURL_Impl();