summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2023-11-23 08:38:19 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-11-24 12:22:19 +0100
commita7ff64fbe92bb34f6e632d72e770f063fba4fda0 (patch)
treec1ea0adea5e88ab4c79df2f91f017838dbfd5b72 /svx
parent402fd49351123c476650c7280471d05d4de85d5d (diff)
sw floattable: add per-frame wrap-on-all-pages mode
Currently the wrap-on-all pages mode is off by default and a document-level setting can enable it for all split flys. Allowing this at a per-frame level (and not only per-doc level) is suggested in <https://issues.oasis-open.org/browse/OFFICE-4150>. Given that this floating table proposal is coming from us, it makes sense to also support this additional attribute from the proposal, even if it's not supported by Word. Fix this by adding a new SwFormatWrapTextAtFlyStart property on fly frames: this is meant to be enabled when wrap-on-all-pages is wanted for this fly, but it's disabled at a per-doc level. Unlike SwFormatFlySplit, this is meant to be easy at a layout level, since SwFlyAtContentFrame::IsWrapOnAllPages() is already a per-frame function, it is just backed with a per-doc setting. (cherry picked from commit b1b0cc1b0bb473155b5b089199ca99bb1dc40e42) Conflicts: sw/inc/hintids.hxx sw/source/core/bastyp/init.cxx Change-Id: I8f562102c2bc366a36c08895b681c4a2ab256bd9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159917 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svx')
0 files changed, 0 insertions, 0 deletions