diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-03-01 09:22:16 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-03-01 09:52:53 +0000 |
commit | e32dfaf15563372ffae6e0da53998e20068ebf81 (patch) | |
tree | 36e437119d91444568a25a0ec80af3a029f8329b /sw/source/uibase | |
parent | 7c132fd14f7955e2bfbb600b78e939b9eae6a870 (diff) |
sw floattable: teach the UI about SwFormatFlySplit
- in SwFramePage, add a new m_xFlySplitCB and bind it to the flysplit
from the UI description
- map RES_FLY_SPLIT from the doc model to this new weld::CheckButton
- disable the widget for anchor types other than to-para, also
completely hide it, unless a frame contains a single table, which
simplifies Word filters
- add UITest for this
Change-Id: I9ef44b5c66679b04c4818dc343870b92f1b6386d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148030
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/inc/frmpage.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/inc/frmpage.hxx b/sw/source/uibase/inc/frmpage.hxx index 8aca87d35293..8270004838e2 100644 --- a/sw/source/uibase/inc/frmpage.hxx +++ b/sw/source/uibase/inc/frmpage.hxx @@ -116,6 +116,7 @@ class SwFramePage final : public SfxTabPage std::unique_ptr<weld::ComboBox> m_xVertRelationLB; // #i18732# - check box for new option 'FollowTextFlow' std::unique_ptr<weld::CheckButton> m_xFollowTextFlowCB; + std::unique_ptr<weld::CheckButton> m_xFlySplitCB; // example std::unique_ptr<weld::CustomWeld> m_xExampleWN; |