Bug 105603 - LibreOffice writes an invalid attribute "sub-view-size" in ODF 1.2 strict from pptx file
Summary: LibreOffice writes an invalid attribute "sub-view-size" in ODF 1.2 strict fro...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:odp
Depends on:
Blocks: ODF-export-invalid
  Show dependency treegraph
 
Reported: 2017-01-29 23:17 UTC by Regina Henschel
Modified: 2018-12-28 21:39 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Bézier curve as custom shape, created with PowerPoint 2010 (36.86 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2017-01-29 23:17 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2017-01-29 23:17:12 UTC
Created attachment 130757 [details]
Bézier curve as custom shape, created with PowerPoint 2010

Open the attached pptx-file. Set LibreOffice to save to strict ODF 1.2. Save the file as *.odp. Unpack the file and examine the element <draw:enhanced-geometry> in content.xml.
It has an attribute "sub-view-size". Such attribute does not exist in ODF 1.2.

If you save to 'ODF 1.2 extended', then the namespace drawooo is used.
Comment 1 Julien Nabet 2017-01-31 21:22:37 UTC
Regina: I think it's the code pointer:
http://opengrok.libreoffice.org/xref/core/xmloff/source/draw/shapeexport.cxx#4650

Perhaps this can kind of instruction may help:
if( rExport.getDefaultVersion() > SvtSaveOptions::ODFVER_012 )
?
Comment 2 QA Administrators 2018-05-29 02:36:53 UTC Comment hidden (obsolete)
Comment 3 Regina Henschel 2018-11-06 13:41:45 UTC
The error still exists in Version: 6.2.0.0.alpha1+ (x64)
Build ID: f825e6d4082c0d0beb1c95b881f6a2ee9bfc9161
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-05_00:20:26
Locale: de-DE (en_US); Calc: CL
Comment 4 Regina Henschel 2018-12-28 21:39:05 UTC
Fixed with fix for bug 122335 with commit https://git.libreoffice.org/core/+/1141fc3247bf8cf901af3f9c0194cbb2621ff707%5E%21

I no longer see the invalid attribute sub-view-size in Version: 6.3.0.0.alpha0+
Build ID: f23b7a8a73114d65d1aa38e5a648e622a56f6ee6
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded