Hi Max,

On 23.09.2007 13:05, Maximilian Odendahl wrote:

you could do a check if the text node is located inside a frame. In this case you could additionally check the "position" of the anchor.

I just tried this and it works, but I would also have to check e.g if it is inside a header or footer and then go again for the position, so we would have a lot of different cases.

yes, that's what I meant to say.

How about we leave it the way it is, so comparing the position, knowing it might be wrong in rare cases. As the sorting takes place every time we calculate the positions, I think we could live with it.

So we obviously did not sort the notes in the navigator until now, therefore I also don't think that this is a critical point.

Regards,

Frank

--
Frank Meies (fme) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to