[Libreoffice-bugs] [Bug 116170] New: FILESAVE OOXML Content_Type structure changes upon roundtrip

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Mar 4 01:28:06 UTC 2018


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

            Bug ID: 116170
           Summary: FILESAVE OOXML Content_Type structure changes upon
                    roundtrip
           Product: LibreOffice
           Version: 6.1.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:ooxml
          Severity: enhancement
          Priority: medium
         Component: filters and storage
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: baron at caesar.elte.hu
                CC: ashodnakashian at yahoo.com
            Blocks: 107585

Created attachment 140319
  --> https://bugs.documentfoundation.org/attachment.cgi?id=140319&action=edit
Sample PPTX

See the attached sample PPTX created in PowerPoint 2013, plus the original and
roundtripped [Content_Types].xml files. DOCX/XLSX seem to be the same.

The main difference is that the original [Content_Types].xml has Default
entries like this:
<Default Extension="rels"
ContentType="application/vnd.openxmlformats-package.relationships+xml"/>

The roundtripped file doesn't have that (except for xml), but has several
individual entries like this instead:
<Override PartName="/_rels/.rels"
ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
<Override PartName="/ppt/slideMasters/_rels/slideMaster1.xml.rels"
ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
etc.

Same with the embedded PNG.
In general MS Office OOXML files seem to have a Default entry per extension,
plus possible specialized entries.


Additionally, the original XML has the "standalone" attribute set for
[Content_Types].xml and all the *.rels files:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
The roundtripped files lack this (it's there in the content XMLs).


This is by no means a bug, because the file is valid either way, but LO could
possibly create a [Content_Types].xml that resembles more of the original.
Actually, it might be a subset of bug 50090, but that seems to be more general,
and I can't test with Windows Phone, so would prefer to keep this separate.

Observed using LO 6.1 daily build (96d551636e9179eb6874a5156b191ef3bff0a10c,
2018-02-27_00:54:40) / Windows 7.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107585
[Bug 107585] [META] Microsoft Office binary, text and xml file formats
-- 
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/20180304/256e03c9/attachment-0001.html>


More information about the Libreoffice-bugs mailing list