I'm using OpenOffice 2.4.  It's not my choice.  Maybe that has something to
do with it.  There are a few other functions that seems to require OOo 2.4.

However with this version I've noticed some other strange behaviour as well. 
It might have something to do with how the proxies are implemented, although
that's just speculation on my part.
Of course the listeners do run in a seperate Thread, IIRC.

I'll send you my controller class and the Swing panel containing the
document.  No rush of course, you've been most helpful already.



Carsten Driesner wrote:
> 
> Fhomasp wrote:
>> Hey,
>>
>> Alright, noted.  However I still need to get this to work.  At this point
>> it
>> seems that the LayoutManager lifecycle is already put into another
>> Thread. 
>> How else could it be that I can get it working slightly better with the
>> use
>> of Threads, and get 100% successrate if I wait long enough in Debug mode?
>> Still.  It's nowhere near a good solution, and I can't have the users go
>> through debug mode :-)
>>   
> Hi Fhomasp,
> 
> I don't know why you have these kind of problems as I cannot reproduce 
> it with my own implementation. I also know that the LayoutManager is 
> normally not running in a different thread. OpenOffice.org has just one 
> thread for the user interface called the main thread. It's possible to 
> call the LayoutManager from a different thread using remote UNO but I 
> cannot recommend it. The only thing I can propose to you is that you 
> send me your solution via mail and I will try to find out what's wrong. 
> As we are short before the release of OOo 3.1 I cannot promise that I 
> have time to check it in the next couple of days.
> 
> Regards,
> Carsten
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/custom-menu-item-disappearing-after-printpreview-tp22741195p22804938.html
Sent from the openoffice - dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to