office-gobmx/officecfg
Michael Stahl 732fdafd9f officecfg,stoc: allow running JVM UNO components out-of-process
The problem is that 32-bit Win32 applications have very little VM, and
soffice.bin can run out, so try to move the JVM to a separate process
(uno.bin) and connect to it via pipe.

Add a new config to enable this:
"org.openoffice.Office.Java/VirtualMachine/RunUnoComponentsOutOfProcess"

If enabled, ServiceManager instantiates *all* JVM components
out-of-process, by instantiating
"com.sun.star.java.theJavaVirtualMachine" out-of-process.

To ensure that the remote connection is disconnected at shutdown (and
thereby prevent crashes with remote calls during late shutdown),
JavaComponentLoader is now a "single-instance" service; this change
should be harmless for the default in-process configuration case.

Tested with these extensions:
  Wiki Publisher
  smoketest TestExtension.oxt
  odk CalcAddins.oxt Inspector.oxt ToDo.oxt

Also passed "make check" on Linux when enabled, if the variable
URE_BIN_DIR is set properly for CppunitTest_services.

Change-Id: I76bf17a9512414b67dbd20daee25a6d29c05f9d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133218
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-05-13 16:33:39 +02:00
..
qa
registry officecfg,stoc: allow running JVM UNO components out-of-process 2022-05-13 16:33:39 +02:00
util
Configuration_officecfg.mk
CppunitTest_officecfg_cppheader_test.mk
CustomTarget_registry.mk
files.mk
Makefile
Module_officecfg.mk
Package_misc.mk
README.md

Default Settings for LibreOffice

The schema and default settings for the LibreOffice configuration database.

If you change a file in this module, then a make postprocess is needed after make officecfg.

See also: configmgr

AcceleratorKeyChecker.fodt in the util folder is a tool written in Basic that check menus for entries that use the same accelerator key. The tool goes through the menus using the accessibility api and checks the accelerator keys. For information on how to use the tool open the fodt file in LibreOffice.

For more details about the file format, see https://www.openoffice.org/projects/util/common/configuration/oor-document-format.html (also mirrored at https://people.freedesktop.org/~vmiklos/2013/oor-document-format.html).