thanks daan for your answer,

On Thu, Jul 10, 2008 at 11:44 AM, Daan de Wit <[EMAIL PROTECTED]> wrote:
> The OnStartApp event is fired when OOo starts. So all you need to do is
> change onFirstVisibleTask to OnStartApp.

The event OnStartApp is an event of the GlobalDispatchProvider, but it
is not an event that could be used in Jobs.xcu. I tried it, but it did
not work (see my Jobs.xcu below).

In this context another question: How could I ever use the event
OnStartApp in my java-application? To receive this event, a listener
has to be registered at the GlobalDispatchProvider. But how could this
be done?


here my jobs.xcu:
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-data oor:name="Jobs" oor:package="org.openoffice.Office"
        xmlns:oor="http://openoffice.org/2001/registry";
        xmlns:xs="http://www.w3.org/2001/XMLSchema";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
        <node oor:name="Jobs">
                <node oor:name="WollMux" oor:op="replace">
                        <prop oor:name="Service" oor:type="xs:string">
                                
<value>de.muenchen.allg.itd51.wollmux.comp.WollMux</value>
                        </prop>
                        <node oor:name="Arguments">
                        </node>
                </node>
        </node>
        <node oor:name="Events">
                <node oor:name="OnStartApp" oor:op="modify">
                        <node oor:name="JobList">
                                <node oor:name="WollMux" oor:op="replace"/>
                        </node>
                </node>
        </node>
</oor:component-data>

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

Reply via email to