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 <[email protected]>
AuthorDate: Sun Jul 5 23:27:59 2020 +0530
Commit:     Dennis Francis <[email protected]>
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 <[email protected]>
    Reviewed-by: Dennis Francis <[email protected]>

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,
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to