diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-12 13:15:13 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-18 08:31:55 -0500 |
commit | e969c131a2d8ca21d32e5caaa302ee904021a1e5 (patch) | |
tree | 6d6ac38baa806e64fe27bbb7096e7fc88298d035 /sc/inc | |
parent | 4a43b77e84708225b94197c0c595ed2a03bba7b2 (diff) |
Differentiate shared and non-shared formula cells when registering.
For now this is just for a pure redirection, but later we'll use this
to do a different area listening registration for grouped formula cells.
Change-Id: I8e68bb53c3e96821175ae562ef36ec5e800c8688
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/sharedformula.hxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sc/inc/sharedformula.hxx b/sc/inc/sharedformula.hxx index b29843f8547a..e1799bf70e0b 100644 --- a/sc/inc/sharedformula.hxx +++ b/sc/inc/sharedformula.hxx @@ -17,6 +17,8 @@ namespace sc { +class StartListeningContext; + class SharedFormulaUtil { public: @@ -109,6 +111,18 @@ public: * @param rRows row positions at which to unshare formula cells. */ static void unshareFormulaCells(CellStoreType& rCells, std::vector<SCROW>& rRows); + + /** + * Have all formula cells belonging to a group start listening to their + * references. + * + * @param rCxt context object. + * @param ppSharedTop memory position of the pointer of the topmost + * formula cell instance in the cell storage. The + * caller is responsible for ensuring that it is indeed + * the topmost cell of a shared formula group. + */ + static void startListeningAsGroup( StartListeningContext& rCxt, ScFormulaCell** ppSharedTop ); }; } |