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

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Wed Nov 13 15:04:14 UTC 2019


 loleaflet/src/control/Control.JSDialogBuilder.js |   39 +++++++++++++++++++++++
 1 file changed, 39 insertions(+)

New commits:
commit 6584e3b8c0673e810bc645617a441ce8fa3bcfd1
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Nov 13 15:12:04 2019 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Nov 13 16:03:51 2019 +0100

    jsdialogs: apply shadow transparency updates
    
    Change-Id: I7e615590f8c3ba5f455cfbec55c3fef8919ab1a1

diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 58d349a97..47e3df487 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -497,6 +497,13 @@ L.Control.JSDialogBuilder = L.Control.extend({
 				return state.replace(',', '.');
 			}
 			break;
+
+		case 'FIELD_TRANSPARENCY':
+			state = items.getItemValue('.uno:FillShadowTransparency');
+			if (state) {
+				return state.replace(',', '.');
+			}
+			break;
 		}
 
 		return null;
commit c447c8fb4345916f0e9f8b67018391a8377daf88
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Nov 13 12:41:35 2019 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Nov 13 16:03:51 2019 +0100

    jsdialogs: apply fill transparency updates
    
    Change-Id: I630347002474609736e9d41169e65f8e1608ad04

diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 7e53c7b53..58d349a97 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -490,6 +490,13 @@ L.Control.JSDialogBuilder = L.Control.extend({
 				return state.replace(',', '.');
 			}
 			break;
+
+		case 'settransparency':
+			state = items.getItemValue('.uno:FillTransparence');
+			if (state) {
+				return state.replace(',', '.');
+			}
+			break;
 		}
 
 		return null;
commit 0937a21f9fe344b7cddf2a44d87084b52198b725
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Nov 13 12:28:00 2019 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Nov 13 16:03:51 2019 +0100

    jsdialogs: apply line transparency updates
    
    Change-Id: Id222cbdf093fe73655bfda82fd8f41d13b192397

diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 74ea811c6..7e53c7b53 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -483,6 +483,13 @@ L.Control.JSDialogBuilder = L.Control.extend({
 					return state[3];
 			}
 			break;
+
+		case 'linetransparency':
+			state = items.getItemValue('.uno:LineTransparence');
+			if (state) {
+				return state.replace(',', '.');
+			}
+			break;
 		}
 
 		return null;
commit df0bab8ab033ea6f6d09723ed3f1a16739958652
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Nov 13 11:01:39 2019 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Nov 13 16:03:51 2019 +0100

    jsdialogs: apply .uno:NumberFormat updates
    
    Change-Id: I141b1c35bbcfce404c1b042ffe9255db31ec180e

diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 6e6a29ad7..74ea811c6 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -465,6 +465,24 @@ L.Control.JSDialogBuilder = L.Control.extend({
 			if (state)
 				return state.replace(',', '.');
 			break;
+
+		case 'decimalplaces':
+			state = items.getItemValue('.uno:NumberFormat');
+			if (state) {
+				state = state.split(',');
+				if (state.length > 2)
+					return state[2];
+			}
+			break;
+
+		case 'leadingzeros':
+			state = items.getItemValue('.uno:NumberFormat');
+			if (state) {
+				state = state.split(',');
+				if (state.length > 3)
+					return state[3];
+			}
+			break;
 		}
 
 		return null;


More information about the Libreoffice-commits mailing list