Base document doesn't sent DocumentLoeded event ...

classic Classic list List threaded Threaded
3 messages Options
Patrick Gelin Patrick Gelin
Reply | Threaded
Open this post in threaded view
|

Base document doesn't sent DocumentLoeded event ...

Good evening,

I'm writing a base application with LibreOffice Version: 5.2.7.2 and
Java 1.8.0_144 and Linux Debian Stretch.

I writed a macro to catch DocumentLoaded event. I understand this event
will be trhown only one time, after document finished to load... But it
looks like this event is never throw, because my macro is never called.

I succeded to catch DocumentActivated event, but it's throw multi times
by session. My goal is to use DocumentLoaded event to manage singletons
instances. If I can't catch this event, do you know an other way to
manage singletons with basic base application ?

Thank you for your help.
Patrick

--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Alex Thurgood Alex Thurgood
Reply | Threaded
Open this post in threaded view
|

Re: Base document doesn't sent DocumentLoeded event ...

Le 07/12/2017 à 18:19, Patrick Gelin a écrit :

Hi Patrick,

Sounds similar to bug 91828.

Also, you might want to read bug reports 91879 and 107839 to see if they
are related to your problem.



Alex



--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Robert Großkopf Robert Großkopf
Reply | Threaded
Open this post in threaded view
|

Re: Base document doesn't sent DocumentLoeded event ...

Hi Patrick, Alexander,
>
> Sounds similar to bug 91828.
>
> Also, you might want to read bug reports 91879 and 107839 to see if they
> are related to your problem.

And also this one for opening a database-document:
https://bugs.documentfoundation.org/show_bug.cgi?id=96625

Regards

Robert
--
Homepage: http://robert.familiegrosskopf.de
LibreOffice Community: http://robert.familiegrosskopf.de/map_3


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted