diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2023-07-07 13:32:34 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2023-07-07 15:45:09 +0200 |
commit | 04e90103b9a031af4073967228c6ccfc59438ec0 (patch) | |
tree | 1d5c11e4963d294d1984b5e5844558d820a9eabb /sw/source/uibase | |
parent | efaa065eb7053954242c83760f897e7dba2e9fe8 (diff) |
tdf#152484 cui,sw: if decorative is enabled, disable title/description
... in sw Frame Properties dialog and cui SvxObjectTitleDescDialog.
Reportedly Word behaves weirdly if decorative is set and a description
exists at the same time.
Change-Id: I9fa149127bacc3567486334a14f42b05871a629f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154165
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/inc/frmpage.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/inc/frmpage.hxx b/sw/source/uibase/inc/frmpage.hxx index 8270004838e2..6f05ca1d651a 100644 --- a/sw/source/uibase/inc/frmpage.hxx +++ b/sw/source/uibase/inc/frmpage.hxx @@ -281,6 +281,7 @@ class SwFrameAddPage final : public SfxTabPage std::unique_ptr<weld::Entry> m_xNameED; std::unique_ptr<weld::Label> m_xAltNameFT; std::unique_ptr<weld::Entry> m_xAltNameED; + std::unique_ptr<weld::Label> m_xDescriptionFT; std::unique_ptr<weld::TextView> m_xDescriptionED; std::unique_ptr<weld::CheckButton> m_xDecorativeCB; std::unique_ptr<weld::Widget> m_xSequenceFrame; @@ -302,6 +303,7 @@ class SwFrameAddPage final : public SfxTabPage std::unique_ptr<svx::FrameDirectionListBox> m_xTextFlowLB; DECL_LINK(EditModifyHdl, weld::Entry&, void); + DECL_LINK(DecorativeHdl, weld::Toggleable&, void); DECL_LINK(ChainModifyHdl, weld::ComboBox&, void); static const WhichRangesContainer s_aAddPgRg; |