OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

FYI...new macro to make OOo listen for UNO connections

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Thu Nov 06, 2003 7:37 pm    Post subject: FYI...new macro to make OOo listen for UNO connections Reply with quote

Announcement of a new macro.

If you write a program in Java or Python to connect to OOo, you first need to get OOo to listen for uno connections.

One way to get OOo to listen is by launching it with an -accept parameter....

.\soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.NamingService"

Another way is to alter OOo's configuration. I previously discussed in the posting right here
http://www.oooforum.org/forum/viewtopic.php?p=12370#12370
how to hand edit some text configuration files to make OOo always listen for an uno connection.

Now there is a macro that does this configuration for you automatically. The macro does not edit the text files, rather, it uses the Configuration Manager API to alter OOo's configuration.

This macro is useful in several ways...
1. A quick easy way to change a hidden configuration aspect of OOo that is not brought out in any of OOo's User Interface.
2. A programming example of using the configuration manager.

and perhaps most importantly...
3. A document that you can distribute with a Java or Python program that makes it EASY for an end user to make this difficult configuration change to their OOo.

You can get the macro at OOoMacros.org. It is named UnoConnectionListener. Click here...
http://sourceforge.net/project/showfiles.php?group_id=87718&release_id=195647
then scroll down to UnoConnectionListener.

Hope someone finds this useful.
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Thu Feb 05, 2004 6:58 am    Post subject: Reply with quote

Here is a better link to the UnoConnectionListener download on SourceForge.

http://sourceforge.net/project/showfiles.php?group_id=87718&package_id=100069
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group