summaryrefslogtreecommitdiff
path: root/sw/qa/uitest/data
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2023-05-16 08:31:21 +0200
committerMiklos Vajna <vmiklos@collabora.com>2023-05-16 09:42:18 +0200
commitd9cd177b9b08d454882dd77ffeb825a184a1b540 (patch)
tree7eba3da817fbbb7c09f2717d6082826402789d68 /sw/qa/uitest/data
parentbb0edd05b5595e8b795db6ce521491716661a09a (diff)
sw floattable: disable UI if the frame is chained already
TextFrames can be chained and we look at those fly frames as shapes. In this case, we should not offer the "split fly" functionality, which makes sense only when the fly frame is considered as a floating table. The combination of these two features have no use-case and it would just cause trouble when exporting to Word formats. Fix the problem by making SwFramePage::Reset() more strict: it already only allowed fly split for the case when the content was a single table, but now it also requires no chaining. The other way around (split fly -> no chain) still needs doing. Change-Id: I06c240209a3a26519a5df953e22c9ee1b54aed34 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151822 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/qa/uitest/data')
-rw-r--r--sw/qa/uitest/data/chained-frames.odtbin0 -> 10241 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/sw/qa/uitest/data/chained-frames.odt b/sw/qa/uitest/data/chained-frames.odt
new file mode 100644
index 000000000000..281e06520e27
--- /dev/null
+++ b/sw/qa/uitest/data/chained-frames.odt
Binary files differ