Knut Olav Bøhmer wrote:
On 11/6/06, Carsten Driesner <[EMAIL PROTECTED]> wrote:
Knut Olav Bøhmer wrote:
> How can I make a toolbar that contains a drop down box or any other
> dialog component?
>
Hi Knut,

You can find more information how to do it on the framework wiki page:

http://wiki.services.openoffice.org/wiki/Framework

An article which describes how to create complex toolbar controls can be
found here:
http://wiki.services.openoffice.org/wiki/Framework/Article/Generic_UNO_Interfaces_for_complex_toolbar_controls

Thanx alot. I'll see if I understand how to use it. I tryed to install
the DemoAddOn, but it did not work. I got the following error:

[EMAIL PROTECTED]:~/tmp/ooffice$ /usr/lib/openoffice/program/unopkg add -f
-v DemoAddOn_cpp.uno.pkg
Raising process: file:///usr/lib/openoffice/program/soffice
Arguments: -nologo -nodefault
-accept=pipe,name=d042bb641357ea9c34d96ecc2c2e40d281ea324e1a9b480b3dbddb3906ac02;urp;
Ok.  Connecting...Ok.
Copying Package: DemoAddOn_cpp.uno.pkg
Enabling package: DemoAddOn_cpp.uno.pkg
Enabling package: Addons.xcu
Enabling package: WriterWindowState.xcu
Enabling package: CalcWindowState.xcu
Enabling package: ProtocolHandler.xcu
Enabling package: DemoAddOn_cpp.uno.so

ERROR: (com.sun.star.deployment.DeploymentException) { { Message = "An
error occurred while enabling the package: DemoAddOn_cpp.uno.so",
Context = (com.sun.star.uno.XInterface) @80f470c }, Cause = (any) {
(com.sun.star.registry.CannotRegisterImplementationException) { {
Message = "loading component library failed:
file:///home/knobo/.openoffice.org2/user/uno_packages/cache/uno_packages/T50PjK_/DemoAddOn_cpp.uno.pkg/Linux_x86/DemoAddOn_cpp.uno.so",
Context = (com.sun.star.uno.XInterface) @0 } } } }
rollback...
 Disabling package: ProtocolHandler.xcu
 Disabling package: CalcWindowState.xcu
 Disabling package: WriterWindowState.xcu
 Disabling package: Addons.xcu
 rollback finished.

unopkg failed.
Hi Knut,

I checked the demo add-on and it works without any problem with the final OpenOffice.org 2.0.4. Do you use an installation from OpenOffice.org? Could you please try to use the package manager from the OpenOffice.org menu (Tools - Package Manager).

Regards,
Carsten

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

Reply via email to