summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Budea <aron.budea@collabora.com>2023-07-17 03:37:05 +0200
committerAron Budea <aron.budea@collabora.com>2023-07-20 12:38:50 +0200
commitb62f9f484a0fc9215e34153daac4a8bdb9698d4b (patch)
tree1de3f83b28cc4cdf633080c703dc3dee728213f6
parent896fc921cd72b5f0198772f2d4c569b59f51222c (diff)
Send Calc pivot table command state changes to LOK
Change-Id: I0d9e04b0a0452f66cb9703d9f34fe6cb44d724c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154506 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Aron Budea <aron.budea@collabora.com>
-rw-r--r--desktop/source/lib/init.cxx3
-rw-r--r--sfx2/source/control/unoctitm.cxx3
2 files changed, 6 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 45bd9e608e70..81f797e5f197 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3588,6 +3588,9 @@ static void doc_iniUnoCommands ()
OUString(".uno:GroupSparklines"),
OUString(".uno:UngroupSparklines"),
OUString(".uno:FormatSparklineMenu"),
+ OUString(".uno:DataDataPilotRun"),
+ OUString(".uno:RecalcPivotTable"),
+ OUString(".uno:DeletePivotTable"),
OUString(".uno:Protect"),
OUString(".uno:UnsetCellsReadOnly"),
OUString(".uno:ContentControlProperties"),
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 99bbc2afa7bf..20de9bb29ad3 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1120,6 +1120,9 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
aEvent.FeatureURL.Path == "GroupSparklines" ||
aEvent.FeatureURL.Path == "UngroupSparklines" ||
aEvent.FeatureURL.Path == "FormatSparklineMenu" ||
+ aEvent.FeatureURL.Path == "DataDataPilotRun" ||
+ aEvent.FeatureURL.Path == "RecalcPivotTable" ||
+ aEvent.FeatureURL.Path == "DeletePivotTable" ||
aEvent.FeatureURL.Path == "NumberFormatDecDecimals" ||
aEvent.FeatureURL.Path == "NumberFormatIncDecimals" ||
aEvent.FeatureURL.Path == "Protect" ||