summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/DocumentRedlineManager.hxx
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2018-09-06 17:21:05 +0200
committerLászló Németh <nemeth@numbertext.org>2018-09-07 20:55:03 +0200
commit694a6389e84d5b416cde6dde2d5eaa589a0a6493 (patch)
treec9d1caa5d8d311ca682685892ac70b0444b74c0d /sw/source/core/inc/DocumentRedlineManager.hxx
parent453fde35bb838febf73bfda0bd981ee270c9b12e (diff)
tdf#119019 DOCX track changes: fix invisible delete and insert
during editing in a paragraph with tracked paragraph formatting, by accepting the old formatting change automatically in the actual paragraph before text deletion/insertion. Note: it's not possible to reject paragraph formatting changes in LO, but showing them is a minimal requirement. Now they are still visible in change tracking dialog and by the vertical line before the related paragraphs until there are no new text deletions and insertions in those paragraphs. Change-Id: I526daad8dd96212ac73a10627128553452e4d31c Reviewed-on: https://gerrit.libreoffice.org/60101 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/source/core/inc/DocumentRedlineManager.hxx')
-rw-r--r--sw/source/core/inc/DocumentRedlineManager.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/inc/DocumentRedlineManager.hxx b/sw/source/core/inc/DocumentRedlineManager.hxx
index 1a410a15b6ba..9a3bd2cbd6ab 100644
--- a/sw/source/core/inc/DocumentRedlineManager.hxx
+++ b/sw/source/core/inc/DocumentRedlineManager.hxx
@@ -86,6 +86,8 @@ public:
virtual bool AcceptRedline(/*[in]*/const SwPaM& rPam, /*[in]*/bool bCallDelete) override;
+ virtual void AcceptRedlineParagraphFormatting(/*[in]*/const SwPaM& rPam) override;
+
virtual bool RejectRedline(/*[in]*/SwRedlineTable::size_type nPos, /*[in]*/bool bCallDelete) override;
virtual bool RejectRedline(/*[in]*/const SwPaM& rPam, /*[in]*/bool bCallDelete) override;