Hi Drew,
Drew Jensen escribió:
Frank Schönheit - Sun Microsystems Germany wrote:
Hi Drew,
It appears to work - but can also get the OpenOffice process very
confused...as in totally hung...what appears to be a deadlock
condition - CPU time = 0 and non-responsive to any commands. All is
fine if all you do is view the data ( or more accurately stay working
within the new window ), but try to do something like Drag/Drop a few
rows to a Calc sheet and Wham Bang - off to never never land.
I can't imagine any reason why this should depend on the way the view
was loaded ... (which doesn't mean there is one). Care to try this with
a view opened "normally" (via the app window)?
I did try to reproduce that - it happened half a dozen times - till I
restarted my machine and has not since.
Anyway - the final basic snippet was good enough for the user that
wanted it - he is happy as punch with it.
The only down side is that if you close the Base document while one of
these windows is open it is left open, but now blank...
here you can add an ::com::sun::star::util::XCloseListener with
::com::sun::star::util::XCloseBroadcaster::addCloseListener() , as
::com::sun::star::sdb::OfficeDatabaseDocument supports
::com::sun::star::util::XCloseable.
[Side comment: why is this service OfficeDatabaseDocument still
"unplubished"? interface publishing policy is a mystery I do not
understand yet; looks like a question to [EMAIL PROTECTED]
You can throw a veto to close the document [not in OOoBasic AFAIK], or
get another connection and pass it to the DSB (may be that works).
Regards
Ariel.
--
Ariel Constenla-Haile
La Plata, Argentina
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.ArielConstenlaHaile.com.ar/ooo/
"Aus der Kriegsschule des Lebens
- Was mich nicht umbringt,
macht mich härter."
Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]