layout.xml differs from parseDump(...)

Patrick Jaap patrick.jaap at
Tue Sep 11 16:23:59 UTC 2018

Hi Thorsten!

Thanks for the hint with the Scheduler method.
Unfortunately, it did not change anything...

I figured another way to do the unit test:

I want to check that no "POR_FLY" portions are created in the document. 
A first ugly patch is here

and I added you as a reviewer.

Do you have an idea how to iterate over all "Special" parts of a text node?
My first solution is really, really ugly.


Am 08.09.2018 um 01:35 schrieb Thorsten Behrens:
> Hi Patrick,
> Patrick Jaap wrote:
>> So, the first one is equal, but the other ones are shifted by 333.
>> How can this be caused? Is this a bug?
> Looks odd indeed. First thing that comes to mind: layouting continues
> asynchronously after the load - perhaps a
> Scheduler::ProcessEventsToIdle() helps. See uiwriter.cxx for a few
> examples where that is used.
> Other than that, all a bit speculative. Any code / patch yet to look
> at?
> Cheers,
> -- Thorsten

More information about the LibreOffice mailing list