loleaflet/images/lc_customanimation.svg             |    1 
 loleaflet/images/lc_masterslidespanel.svg           |    1 
 loleaflet/images/lc_modifypage.svg                  |    1 
 loleaflet/images/lc_slidechangewindow.svg           |    1 
 loleaflet/src/control/Control.NotebookbarImpress.js |   38 ++++++++++++++++++++
 5 files changed, 42 insertions(+)

New commits:
commit 815bcfc64f32efbc6f5869459c300ed1b6caa2aa
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Mon Jul 27 10:21:38 2020 +0200
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Mon Jul 27 10:57:12 2020 +0200

    notebookbar: sidebar decks switch in impress
    
    Change-Id: I5116d1e6b1502ef67397bb45a9f208f63d458fa6
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99468
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>

diff --git a/loleaflet/images/lc_customanimation.svg 
b/loleaflet/images/lc_customanimation.svg
new file mode 100644
index 000000000..6e646d781
--- /dev/null
+++ b/loleaflet/images/lc_customanimation.svg
@@ -0,0 +1 @@
+<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg";><path d="m3 
2c-.554 0-1 .446-1 1v18c0 .554.446 1 1 1h18c.554 0 1-.446 
1-1v-18c0-.554-.446-1-1-1zm0 3h18v14h-18z" fill="#808080"/><g fill="#fff"><path 
d="m4 3v1h1v-1zm3 0v1h1v-1zm3 0v1h1v-1zm3 0v1h1v-1zm3 0v1h1v-1zm3 
0v1h1v-1z"/><path d="m3 5h18v14h-18z"/><path d="m4 20v1h1v-1zm3 0v1h1v-1zm3 
0v1h1v-1zm3 0v1h1v-1zm3 0v1h1v-1zm3 0v1h1v-1z"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/lc_masterslidespanel.svg 
b/loleaflet/images/lc_masterslidespanel.svg
new file mode 100644
index 000000000..768821edc
--- /dev/null
+++ b/loleaflet/images/lc_masterslidespanel.svg
@@ -0,0 +1 @@
+<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg";><path d="m3 
4v5.105469 9.111328.783203h.8085938 
7.8652342c.108615-.108547.217577-.215672.326172-.324219.108595.108547.217557.215672.326172.324219h7.865234.808594v-.783203-9.111328-5.105469z"
 fill="#4d82b8"/><path d="m2 3v17h7.5 1.455078 8.212891 1.332031 
1.5v-2.751953-5.390625-8.857422zm1 1h18v5.105469 
9.394531.5h-.5-.308594-8.517578-2.173828-6.5z" fill="#808080"/><g 
fill="#fff"><path d="m20 5h-16v1 2 1h16v-1-2zm-1 1v2h-14v-2z"/><path d="m20 
10h-16v1 6 1h16v-1-6zm-1 1v6h-14v-6z"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/lc_modifypage.svg 
b/loleaflet/images/lc_modifypage.svg
new file mode 100644
index 000000000..75c2b7b52
--- /dev/null
+++ b/loleaflet/images/lc_modifypage.svg
@@ -0,0 +1 @@
+<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg";><path d="m3 
6h18v15h-18z" fill="#fff"/><path d="m3 2c-.554 0-1 .446-1 1v18c0 .554.446 1 1 
1h18c.554 0 1-.446 1-1v-18c0-.554-.446-1-1-1zm0 4h18v15h-18z" 
fill="#808080"/><rect fill="#808080" height="1" ry=".5" width="12" x="6" 
y="11"/><rect fill="#4d82b8" height="1" ry=".5" width="4" x="6" y="15"/><path 
d="m10.5 14a1.5 1.5 0 0 0 -1.5 1.5 1.5 1.5 0 0 0 1.5 1.5 1.5 1.5 0 0 0 1.5-1.5 
1.5 1.5 0 0 0 -1.5-1.5zm0 1a.5.5 0 0 1 .5.5.5.5 0 0 1 -.5.5.5.5 0 0 1 
-.5-.5.5.5 0 0 1 .5-.5z" fill="#4d82b8"/><path d="m13.5 10c-.828427 
0-1.5.671573-1.5 1.5s.671573 1.5 1.5 1.5 1.5-.671573 
1.5-1.5-.671573-1.5-1.5-1.5z" fill="#808080"/><rect fill="#4d82b8" height="1" 
ry=".491011" width="7" x="11" y="15"/><g fill="#808080"><rect height="1" 
ry=".5" width="4" x="6" y="15"/><path d="m10.5 14a1.5 1.5 0 0 0 -1.5 1.5 1.5 
1.5 0 0 0 1.5 1.5 1.5 1.5 0 0 0 1.5-1.5 1.5 1.5 0 0 0 -1.5-1.5zm0 1a.5.5 0 0 1 
.5.5.5.5 0 0 1 -.5.5.5.5 0 0 1 -.5-.5.5.5 0 0 1 .5-.5z"/>
 <rect height="1" ry=".491011" width="7" x="11" y="15"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/lc_slidechangewindow.svg 
