Created attachment 172156 [details] Document to reproduce the error Open attached document and save it in docx-format. Open the saved file, you can use LibreOffice or Word. Notice the contour is missing. Open the saved file in editor and look at the v:shape element. It is missing the wrapcoords attribute. BTW, I wonder, why it is not saved with mc:AlternateContent. I have expected a w:drawing > w:wrapTight > wp:wrapPolygon and a:custGeom in the a:graphic part in addition to a fallback with v:shape.
CONFIRMED on Ubuntu 18.04 LTS and LibreOffice 7.2.0.0.alpha0+ Version: 7.2.0.0.alpha0+ / LibreOffice Community Build ID: 27911b0455d8dcc08a0702372492a6ce00250cb7 CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: gtk3 Locale: en-IN (en_IN); UI: en-US TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-04-12_15:34:11 Calc: threaded
I'll work on it and fix it together with the other wrap problems in DocxSdrExport::startDMLAnchorInline.
Exporting to DML was excluded in bug 75254. The reason for the exclusion does no longer exist. So I will remove the restriction and then enable generating a wrap polygon for polygons too.
Exporting to DML would convert the shape to a custom-shape on reopening. If it is only exported to VML, then it will become a polypolygon-shape on reopening. The user can edit the points in a polypolygon-shape. That is not possible for a custom-shape. After discussing the problem on the dev-mailinglist [1], I agree with Miklos, that users might see it as regression, if point editing is no longer possible. [1] https://lists.freedesktop.org/archives/libreoffice/2021-August/087781.html So the wrong wrap has to be solved in VML export. But that is currently out of scope for me. Therefore 'Assignee' back to default. The request to implement point editing for custom-shapes is in bug 144041.
repro 7.6+
Still repro. Arch Linux 64-bit Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: afa42fcd26d9d8677b246fcc4485a11c50d5d67d CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: kf6 (cairo+wayland) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: CL threaded Built on 25 November 2024