[Libreoffice-bugs] [Bug 124534] New: Suspicious property 'AnchorPosition'

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Apr 3 18:43:21 UTC 2019


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

            Bug ID: 124534
           Summary: Suspicious property 'AnchorPosition'
           Product: LibreOffice
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rb.henschel at t-online.de

Created attachment 150516
  --> https://bugs.documentfoundation.org/attachment.cgi?id=150516&action=edit
Example file with macro to examine the shape properties

If you inspect a shape via macro, you will find the property "AnchorPosition".
I see these problems:

1) If you change the zoom, you get different values for the X coordinate but
not for the Y coordinate.

2) 'AnchorPosition' exists in the API only for legend, but not for shapes.

3) The values in AnchorPosition make no sense.

Expected behavior:

The values in AnchorPosition are in unit 1/100 mm, same as all other values.

The values in AnchorPosition are independent from zoom.

'AnchorPosition' + 'Position' = 'Left or 'Top' respectively, so that 'Left' and
'Top' describe the distance from the page edge.

Type 'Anchor to page' results in 'AnchorPosition' (0|0).


The attached file contains the macro FrameRectWriter, which works on a selected
shape. You can use it to examine the current behavior.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190403/fe9fa4fb/attachment.html>


More information about the Libreoffice-bugs mailing list