From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- static/emscripten/environment.js | 5 +++++ static/emscripten/soffice_args.js | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 static/emscripten/environment.js create mode 100644 static/emscripten/soffice_args.js (limited to 'static/emscripten') diff --git a/static/emscripten/environment.js b/static/emscripten/environment.js new file mode 100644 index 000000000..bc60fddcb --- /dev/null +++ b/static/emscripten/environment.js @@ -0,0 +1,5 @@ +if (!('preRun' in Module)) Module['preRun'] = []; +Module.preRun.push(function() { + ENV.SAL_LOG = "+WARN" + ENV.SAL_VCL_QT5_USE_CAIRO = "1" +}); diff --git a/static/emscripten/soffice_args.js b/static/emscripten/soffice_args.js new file mode 100644 index 000000000..7ecf7e898 --- /dev/null +++ b/static/emscripten/soffice_args.js @@ -0,0 +1,6 @@ +Module['arguments'] = [ + '--norestore', + '--nologo', + '--writer', + '/android/default-document/example.odt' +]; -- cgit v1.2.3