diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-09-16 19:50:19 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-10-02 21:32:24 -0400 |
commit | dd617c0bbe4906e8d6e589289f42415738f00006 (patch) | |
tree | 86bb5f56e14cd30a947366ff504c2389b2a8ef47 /sc/inc/document.hxx | |
parent | Update mdds to 0.11.1. (diff) | |
download | core-dd617c0bbe4906e8d6e589289f42415738f00006.tar.gz core-dd617c0bbe4906e8d6e589289f42415738f00006.zip |
New feature to allow converting formula cells to static values.
You used to have to convert formula cells to static values by copying
them and pasting them as values onto the original place. Why not just
allow converting them in place?
This is something I've always wanted to implement.
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r-- | sc/inc/document.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 1d14b9f0382b..41fcffbd5f27 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -75,6 +75,7 @@ struct FormulaGroupContext; class DocumentStreamAccess; class DocumentLinkManager; class CellValues; +class TableValues; class RowHeightContext; struct SetFormulaDirtyContext; class RefMovedHint; @@ -2110,6 +2111,10 @@ public: void SetCalcConfig( const ScCalcConfig& rConfig ); const ScCalcConfig& GetCalcConfig() const { return maCalcConfig; } + void ConvertFormulaToValue( const ScRange& rRange, sc::TableValues* pUndo ); + + void SwapNonEmpty( sc::TableValues& rValues ); + private: /** |