What is shape property 'AnchorPosition' ?

Miklos Vajna vmiklos at collabora.com
Tue May 7 08:11:11 UTC 2019


Hi,

On Mon, May 06, 2019 at 07:59:43PM +0200, Regina Henschel <rb.henschel at t-online.de> wrote:
> If you inspect the shape properties using a Basic macro, you will see the
> read only property 'AnchorPosition'. What is the meaning of this property? I
> do not find such property in the API. It seems to be related to the left/top
> of the center window.

That property is a wrapper around the internal
SdrObject::GetAnchorPos(), see SwXShape::getPropertyValue() at
sw/source/core/unocore/unodraw.cxx:1463.

Extending the offapi/ documentation to mention it would make sense, I
think.

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20190507/747a149f/attachment.sig>


More information about the LibreOffice mailing list