diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-08-05 15:54:28 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2020-08-06 08:16:19 +0200 |
commit | 9dd57f8fe1355059156310af8eb0ac26b800c61e (patch) | |
tree | fadcbb10ef2afc27eda2b116d590365673e29a52 /scripts | |
parent | cypress: introduce moveCursor() helper method. (diff) | |
download | online-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-x | scripts/unocommands.py | 20 |
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: |