From 2d729251b7bf8f505acb65c620c58ba8bae9ff3d Mon Sep 17 00:00:00 2001 From: andreas kainz Date: Fri, 16 Apr 2021 00:22:57 +0200 Subject: tdf#134373 add PopupLabel to update commands for NB see c5 option 2 Change-Id: I2f3a6470a8b376f66f303578492b59ca0b56388a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114194 Tested-by: Jenkins Reviewed-by: Andreas Kainz --- .../org/openoffice/Office/UI/GenericCommands.xcu | 3 ++ .../org/openoffice/Office/UI/WriterCommands.xcu | 17 ++++++++++- sw/uiconfig/swriter/ui/notebookbar.ui | 34 ++++++++++++++++++++-- sw/uiconfig/swriter/ui/notebookbar_compact.ui | 32 ++++++++++++++++++-- 4 files changed, 80 insertions(+), 6 deletions(-) diff --git a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu index 7711f6f3da36..b519e3deaede 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu @@ -4671,6 +4671,9 @@ bit 3 (0x8): #define UICOMMANDDESCRIPTION_PROPERTIES_TOGGLEBUTTON 8 Protect Track Changes + + Protect Track Changes + 1 diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu index 535f4d0b86ce..572959ecbd97 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu @@ -197,6 +197,9 @@ Indexes and ~Tables + + Update Indexes and ~Tables + 1 @@ -209,7 +212,7 @@ Current ~Index - Update index + Update ~Index 1 @@ -327,6 +330,9 @@ ~Links + + Update ~Links + 1 @@ -488,6 +494,9 @@ ~Charts + + Update ~Charts + 1 @@ -1777,6 +1786,9 @@ ~Fields + + Update ~Fields + 1 @@ -2166,6 +2178,9 @@ Page Formatting + + Update Page Formatting + 1 diff --git a/sw/uiconfig/swriter/ui/notebookbar.ui b/sw/uiconfig/swriter/ui/notebookbar.ui index 8a17b1cf2a9c..9c33439d1aca 100644 --- a/sw/uiconfig/swriter/ui/notebookbar.ui +++ b/sw/uiconfig/swriter/ui/notebookbar.ui @@ -1515,19 +1515,47 @@ - + True False - .uno:UpdateAll + .uno:Repaginate - + True False .uno:UpdateFields + + + True + False + .uno:UpdateAllIndexes + + + + + True + False + .uno:UpdateCurIndex + + + + + True + False + .uno:UpdateAllLinks + + + + + True + False + .uno:UpdateCharts + + True diff --git a/sw/uiconfig/swriter/ui/notebookbar_compact.ui b/sw/uiconfig/swriter/ui/notebookbar_compact.ui index 41f0ba387565..b0ede61164b4 100644 --- a/sw/uiconfig/swriter/ui/notebookbar_compact.ui +++ b/sw/uiconfig/swriter/ui/notebookbar_compact.ui @@ -1697,10 +1697,10 @@ - + True False - .uno:UpdateAll + .uno:Repaginate @@ -1710,6 +1710,34 @@ .uno:UpdateFields + + + True + False + .uno:UpdateAllIndexes + + + + + True + False + .uno:UpdateCurIndex + + + + + True + False + .uno:UpdateAllLinks + + + + + True + False + .uno:UpdateCharts + + True -- cgit