https://bugs.documentfoundation.org/show_bug.cgi?id=124534

--- Comment #9 from Regina Henschel <[email protected]> ---
Miklos has related the property "AnchorPosition" to the method
SdrObject::GetAnchorPos() in his answer 
https://lists.freedesktop.org/archives/libreoffice/2019-May/082682.html

I think, the property "AnchorPosition" is not related to
SdrObject::GetAnchorPos(). Two different shapes in a text document have the
same values for "AnchorPosition", whereas GetAnchorPos() returns the m_aAnchor
member of the individual shape.

Using the now available tools "Development Tools" I see this:

The property "AnchorPosition" of a shape reflects the properties Document >
ViewData > ViewLeft and ViewTop. As it is a document property is makes sense
that it is readonly at the shape.

The document properties ViewLeft and ViewTop do not react immediately in the
Development Tools, when the view in the application window changes. You need to
save the document with the changed view to actualize the properties.

The property "AnchorPosition" of the shapes in the Development Tools reacts
immediately on a changed view.

So it boils down to the question, "What is contained in ViewLeft and ViewTop?"

In file format they are config items in settings.xml.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to