Created attachment 148717 [details]
image in custom shape, produced by Word 365
Open attached document. The file was produced as export in Wort 365 from the attachment "doc" https://bugs.documentfoundation.org/attachment.cgi?id=148697 from bug 123006. It shows the rectangles, but the images are missing.
Word 365 converts the "canvas" of the doc-format to a <draw:g> element in odt-format. Inside the group you find <draw:custom-shape> elements, e.g with draw:id="id4" attribute. This element contains a <text:p> element.
Such element may have a <draw:frame> child element, and this contains a <draw:image> element.
That is a valid method to get rich content inside a custom shape. But LibreOffice cannot interpret it.
In the past it was not necessary to support rich content in shapes, because no application used it. But as Word 365 now writes it, it would be good to support it too.
I seems LO can already use it by the new feature "text box in custom shape", but it is not used when opening a file not created by LibreOffice.
Created attachment 150275 [details]
comparison LibreOffice 6.3 Master and MSO 2010
Build ID: 82463bdde75447d45e0cd6ed9ab579e0e51ea912
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US