[api-dev] regcomp fails with DocumentLoader example

2009-04-13 Thread Maximilian Odendahl

Hi,

I am trying to compile and run the DocumentLoader example on Solaris 10, 
Sparc, OpenOffice SDK 3.1 and OpenOffice.org 3.1(m8).


Compiling works fine, but then regcomp seems to hang forever, this is 
what I get:


---Register necessary runtime components in the DocumentLoader.rdb
-/opt/openoffice.org/ure/bin/regcomp -register -r 
//openoffice.org_sdk/SOLARISexample.out/bin/DocumentLoader.rdb -c 
connector.uno.so


Any idea? The same thing just works fine on my macbook, so I think I am 
doing everything right ;-)

Running the command manually and giving absolute pathes had the same effect.

Best,
Max


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] regcomp fails with DocumentLoader example

2009-04-13 Thread Maximilian Odendahl

Hi,
Compiling works fine, but then regcomp seems to hang forever, this is 
what I get:


---Register necessary runtime components in the DocumentLoader.rdb
-/opt/openoffice.org/ure/bin/regcomp -register -r 
//openoffice.org_sdk/SOLARISexample.out/bin/DocumentLoader.rdb -c 
connector.uno.so


happy to find another example with another (new?) bootstrap mechanism, 
SimpleBootstrap_cpp, which doesn't need the regcomp steps. Compiling 
works, but when running, nothing happens as well, just a blinking cursor


Best
Max

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



[api-dev] Crash problems with Accessibility

2009-04-13 Thread Paolo Mantovani

Hi,

I've created a sample document with some macros.
The document is available here:
http://drop.io/OOoTestDocuments

The document contains a custom toolbar with two buttons:

Start Accessibility
Launch a macro that register a listener on all menu / menu items
the event handler routine intercept the event FOCUSED and stores
the menuitem caption into an array

Stop Accessibility
unregister all the listeners and creates a logfile with the
content of the array previously created.
In practice the log file contains the history of all the menu
items selected by the user.

Before to run the code you have to adapt the logfile path to your system
This is defined in the beginning of the starbasic module containig the 
macros:

Const LOGFILE = 

The code runs without any errors but is extremely unstable and crashes 
very often when you're playing with menus.
I have been unable to find any reasons for that behaviour, so I'm asking 
here for your suggestions


I'm runnig OOo 3.0.1 (300m15 build:9379), SO:Linux/Ubuntu 8.10
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)

Thanks
Paolo Mantovani



-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



[api-dev] Getting my own toolbar via Java API

2009-04-13 Thread Tobias Krais
Hi together,

I created a extension with a little Add-On toolbar. While I can access
the bars OpenOffice.org delivers, e.g. the standard toolbar
(private:resource/toolbar/standardbar) I wonder how I can get the
toolbar of my extension.

Can somebody help me with this?

Greetings, Tobias

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org