summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-08-11 09:54:20 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-08-29 17:40:27 +0200
commit9991b50ccc6ef3d26c28859b4a31504bd5001368 (patch)
treeca80d9c0ea408a25d4eadad31e1d97e14d9d91cd /include/svtools
parentbd9a4e19227834381dd776d8fc13e5f1ecdf92b3 (diff)
Make opengl chart window always active
Fortunately there is a special ole object group with the MS_EMBED_ACTIVATEWHENVISIBLE flag which define this behaviour. Problem is that both Aspect and EmbedMisc are MS specific enums so we can't use them directly for non-MS objects. But we can handle opengl charts the same as this ole object group. Change-Id: I49abeffce319cbb775709a72ba198a1f76b65374
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/embedhlp.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svtools/embedhlp.hxx b/include/svtools/embedhlp.hxx
index 30d690c92ce1..f157ce6c7761 100644
--- a/include/svtools/embedhlp.hxx
+++ b/include/svtools/embedhlp.hxx
@@ -68,6 +68,7 @@ public:
throw();
static bool IsChart(const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >& xObj);
+ static bool IsGLChart(const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >& xObj);
const com::sun::star::uno::Reference <com::sun::star::embed::XEmbeddedObject>& operator->() const;
const com::sun::star::uno::Reference <com::sun::star::embed::XEmbeddedObject>& GetObject() const;
@@ -109,6 +110,7 @@ public:
bool IsLocked() const;
bool IsChart() const;
+ bool IsGLChart() const;
OUString GetChartType();