diff options
author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-11-21 13:52:52 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-11-21 19:31:11 +0100 |
commit | bc8458e9b8473ea391f8150ce7b2c1765e936fdf (patch) | |
tree | cfdaf0c3c6e9dd711860bf9939ac088a251292de /sw/inc/hints.hxx | |
parent | d46a2a1373c231f3437a229e2160edf58971d8db (diff) |
Remove SwIterator hack in untable
- also move SwCellFrame from Modify to SwClientNotify
Change-Id: I9e486623a5a3245726e13552223a76610d1d3494
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106313
Tested-by: Jenkins
Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/inc/hints.hxx')
-rw-r--r-- | sw/inc/hints.hxx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx index 51a048a271b7..25fed4c87783 100644 --- a/sw/inc/hints.hxx +++ b/sw/inc/hints.hxx @@ -33,6 +33,9 @@ class SwFrame; class SwHistory; class SwTextNode; class SwTextFormatColl; +class SwFrameFormat; +class SwTableLine; +class SwTableBox; // Base class for all Message-Hints: // "Overhead" of SfxPoolItem is handled here @@ -147,6 +150,22 @@ class PreGraphicArrivedHint final : public SfxHint class PostGraphicArrivedHint final : public SfxHint { }; + +class MoveTableLineHint final : public SfxHint +{ +public: + const SwFrameFormat& m_rNewFormat; + const SwTableLine& m_rTableLine; + MoveTableLineHint(const SwFrameFormat& rNewFormat, const SwTableLine& rTableLine): m_rNewFormat(rNewFormat), m_rTableLine(rTableLine) {}; +}; + +class MoveTableBoxHint final : public SfxHint +{ +public: + const SwFrameFormat& m_rNewFormat; + const SwTableBox& m_rTableBox; + MoveTableBoxHint(const SwFrameFormat& rNewFormat, const SwTableBox& rTableBox): m_rNewFormat(rNewFormat), m_rTableBox(rTableBox) {}; +}; } class SwUpdateAttr final : public SwMsgPoolItem |