Re: [dev] How to catch OnStartApp from job started onFirstVisibleTask ?

2006-11-29 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Matthias,

  node oor:name=onStartApp oor:op=replace

 You are right. This is the very first event that occurs. Did you try to
 register your job for OnStartApp?

yes, this works no i get

OnStartApp
OnCreate
...

I did not know, that one could use this kind of events for the jobs.xcu :-)

Thanks

Oliver

- --

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFbcoTTiyrQM/QSkURAib3AJ9Zrf5LJNd55Gz/Qyg0fxMp+EwQmwCfTe4r
OcFu+R2GKqwdynkmaEkMroY=
=+fAH
-END PGP SIGNATURE-

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



Re: [dev] How to catch OnStartApp from job started onFirstVisibleTask ?

2006-11-29 Thread Mathias Bauer
Oliver Brinzing wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi Matthias,
 
 node oor:name=onStartApp oor:op=replace
 
 You are right. This is the very first event that occurs. Did you try to
 register your job for OnStartApp?
 
 yes, this works no i get
 
 OnStartApp
 OnCreate
 ...
 
 I did not know, that one could use this kind of events for the jobs.xcu :-)

Basically you can use every document event and the three document
independent events OnStartApp, OnFirstVisibleTask and OnCloseApp.

Ciao,
Mathias
-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to [EMAIL PROTECTED].
I use it for the OOo lists and only rarely read other mails sent to it.

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



[dev] How to catch OnStartApp from job started onFirstVisibleTask ?

2006-11-28 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

is it possible to start a job onFirstVisibleTask and catch the OnStartApp 
event ?

node oor:name=Events
node oor:name=onFirstVisibleTask oor:op=replace
node oor:name=JobList
node oor:name=MyJob oor:op=replace/
/node
/node
/node

my job registers as a GlobalEventBroadcaster and will be initialized 
onFirstVisibleTask

it seems it's only possible to catch the onNew event ...
i guess the OnStartApp is triggered before ...

Oliver

- --

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFbIFGTiyrQM/QSkURAl0XAJ9naiy8wiuIuat9qfYB3BeuqeUplQCgxe/B
nsFtrNM5waZVGW1RGKDBvZM=
=AlEH
-END PGP SIGNATURE-

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