summaryrefslogtreecommitdiff
path: root/sc/inc/docuno.hxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-01-05 20:39:55 +0200
committerTor Lillqvist <tml@collabora.com>2015-01-05 22:43:01 +0200
commit88fe046c158d5a20f8f9fa14a7d734ea3aaa85be (patch)
tree751f98bd2e4dba4debb089b2d75dd02e15c3de01 /sc/inc/docuno.hxx
parent4ac34fbf0238324687c2732cc9dec8f2f5b3866b (diff)
Extend the Calc UNO API for the conditions whether to use OpenCL for a formula
Setters/getters for the flag whether to restrict OpenCL to formulas that use a subset of opcodes, and the lower limit on number of cells a fomula should refer to in order for OpenCL to be considered. Change-Id: Ifeb11d4e4003f13e392fe03f1ce2f89147f46e38
Diffstat (limited to 'sc/inc/docuno.hxx')
-rw-r--r--sc/inc/docuno.hxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx
index da0ea2537f1d..9f7ed0afccb5 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -353,6 +353,20 @@ public:
SAL_CALL getOpenCLPlatforms()
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL enableOpcodeSubsetTest()
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+ virtual void SAL_CALL disableOpcodeSubsetTest()
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+ virtual sal_Bool SAL_CALL isOpcodeSubsetTested()
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+ virtual void SAL_CALL setFormulaCellNumberLimit( sal_Int32 number )
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+ virtual sal_Int32 SAL_CALL getFormulaCellNumberLimit()
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// ITiledRenderable
virtual void paintTile( VirtualDevice& rDevice,