summaryrefslogtreecommitdiff
path: root/include/svx/charthelper.hxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-09-12 12:54:11 +0200
committerJan Holesovsky <kendy@collabora.com>2014-09-12 13:03:52 +0200
commitaa325833295e3983d93758b0e1194d7fb9365ee7 (patch)
tree03a8d73b46512209abb78aeca541cd1315c2fac8 /include/svx/charthelper.hxx
parentd41747cb4232e1feec8f41874cb53c4dacce51d9 (diff)
3D charts: Update the 3D charts when a value changes.
Change-Id: I9c4052108446959ff6f5215d704b496e7a8e6aee
Diffstat (limited to 'include/svx/charthelper.hxx')
-rw-r--r--include/svx/charthelper.hxx7
1 files changed, 7 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