diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-01 01:15:02 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-01 01:18:50 -0400 |
commit | 3c4fb52d8fc89fe43983991ed2339295b2e0ef8c (patch) | |
tree | e1f5f8f6f047edad2d610394c737ff2f1ceca44c /sc/inc/refhint.hxx | |
parent | 0e443b773454fa153827753812757d88eea932c5 (diff) |
fdo#78079: Re-work sort by column to get it to do the right thing.
Also fixed reference update problem.
Change-Id: I06e6115ef969a011fdd5c92d5eb1927fb7ae789b
Diffstat (limited to 'sc/inc/refhint.hxx')
-rw-r--r-- | sc/inc/refhint.hxx | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sc/inc/refhint.hxx b/sc/inc/refhint.hxx index b9ddf046fb8a..9ded863d5f98 100644 --- a/sc/inc/refhint.hxx +++ b/sc/inc/refhint.hxx @@ -18,7 +18,7 @@ namespace sc { class RefHint : public SfxSimpleHint { public: - enum Type { Moved }; + enum Type { Moved, ColumnReordered }; private: Type meType; @@ -55,6 +55,24 @@ public: const ScAddress& getDelta() const; }; +class RefColReorderHint : public RefHint +{ + const sc::ColReorderMapType& mrColMap; + SCTAB mnTab; + SCROW mnRow1; + SCROW mnRow2; + +public: + RefColReorderHint( const sc::ColReorderMapType& rColMap, SCTAB nTab, SCROW nRow1, SCROW nRow2 ); + virtual ~RefColReorderHint(); + + const sc::ColReorderMapType& getColMap() const; + + SCTAB getTab() const; + SCROW getStartRow() const; + SCROW getEndRow() const; +}; + } #endif |