Stephan Bergmann wrote:
> On 04/15/2015 02:18 PM, Piet van Oostrum wrote:
> > Anyway, this makes it almost impossible to use listeners across the UNO
> > bridge. When I run my code as a macro inside LO there is no problem.
>
> Why do you need to remove and then re-add the MyEventListener du
On 04/15/2015 02:18 PM, Piet van Oostrum wrote:
Anyway, this makes it almost impossible to use listeners across the UNO bridge.
When I run my code as a macro inside LO there is no problem.
Why do you need to remove and then re-add the MyEventListener during the
dumentEventOccured call anyway?
Stephan Bergmann wrote:
> There's nothing special here. LO's main thread 1 in
> SfxBaseModel::postEvent_Impl (frame 19) is illegally issuing
> css.document.XDocumentEventListener::documentEventOccured calls with the
> solar mutex locked. The python process, while synchronously executing
On 04/13/2015 06:06 PM, Michael Stahl wrote:
On 12.04.2015 22:53, Piet van Oostrum wrote:
I am trying to program a Global DocumentEventListener in Python.
Then on a certain event (e.g. File Open), I want to analyse/print the paragraph
structure of the document.
I am running LibreOffice on port
On 13.04.2015 18:06, Michael Stahl wrote:
> looks like a deadlock, quite easy to reproduce, hope Stephan has some
> time to look at it:
>
i forgot to attach the self contained reproducer based on Piet's code,
it connects to pipe named "ms"
import uno
import unohelper
from com.sun.star.documen
Michael Stahl wrote:
> On 12.04.2015 22:53, Piet van Oostrum wrote:
> > I am trying to program a Global DocumentEventListener in Python.
> > Then on a certain event (e.g. File Open), I want to analyse/print the
> > paragraph structure of the document.
> >
> > I am running LibreOffice on po
On 12.04.2015 22:53, Piet van Oostrum wrote:
> I am trying to program a Global DocumentEventListener in Python.
> Then on a certain event (e.g. File Open), I want to analyse/print the
> paragraph structure of the document.
>
> I am running LibreOffice on port 2002. I am using the internal Python
I am trying to program a Global DocumentEventListener in Python.
Then on a certain event (e.g. File Open), I want to analyse/print the paragraph
structure of the document.
I am running LibreOffice on port 2002. I am using the internal Python from
LibreOffice, but I run the script externally, fro