Description: https://www.dedoimedo.com/images/computers-years/2019-2/libre-6-3-docx-load-error.png https://templates.office.com/EN-US/organic-shapes-resume-TM44864860 FILEOPEN Steps to Reproduce: 1. Open document in Writer 2. 3. Actual Results: After proceeding, only a picture is displayed Expected Results: It would appear like it would in Word Reproducible: Always User Profile Reset: Yes Additional Info:
On Win10 with master sources updated today, I could reproduce this.
On console, I got logs like these: warn:oox:5704:4600:oox/source/docprop/docprophandler.cxx:322: OOXMLDocPropHandler::startFastElement: unknown element 5620 warn:oox:5704:4600:oox/source/docprop/docprophandler.cxx:322: OOXMLDocPropHandler::startFastElement: unknown element 3197 warn:oox:5704:4600:oox/source/docprop/docprophandler.cxx:322: OOXMLDocPropHandler::startFastElement: unknown element 5620 warn:oox:5704:4600:oox/source/docprop/docprophandler.cxx:322: OOXMLDocPropHandler::startFastElement: unknown element 2748 warn:oox:5704:4600:oox/source/docprop/docprophandler.cxx:322: OOXMLDocPropHandler::startFastElement: unknown element 3197 000001DC03C2F350:createUnknownChildContext:http://schemas.microsoft.com/office/2006/metadata/contentType:ct:contentTypeSchema 000001DC03C2F850:start unknown element:http://schemas.microsoft.com/office/2006/metadata/contentType:ct:contentTypeSchema 000001DC03C2F850:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:schema 000001DC03C2ED10:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:schema 000001DC03C2ED10:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:import 000001DC03C30750:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:import 000001DC03C30750:end unknown element:http://www.w3.org/2001/XMLSchema:xsd:import 000001DC03C2ED10:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:import 000001DC03C2EB30:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:import 000001DC03C2EB30:end unknown element:http://www.w3.org/2001/XMLSchema:xsd:import 000001DC03C2ED10:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:element 000001DC03C2EDB0:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:element 000001DC03C2EDB0:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:complexType 000001DC03C2FB70:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:complexType 000001DC03C2FB70:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:sequence 000001DC03C30750:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:sequence 000001DC03C30750:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:element 000001DC03C2F2B0:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:element 000001DC03C2F2B0:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:complexType 000001DC03C2F670:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:complexType 000001DC03C2F670:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:all 000001DC03C2F3F0:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:all 000001DC03C2F3F0:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:element 000001DC03C30110:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:element
Created attachment 154657 [details] sample file
Also reproducible in Version: 5.2.0.0.alpha1+ Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e CPU Threads: 4; OS Version: Linux 4.15; UI Render: default; Locale: ca-ES (ca_ES.UTF-8 @Mike Kaganski, I thought you might be interested in this issue...
Created attachment 165257 [details] Comparison MSO 2010 and LibreOffice 7.1 master
The document looks pretty much the same as in bug 120547
Created attachment 165261 [details] Reproducible with this file
Created attachment 165262 [details] Not reproducible with this file
I've played a bit with the original file and found that the issue is reproducible when the image filling the shape has a size greater than X, if I reduce it a bit, from 3100x3100 pixels to 3000x3000 pixels, LibreOffice no longer complains at import time. In attachment 165261 [details] the image's size is 3100x3100 and in attachment 165262 [details] it's 3000x3000
Created attachment 168035 [details] The attachment # 165261 [details] in Writer 7.1 Seems to be fixed since: https://cgit.freedesktop.org/libreoffice/core/commit/?id=cd85546a2fbdade42f80fd3b6bd650791db9f32d author Miklos Vajna <vmiklos@collabora.com> 2020-09-28 21:05:27 +0200 committer Miklos Vajna <vmiklos@collabora.com> 2020-09-29 09:06:07 +0200 tdf#136551 DOTX import: restore support for large XML attribute values
Thanks Miklos for fixing this one! *** This bug has been marked as a duplicate of bug 136551 ***