You can start a OpenOffice in listening mode with e.g. this command:
soffice -accept="socket,host=localhost,port=9000;urp;StarOffice.ServiceManager"
This commandline starts OpenOffice listening on port 9000
This public routine connects to a listening OpenOffice and makes the most important
objects available via the environment directory ".local".
Modelled after {%internal ./Office.ConnectToListeningOpenOffice.snip}.