[Libreoffice-commits] online.git: loleaflet/src

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Mon Sep 7 11:56:52 UTC 2020


 loleaflet/src/control/Control.NotebookbarImpress.js |   22 ++++++++++++++++++++
 loleaflet/src/control/Control.NotebookbarWriter.js  |   22 ++++++++++++++++++++
 2 files changed, 44 insertions(+)

New commits:
commit f279b174b235ff9b17534918635cffd217a4d3fe
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon Sep 7 12:31:08 2020 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Mon Sep 7 13:56:33 2020 +0200

    notebookbar: add insert comment in the insert tab
    
    Change-Id: I7a68390c716858ad18f578d26f996bfc05eedacd
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102161
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/loleaflet/src/control/Control.NotebookbarImpress.js b/loleaflet/src/control/Control.NotebookbarImpress.js
index d1fff1c5a..dddc7b4ef 100644
--- a/loleaflet/src/control/Control.NotebookbarImpress.js
+++ b/loleaflet/src/control/Control.NotebookbarImpress.js
@@ -2164,6 +2164,28 @@ L.Control.NotebookbarImpress = L.Control.NotebookbarWriter.extend({
 																			],
 																			'vertical': 'false'
 																		},
+																		{
+																			'id': 'Insert-Section-Annotation',
+																			'type': 'container',
+																			'text': '',
+																			'enabled': 'true',
+																			'children': [
+																				{
+																					'id': 'SectionBottom15',
+																					'type': 'toolbox',
+																					'text': '',
+																					'enabled': 'true',
+																					'children': [
+																						{
+																							'type': 'bigtoolitem',
+																							'text': _UNO('.uno:InsertAnnotation', 'presentation'),
+																							'command': '.uno:InsertAnnotation'
+																						}
+																					]
+																				}
+																			],
+																			'vertical': 'false'
+																		},
 																		{
 																			'id': 'Insert-Text',
 																			'type': 'container',
diff --git a/loleaflet/src/control/Control.NotebookbarWriter.js b/loleaflet/src/control/Control.NotebookbarWriter.js
index c7f1e4760..6b0fd5237 100644
--- a/loleaflet/src/control/Control.NotebookbarWriter.js
+++ b/loleaflet/src/control/Control.NotebookbarWriter.js
@@ -2364,6 +2364,28 @@ L.Control.NotebookbarWriter = L.Control.Notebookbar.extend({
 																			],
 																			'vertical': 'false'
 																		},
+																		{
+																			'id': 'Insert-Section-InsertAnnotation',
+																			'type': 'container',
+																			'text': '',
+																			'enabled': 'true',
+																			'children': [
+																				{
+																					'id': 'SectionBottom15',
+																					'type': 'toolbox',
+																					'text': '',
+																					'enabled': 'true',
+																					'children': [
+																						{
+																							'type': 'bigtoolitem',
+																							'text': _UNO('.uno:InsertAnnotation', 'text'),
+																							'command': '.uno:InsertAnnotation'
+																						}
+																					]
+																				}
+																			],
+																			'vertical': 'false'
+																		},
 																		{
 																			'id': 'Insert-Section-Bookmark1',
 																			'type': 'container',


More information about the Libreoffice-commits mailing list