desktop/source/lib/init.cxx | 8 +++++++- sfx2/source/control/unoctitm.cxx | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-)
New commits: commit 3de8fcd83ade8a7a82ee8da393ed49fd5de58254 Author: Aron Budea <aron.bu...@collabora.com> AuthorDate: Fri Jul 22 23:22:49 2022 +0200 Commit: Aron Budea <aron.bu...@collabora.com> CommitDate: Mon Jul 25 14:58:54 2022 +0200 Send state changes of content control UNO commands to LOK Change-Id: Id6b3f9a35c129078b564f7906e03f6aa9306a5f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137373 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Aron Budea <aron.bu...@collabora.com> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 5e9d48b75925..4ab030388e7f 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3179,7 +3179,13 @@ static void doc_iniUnoCommands () OUString(".uno:UngroupSparklines"), OUString(".uno:FormatSparklineMenu"), OUString(".uno:Protect"), - OUString(".uno:UnsetCellsReadOnly") + OUString(".uno:UnsetCellsReadOnly"), + OUString(".uno:ContentControlProperties"), + OUString(".uno:InsertCheckboxContentControl"), + OUString(".uno:InsertContentControl"), + OUString(".uno:InsertDateContentControl"), + OUString(".uno:InsertDropdownContentControl"), + OUString(".uno:InsertPictureContentControl") }; util::URL aCommandURL; diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 358bab6c2220..868d7749f32b 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1120,7 +1120,13 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra aEvent.FeatureURL.Path == "NumberFormatDecDecimals" || aEvent.FeatureURL.Path == "NumberFormatIncDecimals" || aEvent.FeatureURL.Path == "Protect" || - aEvent.FeatureURL.Path == "UnsetCellsReadOnly") + aEvent.FeatureURL.Path == "UnsetCellsReadOnly" || + aEvent.FeatureURL.Path == "ContentControlProperties" || + aEvent.FeatureURL.Path == "InsertCheckboxContentControl" || + aEvent.FeatureURL.Path == "InsertContentControl" || + aEvent.FeatureURL.Path == "InsertDateContentControl" || + aEvent.FeatureURL.Path == "InsertDropdownContentControl" || + aEvent.FeatureURL.Path == "InsertPictureContentControl") { aBuffer.append(aEvent.IsEnabled ? std::u16string_view(u"enabled") : std::u16string_view(u"disabled")); }