https://bugs.freedesktop.org/show_bug.cgi?id=64514

          Priority: medium
            Bug ID: 64514
          Assignee: [email protected]
           Summary: FIILESAVE: Open a .docx created by Word with 1 image,
                    save as .odt, image is duplicated in a frame a the top
                    of the document
          Severity: major
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: x86 (IA32)
            Status: UNCONFIRMED
           Version: unspecified
         Component: Writer
           Product: LibreOffice

Created attachment 79223
  --> https://bugs.freedesktop.org/attachment.cgi?id=79223&action=edit
Word file with a single image

Steps to reproduce.

In Word 2010 on Mac OS X, create a document, insert one picture from file and
anchor as character.

Open in LibreOffice Writer
Save as .odt

An extra image is introduced in a draw:frame element. Here is the offending
code from content.xml

 <draw:frame draw:name="P2287506.JPG" draw:style-name="gr1"
draw:text-style-name="P2" draw:z-index="0" svg:height="9.706cm"
svg:width="12.942cm" svg:x="0cm" svg:y="0cm" text:anchor-page-number="0"
text:anchor-type="page">
        <draw:image xlink:actuate="onLoad"
xlink:href="Pictures/1000000000000640000004B043CD2503.jpg" xlink:show="embed"
xlink:type="simple">
          <text:p/>
        </draw:image>
      </draw:frame>
      <text:p text:style-name="P1">
        <text:bookmark-start text:name="_GoBack"/>
        <draw:frame draw:name="Picture 1" draw:style-name="fr1"
draw:z-index="1" svg:height="9.707cm" svg:width="12.942cm"
text:anchor-type="as-char">
          <draw:image xlink:actuate="onLoad"
xlink:href="Pictures/1000000000000640000004B043CD2503.jpg" xlink:show="embed"
xlink:type="simple"/>
        </draw:frame>
        <text:bookmark-end text:name="_GoBack"/>
      </text:p>

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to