Thanks for this excellent reply!

Reply in-line and request for discussion on conference BoF at end.


On Wed, 2005-09-21 at 14:41 +0200, Joerg Barfurth wrote:
> Hi Ian,
> 
> Sorry for the late reply. I only now noticed your question.

No problem.

> Ian Laurenson wrote:
[snip]
> > Is it possible to modify:
> > .openoffice.org2/user/registry/data/org/openoffice/Office/Events.xcu
> > by the .xcu file in a uno package? If so some pointers would be useful.
> > 
> 
> Yes. The various xcu files for one component (here 
> "org.openoffice.Office.Events") are merged at runtime. Packages can 
> provide xcu files containing such settings. These are merged by the 
> package manager into one file that is used at runtime.
> 
> For the Events components, you can add an xcu file containing a number 
> of event bindings to your package. These bindings should then become 
> effective - possibly after restarting the application. You can create 
> such an xcu file by editing event bindings in OOo and then coyping 
> (possibly editing) the resulting user/registry/data/.../Events.xcu file. 
> The name of the file you add to your package does not matter - the 
> component is identified by attributes inside the file.
> 
> If a user (or a document) already has an event binding for one of the 
> events that binding takes precedence (to me it looks like the event 
> configuration only allows one binding for each event). If multiple 
> packages have a binding for the same event, it is unspecified which one 
> prevails.

Before posting an RFE, I'd like to bounce the suggestion of being able
to have more than one package binding for the same event. I think this
could be achieved by having an event biding which calls a routine which
checks another .xcu file which has a list of routines to be run for that
event.

> 
> For more documentation check the documents listed at 
> http://util.openoffice.org.
> 
> HTH, Joerg
> 
> > OpenOffice.org Conference (OOoCon 2005)
> > September 28th - 30th 2005, Koper-Capodistria, Slovenia
> > http://marketing.openoffice.org/ooocon2005/index.html
> > 
> 
> Will you be there?
> 
Yes. I am facilitating a BoF on OpenOffice.org macro development. I have
a message from Stefan that Sun will help with costs :).

To make this BoF session as useful as possible some discussion on what
people would like to have happen would be useful.

Some ideas:
* A session guiding people in how to get started. This would be covering
similar material to that in the getting started guide of the wiki:
http://ext.openoffice.org.nz/

* A look at Iannz macros, the techniques that they employ, what worked
and what hasn't, as an introduction to OOo macros.
http://homepages.paradise.net.nz/hillview/OOo/

* A workshop for problem solving people's macro programming problems.

* Discussion on how to improve collaboration on macro development, and
how to make it easier for end users to select, download and install OOo
extensions.

This BOF has potential to dovetail in with other presentations, the two
most obvious ones being:
* Paolo Mantovani's "Deploying OOo extensions through UNO packages".
* Lauren Godard's "Add-on: from Production to End Users".

Thanks, Ian



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

Reply via email to