diff options
author | László Németh <nemeth@numbertext.org> | 2021-12-15 12:31:27 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2021-12-17 14:02:29 +0100 |
commit | 8c028b7e41e3d350d0e67005b16faf0159cc5c12 (patch) | |
tree | ded0eab6cb1caada2f74d541a464f708fff3c37d /basic/source/inc/sbjsmod.hxx | |
parent | b58dbb862296b63f3f2395c59d30fba40fa5f59f (diff) |
tdf#146244 sw: update HasTextChangesOnly in modified rows
It's not forbidden to write in rows deleted or
inserted with change tracking, also Accept/Reject
only part of the text changes here. Improve to
handle these in SwTableLine::UpdateTextChangesOnly()
by keeping property HasTextChangesOnly = false
(tracked row change) only if
1) there is an insert redline, which is the oldest redline in
the row (tracked row insertion) or
2) there is a delete redline, which is the newest redline in
the row, and no text outside of redlines, and no insert
redline in the row, i.e. whole text content is deleted
(tracked row deletion).
Also update HasTextChangesOnly table row property at accepting
SwRangeRedlines in changed table rows.
Change-Id: I426c445da760f36f718d737f34ccdb904e87aac3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126919
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'basic/source/inc/sbjsmod.hxx')
0 files changed, 0 insertions, 0 deletions