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

--- Comment #5 from Andrey Cherepanov <[email protected]> ---
Picture is embed in document as 
<pic:blipFill>
        <a:blip dor:embed="rId5"/>
        <a:srcRect/>
        <a:stretch>
                <a:fillRect/>
        </a:stretch>
</pic:blipFill>

According
https://www.ecma-international.org/publications-and-standards/standards/ecma-376/

pic:blipFill/a:blip should contains attribute r:embed. But replace dor:embed by
r:embed:
<pic:blipFill>
        <a:blip r:embed="rId5"/>
        <a:srcRect/>
        <a:stretch>
                <a:fillRect/>
        </a:stretch>
</pic:blipFill>

produces import error: Namespace prefix r for embed on blip is not defined.

But there is defined in writerfilter/source/ooxml/model.xml:
      <define name="AG_Blob">
        <attribute name="r:embed">                                              
          <data type="string"/>
        </attribute>
        <attribute name="r:link">
          <data type="string"/>
        </attribute>
      </define>

Attributes dor:embed and even embed (see
sw/qa/extras/ooxmlexport/ooxmlexport4.cxx:908) are not suitable for a:blip
according to standard.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to