[Libreoffice-bugs] [Bug 139763] FILEOPEN XLSX Anchor type of rotated shape changes

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Feb 23 15:36:34 UTC 2021


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

--- Comment #1 from Regina Henschel <rb.henschel at t-online.de> ---
Created attachment 170004
  --> https://bugs.documentfoundation.org/attachment.cgi?id=170004&action=edit
Proposed patch

The error is likely in ShapeAnchor::importAnchor()

It seems in the first two cases the assignment to meEditAs is missing. That is
later used in getEditAs(), which is called in #328 to set bResizeWithCell of
the object. I think, the error is unrelated to the rotation.

In case of ShapeAnchor::ANCHOR_ABSOLUTE, #324 to #331 is skipped. Shall I
nevertheless add the assignment to meEditAs in that case too? I don't know
whether other places exist, that evaluate meEditAs.

I can test it with the mentioned file, which has xdr:oneCellAnchor for the
second case. But I have no test file for the first case.

How are those files created in Excel? When I try to create an example file, I
always get xdr:twoCellAnchor. Or do you have a file for case XDR_TOKEN(
absoluteAnchor ) which I can use for testing?

-- 
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/20210223/b78f96f8/attachment.htm>


More information about the Libreoffice-bugs mailing list