summaryrefslogtreecommitdiffstats
path: root/scripts/unocommands.py
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2021-02-26 10:45:56 +0100
committerMert Tümer <merttumer@outlook.com>2021-03-01 13:58:14 +0300
commita47773954fcf2a4aa21b893a83c3e96d180cf660 (patch)
tree38f7955d86b900201a6df3ce0fca4c65cb77be86 /scripts/unocommands.py
parentnotebookbar: added for draw (diff)
downloadonline-a47773954fcf2a4aa21b893a83c3e96d180cf660.tar.gz
online-a47773954fcf2a4aa21b893a83c3e96d180cf660.zip
Update unocommands for Control.NotebookbarDraw.js
Change-Id: I575fc13e4db5860bdeca7093bbc64c85b15a63cb Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'scripts/unocommands.py')
-rwxr-xr-xscripts/unocommands.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/unocommands.py b/scripts/unocommands.py
index 66bf1ea2c3..ae04ea831b 100755
--- a/scripts/unocommands.py
+++ b/scripts/unocommands.py
@@ -175,6 +175,11 @@ def extractToolbarCommands(path):
if line.find("_UNO(") >= 0:
commands += commandFromMenuLine(line)
+ f = open(path + '/loleaflet/src/control/Control.NotebookbarDraw.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: