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/table.hxx | |
parent | 8030c21def37f965a35b534038659fd0b513887c (diff) |
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/table.hxx')
-rw-r--r-- | sc/inc/table.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index fb5d6f9dcada..e0c6e2170b52 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -69,6 +69,7 @@ struct RefUpdateMoveTabContext; struct NoteEntry; class DocumentStreamAccess; class CellValues; +class TableValues; class RowHeightContext; class CompileFormulaContext; struct SetFormulaDirtyContext; @@ -934,6 +935,13 @@ public: void TransferCellValuesTo( SCCOL nCol, SCROW nRow, size_t nLen, sc::CellValues& rDest ); void CopyCellValuesFrom( SCCOL nCol, SCROW nRow, const sc::CellValues& rSrc ); + void ConvertFormulaToValue( + sc::EndListeningContext& rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, + sc::TableValues* pUndo ); + + void SwapNonEmpty( + sc::TableValues& rValues, sc::StartListeningContext& rStartCxt, sc::EndListeningContext& rEndCxt ); + #if DEBUG_COLUMN_STORAGE void DumpFormulaGroups( SCCOL nCol ) const; #endif |