From c220d97e22001db116f6f8204922b25a9e61e26f Mon Sep 17 00:00:00 2001 From: Heiko Tietze Date: Tue, 1 Dec 2020 12:21:10 +0100 Subject: Resolves tdf#99646 - Make default type of anchoring optional Option introduced at Tools > Options > Writer > Formatting Aids Change-Id: I8d890f84107647821c39669114b991c301727788 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106970 Tested-by: Jenkins Reviewed-by: Heiko Tietze --- sw/source/uibase/inc/cfgitems.hxx | 1 + sw/source/uibase/inc/optpage.hxx | 2 ++ 2 files changed, 3 insertions(+) (limited to 'sw/source/uibase/inc') diff --git a/sw/source/uibase/inc/cfgitems.hxx b/sw/source/uibase/inc/cfgitems.hxx index 271fdf2a4715..a647c01f0925 100644 --- a/sw/source/uibase/inc/cfgitems.hxx +++ b/sw/source/uibase/inc/cfgitems.hxx @@ -51,6 +51,7 @@ class SW_DLLPUBLIC SwDocDisplayItem : public SfxPoolItem bool m_bCharHiddenText :1; bool m_bBookmarks :1; bool m_bManualBreak :1; + sal_Int32 m_xDefaultAnchor; public: SwDocDisplayItem(); diff --git a/sw/source/uibase/inc/optpage.hxx b/sw/source/uibase/inc/optpage.hxx index 2889f5ea6ebf..2a35c1d843a8 100644 --- a/sw/source/uibase/inc/optpage.hxx +++ b/sw/source/uibase/inc/optpage.hxx @@ -241,6 +241,8 @@ class SwShdwCursorOptionsTabPage : public SfxTabPage std::unique_ptr m_xCursorProtFrame; std::unique_ptr m_xCursorInProtCB; + std::unique_ptr m_xDefaultAnchorType; + std::unique_ptr m_xMathBaselineAlignmentCB; public: -- cgit v1.2.3