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

Dennis Francis (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 8 14:42:31 UTC 2020


 kit/SetupKitEnvironment.hpp               |    3 +++
 loleaflet/src/layer/tile/CalcTileLayer.js |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 5d2bb319e90e5381ac0ae320b127a3a1dec7f1f1
Author:     Dennis Francis <dennis.francis at collabora.com>
AuthorDate: Sun Jul 5 23:27:59 2020 +0530
Commit:     Dennis Francis <dennis.francis at collabora.com>
CommitDate: Wed Jul 8 16:42:12 2020 +0200

    Calc: enable sheet-geometry data and printTwips messages
    
    Change-Id: I80c61591a4e356cd406ecc1806ad387429ba13c1
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98169
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Dennis Francis <dennis.francis at collabora.com>

diff --git a/kit/SetupKitEnvironment.hpp b/kit/SetupKitEnvironment.hpp
index a8ef721ad..48c4df288 100644
--- a/kit/SetupKitEnvironment.hpp
+++ b/kit/SetupKitEnvironment.hpp
@@ -50,6 +50,9 @@ inline void setupKitEnvironment(const std::string& userInterface)
         options += ":notebookbar";
 
 //    options += ":sc_no_grid_bg"; // leave this disabled for now, merged-cells needs more work.
+
+    options += ":sc_print_twips_msgs";
+
     ::setenv("SAL_LOK_OPTIONS", options.c_str(), 0);
 }
 
diff --git a/loleaflet/src/layer/tile/CalcTileLayer.js b/loleaflet/src/layer/tile/CalcTileLayer.js
index 379bb4683..31398abb4 100644
--- a/loleaflet/src/layer/tile/CalcTileLayer.js
+++ b/loleaflet/src/layer/tile/CalcTileLayer.js
@@ -7,8 +7,8 @@
 L.CalcTileLayer = L.TileLayer.extend({
 	options: {
 		// TODO: sync these automatically from SAL_LOK_OPTIONS
-		sheetGeometryDataEnabled: false,
-		printTwipsMsgsEnabled: false
+		sheetGeometryDataEnabled: true,
+		printTwipsMsgsEnabled: true
 	},
 
 	STD_EXTRA_WIDTH: 113, /* 2mm extra for optimal width,


More information about the Libreoffice-commits mailing list