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

          Priority: medium
            Bug ID: 73227
          Assignee: [email protected]
           Summary: FILESAVE : DOCX : File containg Image,SmartArt,Shape
                    gets corrupt after Roundtrip
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.2.0.0.alpha0+ Master
         Component: Libreoffice
           Product: LibreOffice

Created attachment 91424
  --> https://bugs.freedesktop.org/attachment.cgi?id=91424&action=edit
Contains 1 Image, 1 SmartArt and 1 Shape

For the attached document,

Issue :
- File gets corrupt after Roundtrip.

Expected :
File should not get corrupt after Roundtrip.

Description of issue :
- File contains a page having 1 Image, 1 SmartArt and 1 Shape 
- Cause of corruption :- In document.xml, there is wrong sequence for xml tag
<w:drawing>
- The sequence is :
  <w:r>
    <w:drawing></w:drawing>
    <mc:AlternateContent></mc:AlternateContent>
    <w:drawing></w:drawing>
  </w:r>
If changed this sequence to,
  <w:r>
    <mc:AlternateContent></mc:AlternateContent>
    <w:drawing></w:drawing>
    <w:drawing></w:drawing>
  </w:r>
then the file opens up without corruption.
- Shape comes under <mc:AlternateContent></mc:AlternateContent> tag.
- The problem exists only with the combination of following,
  a] Image, SmartArt, Shape
  b] SmartArt, Image, Shape

-- 
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