Open Office server mode macro
I'm trying to run xls files on an open office server on Windows.
I start the oo in 开发者_如何转开发server mode with the following bat:
start soffice.exe -headless -nofirststartwizard
-accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
The server is used by a Java application.
The problem is that the macros of the given xls file don't execute.
Does anyone have experience with this?
Taking some links from https://stackoverflow.com/a/6238845/450812
This possibly has to do with having to explicitly set permissions for macros, for instance:
Can't execute macro from command line (View topic) • OpenOffice.org Community Forum
See also:
- Custom OpenOffice.org Basic Macros and Libraries - OpenOffice.org Wiki
- OpenOffice.org Forum :: Enable OpenOffice Macro through Command Line.
- OpenOffice.org Forum :: simple command line question
- OpenOffice.org Forum :: HowTo Run Macros from Document from Shell
精彩评论