diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2021-12-21 15:19:33 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-12-22 17:08:40 +0100 |
commit | ebcd9cef036bc9e383b5d8b97a306cb91e0b8928 (patch) | |
tree | 816d6c007abf57f6fc4d65a44c40fd8ec34870af /sw/qa | |
parent | 943391c896064e3b5bcb816e870f6d9c1ad9ee07 (diff) |
tdf#135061 sw_redlinehide: create frames following hidden table
When pasting, the entire document body is covered by a delete redline.
The insert position is in the last node, following a table; table nodes
do hot have any connection to frames if they are hidden by redlines,
so MakeFrames() won't create frames for the inserted nodes.
Refactor SwNodes::FindPrvNxtFrameNode() so that it can detect that table
nodes are hidden in the current layout and continue to search in this
case.
For multiple layouts, MakeFrames() may need to use different nodes per
layout, as the "nearest" one in one layout may be hidden in another.
Change-Id: I3bb2c861c861438ac2695ab49dd91dc2bde87db4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127272
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
(cherry picked from commit af4e20426ad24c6f2c0164b37472f2b7b54ecd30)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127252
Diffstat (limited to 'sw/qa')
0 files changed, 0 insertions, 0 deletions