diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-09-06 12:58:18 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-09-19 10:18:30 +0200 |
commit | 3230baca58db9c78109a3c208afd7d19fe912f16 (patch) | |
tree | 02d5f1e07fa72fab9ffa51870d4cc7a8dba4ea54 /sw/source/core/inc/txtfrm.hxx | |
parent | cc7635c545ebf33768163a815bfa8f7c5b6a2cdd (diff) |
sw_redlinehide_2: update flys and footnotes on redline ops
Re-use some code that is already used elsewhere; for the
UpdateFramesForAddDeleteRedline(), the same code as for switching
the layout to Hide mode should work, for
UpdateFramesForRemoveDeleteRedline() use the code that is used for
SwTextNode::SplitContentNode().
Change-Id: I97601bfb63478cc999cf7017da0225b2dc62ad37
Diffstat (limited to 'sw/source/core/inc/txtfrm.hxx')
-rw-r--r-- | sw/source/core/inc/txtfrm.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx index a52bf0f14fa0..0b19178734d2 100644 --- a/sw/source/core/inc/txtfrm.hxx +++ b/sw/source/core/inc/txtfrm.hxx @@ -105,12 +105,19 @@ TextFrameIndex UpdateMergedParaForDelete(MergedPara & rMerged, bool isRealDelete, SwTextNode const& rNode, sal_Int32 nIndex, sal_Int32 nLen); +void MoveMergedFlysAndFootnotes(std::vector<SwTextFrame*> const& rFrames, + SwTextNode const& rFirstNode, SwTextNode & rSecondNode, bool); + void MoveDeletedPrevFrames(SwTextNode & rDeletedPrev, SwTextNode & rNode); void CheckResetRedlineMergeFlag(SwTextNode & rNode, bool bRecreateMerged); void UpdateFramesForAddDeleteRedline(SwPaM const& rPam); void UpdateFramesForRemoveDeleteRedline(SwDoc & rDoc, SwPaM const& rPam); +void AddRemoveFlysAnchoredToFrameStartingAtNode( + SwTextFrame & rFrame, SwTextNode & rTextNode, + std::set<sal_uLong> *pSkipped); + } // namespace sw /// Represents the visualization of a paragraph. Typical upper is an |