summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-08-05 15:54:28 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2020-08-06 08:16:19 +0200
commit9dd57f8fe1355059156310af8eb0ac26b800c61e (patch)
treefadcbb10ef2afc27eda2b116d590365673e29a52 /scripts
parentcypress: introduce moveCursor() helper method. (diff)
downloadonline-9dd57f8fe1355059156310af8eb0ac26b800c61e.tar.gz
online-9dd57f8fe1355059156310af8eb0ac26b800c61e.zip
notebookbar: customize Insert tab in Writer
Change-Id: I531854b4c7361fe5802a64016886feab5cda8979 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100177 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/unocommands.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/unocommands.py b/scripts/unocommands.py
index 549216c7fd..fe5ebd6b7d 100755
--- a/scripts/unocommands.py
+++ b/scripts/unocommands.py
@@ -144,6 +144,26 @@ def extractToolbarCommands(path):
if line.find("_UNO(") >= 0:
commands += commandFromMenuLine(line)
+ f = open(path + '/loleaflet/src/control/Control.Notebookbar.js', 'r')
+ for line in f:
+ if line.find("_UNO(") >= 0:
+ commands += commandFromMenuLine(line)
+
+ f = open(path + '/loleaflet/src/control/Control.NotebookbarWriter.js', 'r')
+ for line in f:
+ if line.find("_UNO(") >= 0:
+ commands += commandFromMenuLine(line)
+
+ f = open(path + '/loleaflet/src/control/Control.NotebookbarCalc.js', 'r')
+ for line in f:
+ if line.find("_UNO(") >= 0:
+ commands += commandFromMenuLine(line)
+
+ f = open(path + '/loleaflet/src/control/Control.NotebookbarImpress.js', 'r')
+ for line in f:
+ if line.find("_UNO(") >= 0:
+ commands += commandFromMenuLine(line)
+
f = open(path + '/loleaflet/src/control/Control.PresentationBar.js', 'r')
for line in f:
if line.find("_UNO(") >= 0: