diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-01-05 20:39:55 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-01-05 22:43:01 +0200 |
commit | 88fe046c158d5a20f8f9fa14a7d734ea3aaa85be (patch) | |
tree | 751f98bd2e4dba4debb089b2d75dd02e15c3de01 /offapi | |
parent | 4ac34fbf0238324687c2732cc9dec8f2f5b3866b (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 'offapi')
-rw-r--r-- | offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl b/offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl index cbf1af065435..b7f47b8565ee 100644 --- a/offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl +++ b/offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl @@ -74,6 +74,31 @@ interface XOpenCLSelection : com::sun::star::uno::XInterface */ sequence< OpenCLPlatform > getOpenCLPlatforms(); + /* + * Sets OpenCL to be considered only for formulas that use only a specific subset of opcodes. + */ + void enableOpcodeSubsetTest(); + + /* + * Sets OpenCL to be considered for formulas regardless of what opcodes they contain. + */ + void disableOpcodeSubsetTest(); + + /* + * Returns whether OpenCL is considered or not depending on the opcodes a formula uses. + */ + boolean isOpcodeSubsetTested(); + + /* + * Sets the lower limit on the number of cells involved in a formula for OpenCL to be considered. + */ + void setFormulaCellNumberLimit( [in] long number ); + + /* + * Returns the lower limit on the number of cells involved in a formula for OpenCL to be considered. + */ + long getFormulaCellNumberLimit(); + }; }; }; }; }; }; |