[Libreoffice-bugs] [Bug 34722] FILEOPEN: Text boxes are not shown in generated .doc documents
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 5 23:24:28 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=34722
--- Comment #25 from Regina Henschel <rb.henschel at t-online.de> ---
(In reply to Julien Nabet from comment #24)
> Regina: taking a look at this one, I noticed that the log
> warn:legacy.osl:271686:271686:sw/source/filter/ww8/ww8graf.cxx:2596: Where
> is the Shape ?
> appeared first with mso_sptNotchedCircularArrow
>
...
> pRet is false because "GetCustomShapeContent( aObjData.eShapeType )" from
> line 4433
> (see
> https://opengrok.libreoffice.org/xref/core/filter/source/msfilter/msdffimp.
> cxx?r=be3a8183#4433) returns nothing.
>
> Indeed this function doesn't deal with case "mso_sptNotchedCircularArrow"
> (see
> https://opengrok.libreoffice.org/xref/core/svx/source/customshapes/
> EnhancedCustomShapeGeometry.cxx?r=d2702aea#8346)
> but when taking a look at how the other ones are implemented, it seems it's
> quite complex.
> I don't pretend I could succeed but are there some doc about how to
> implement them?
I don't know what you are looking for, and think, I cannot really help you.
The specification of the binary format is in [MS-ODRAW]: Office Drawing Binary
File Format
https://docs.microsoft.com/en-us/openspecs/office_file_formats/ms-offfflp/6ae2fd93-51fc-4e75-a54a-1b175c627b51
The shapes in question are legacy "text box" shapes in MS, German "Textfeld".
Those does not exists in modern docx.
OOo2.4.3 opens the file without problems, OOo3.2 crashes. The texts are legacy
rectangles there, not custom shapes and not frames. They are anchored "at
character". I see only three custom shapes, one for the rounded rectangle at
the top, one for the rectangle with text UNIT PLUS in the middle, and one for
the last rectangle at the bottom. The other lines are single lines.
--
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/20191205/5ac28c12/attachment.html>
More information about the Libreoffice-bugs
mailing list