[Libreoffice-bugs] [Bug 139868] Anchor To Cell position drifts as file opened and re-saved over time

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jan 23 22:58:22 UTC 2021


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

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de

--- Comment #1 from Regina Henschel <rb.henschel at t-online.de> ---
The problem is not your locale or measurement unit, but the internal units.
Size and position of the cells are in unit "Twips", with 1pt = 20 Twips. The
unit for drawing objects is 1/100 mm. Both are integer. When a drawing object
is anchored to cell, its absolute position (in 1/100 mm) has to be converted in
an offset (in 1/100mm) from left-top corner of cell (Twips). So rounding errors
are unavoidable.

Bug 138109 is related to these rounding errors.

Besides that there might be off-by-one errors because the 'size' of a rectangle
can be including or excluding edge. In mathematics the length of [..[ is the
same as for [..], but in an integer grid not.

-- 
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/20210123/884fe518/attachment.htm>


More information about the Libreoffice-bugs mailing list