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

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Wed Nov 13 08:51:59 UTC 2019


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

New commits:
commit c8277bb11c2f4cb888c73a02beacecddb6db0b73
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Tue Nov 12 17:17:03 2019 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Nov 13 09:51:41 2019 +0100

    jsdialogs: apply table row/column size updates
    
    Change-Id: Id3601c82ce0f7320e9a7f86fe1e589b2edb5ea16
    Reviewed-on: https://gerrit.libreoffice.org/82541
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    Tested-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 17e9b4c02..6e6a29ad7 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -453,6 +453,18 @@ L.Control.JSDialogBuilder = L.Control.extend({
 			if (state)
 				return state.lower.replace(',', '.');
 			break;
+
+		case 'rowheight':
+			state = items.getItemValue('.uno:TableRowHeight');
+			if (state)
+				return state.replace(',', '.');
+			break;
+
+		case 'columnwidth':
+			state = items.getItemValue('.uno:TableColumWidth');
+			if (state)
+				return state.replace(',', '.');
+			break;
 		}
 
 		return null;


More information about the Libreoffice-commits mailing list