Re: [api-dev] Document reflow and updating the ToC

2007-09-24 Thread Frank Meies
Hi Sander, On 09/19/07 11:00, Sander Marechal wrote: Is there a way to force a reflow through the Python Uno API? Or is there a way to get notified when OOo has finished reflowing and laying out the document, so I can wait for it? the document implements the XRefreshable interface which

Re: [api-dev] Document reflow and updating the ToC

2007-09-21 Thread Andreas Schlüns
Hello Sander, Hello, I am using OOo in headless mode together with PyODConverter (http://www.artofsolving.com/node/26). I made a little change to the script so it will update the Table of Contents before outputting the resulting document: document =

Re: [api-dev] Document reflow and updating the ToC

2007-09-21 Thread Mirko Nasato
Hi Andreas, Andreas Schlüns wrote: The asynchronous layout of our applications is an optimization to perform loading documents. In an UI use case you will see the document asap ... and layout will come later. But you are right ... loadComponentFromURL () is a synchronous API (btw: the office

Re: [api-dev] Document reflow and updating the ToC

2007-09-20 Thread Mirko Nasato
Sander Marechal wrote: Or is there a way to get notified when OOo has finished reflowing and laying out the document, so I can wait for it? Me too, I would be very interested to know if that is possible. Any ideas? Thanks Mirko

Re: [api-dev] Document reflow and updating the ToC

2007-09-20 Thread Fernand Vanrie
Mirko Nasato wrote: Sander Marechal wrote: Or is there a way to get notified when OOo has finished reflowing and laying out the document, so I can wait for it? adding some kind off listener to the dociument ?,I do not now wich can do the job but one off the list below must do the job