desktop/source/lib/init.cxx | 8 +++++++- sfx2/source/control/unoctitm.cxx | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-)
New commits: commit 373f655acbdad88ff5d76324f32650fe3a005e2e 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 20:15:00 2022 +0200 Send state changes of content control UNO commands to LOK Change-Id: Id6b3f9a35c129078b564f7906e03f6aa9306a5f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137415 Tested-by: Jenkins Reviewed-by: Aron Budea <aron.bu...@collabora.com> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 4b135250c538..b2e38b699e2e 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3170,7 +3170,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 01eee96f5ddf..516c10d6e2ed 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1116,7 +1116,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")); }