Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


I wanted to raise what might be a broader issue discovered while troubleshooting a bug:

https://www.libreoffice.org/bugzilla/show_bug.cgi?id=81012#c6

It appears that there are two different methods that SwNode::FindOutlineNodeOfLevel() (and functions that it calls) uses to determine the position of of a node:

1) GetIndex() (which seems to generally correlate with parsing order)
2) (pageframe)->Frm().Top() (absolute Y position in the document)

Bug 81012 seems to be related to the fact that GetIndex() doesn't return as expected for endnotes, and, that these two methods return divergent results.

This got me to thinking whether there might be other parts of the code that are relying on this kind of indexing/ordering, so I figured I would mention it here.

Regards,

        -Kartik

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.