Jo wrote:

> The mind boggles. I read:
> 
> http://api.openoffice.org/docs/DevelopersGuide/Components/Components.xhtml#1_9_1_UNO_Package_Installation_Using_unopkg,
> 4.9.1
> 
> and
> 
> http://api.openoffice.org/docs/DevelopersGuide/Components/Components.xhtml,
> 4.7.3
> 
> 
> several times. What I don't find in there is what names those files need to
> have. OK, there is this:
> 
> example_addon.zip:
>     Addons.xcu
>     ProtocolHandler.xcu
>     windows.plt/
>         example_addon.dll
> 
> 
> now what goes itno Addons.xcu and what goes into ProtocolHandler.xcu? There
> is a lot of xml in the paragraphs preceding this example, from which I
> distilled the following, since I only want to add a toolbar to my package:

The Addons.xcu file contains information about which buttons shall be in
the toolbar. The ProtocolHandler.xcu tells OOo which code it should load
to execute a certain command.

> I'm starting to doubt that I'm smart enough for this stuff. It's great that
> there is documentation, but I would be nice to find out what needs to be
> saved in which files and it would be great to have an easy way to get from
> what OOo generates to work with to what is expected for this uno.pkgstructure.

You are right, it would be nice to make things easier and we are working
on it. The plan is to have some tools that can generate the necessary
files and integrate these tools into NetBeans, Eclipse or our Basic IDE,
but this isn't done yet.

When these tools will be done all you will have to specify is which
commands shall be added to your toolbar or menu and which code shall be
bound to it. Until then you could study existing code to learn how the
things work together. Which programming language have you planned to use?

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

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

Reply via email to