Mathieu van Echtelt wrote:

Dear all,

With OpenOffice 2.0 we convert Excel files. Macro's for conversion are
invoked over command line ($ ooffice -invisible macro:///....).

Every command line execution starts up and closes ooffice, this is
problematic because starting up OOo takes very long (>30 sec.).

Questions:

1. How to run ooffice as a service on Debian Linux?
2. And how to execute macro's with this service?

I found command line option:

OOffice -headless -accept=\socket,host=localhost,port=8100;urp;

This looks like to answer question 1, but how to execute our macro's
with this service?
note: requests will come from our application written in Smalltalk
(VW) which doesn't have any specific OOo/UNO integration.

Thanks in advance,
If you start OOo in this way, it tells it to listen on port 8100 so that you can connect to it on that port....... You might want to ask this qeustion on the dev list if you do not receive an appropriate answer.
In the meantime, download my fee macro document and read the section titled
"Connect to a remote OOo server using Basic"

I am not an expert in this, I only wrote this section so that I could verify that I could remotely connect using Basic...

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to