b/loleaflet/images/lc_slidechangewindow.svg
new file mode 100644
index 000000000..d8c2057f3
--- /dev/null
+++ b/loleaflet/images/lc_slidechangewindow.svg
@@ -0,0 +1 @@
+<svg height="24" width="24" xmlns="http://www.w3.org/2000/svg";><path d="m3 
3h18v18h-18z" fill="#fff"/><g fill="#808080"><rect height="3" ry="1" width="3" 
x="19" y="2"/><rect height="3" ry="1" width="3" x="2" y="2"/><rect height="3" 
ry="1" width="3" x="19" y="19"/><rect height="3" ry="1" width="3" x="2" 
y="19"/><rect height="1" ry=".5" width="12" x="6" y="20"/><rect height="1" 
ry=".5" width="12" x="6" y="3"/><rect height="12" ry=".5" width="1" x="3" 
y="6"/><rect height="12" ry=".5" width="1" x="20" y="6"/></g><path d="m12 
5-2.625 5h-4.375l4 3.5-1 5.5 4-3 4 3-1-5.5 4-3.5h-4.375z" fill="#eac282"/></svg>
\ No newline at end of file
diff --git a/loleaflet/src/control/Control.NotebookbarImpress.js 
b/loleaflet/src/control/Control.NotebookbarImpress.js
index 43cff194f..21b7f1ecb 100644
--- a/loleaflet/src/control/Control.NotebookbarImpress.js
+++ b/loleaflet/src/control/Control.NotebookbarImpress.js
@@ -42,6 +42,44 @@ L.Control.NotebookbarImpress = 
L.Control.NotebookbarWriter.extend({
                ];
        },
 
+       getOptionsSectionData: function() {
+               return [
+                       {
+                               'id': 'optionscontainer',
+                               'type': 'container',
+                               'vertical': 'true',
+                               'children': [
+                                       {
+                                               'id': 'optionstoolboxdown',
+                                               'type': 'toolbox',
+                                               'children': [
+                                                       {
+                                                               'type': 
'toolitem',
+                                                               'text': 
_UNO('.uno:ModifyPage', 'presentation', true),
+                                                               'command': 
'.uno:ModifyPage'
+                                                       },
+                                                       {
+                                                               'type': 
'toolitem',
+                                                               'text': 
_UNO('.uno:SlideChangeWindow', 'presentation', true),
+                                                               'command': 
'.uno:SlideChangeWindow'
+                                                       },
+                                                       {
+                                                               'type': 
'toolitem',
+                                                               'text': 
_UNO('.uno:CustomAnimation', 'presentation', true),
+                                                               'command': 
'.uno:CustomAnimation'
+                                                       },
+                                                       {
+                                                               'type': 
'toolitem',
+                                                               'text': 
_UNO('.uno:MasterSlidesPanel', 'presentation', true),
+                                                               'command': 
'.uno:MasterSlidesPanel'
+                                                       }
+                                               ]
+                                       }
+                               ]
+                       }
+               ];
+       },
+
        getTabs: function() {
                return [
                        {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to