开发者

Open Office server mode macro

开发者 https://www.devze.com 2023-04-09 07:17 出处:网络
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:

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
0

精彩评论

暂无评论...
验证码 换一张
取 消