https://issues.apache.org/ooo/show_bug.cgi?id=124677
Issue ID: 124677
Issue Type: DEFECT
Summary: Saving presentation leads to "format error" on new
file due to doubled xml attribute
Product: Impress
Version: 4.0.1
Hardware: PC
OS: Linux64
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: save-export
Assignee: [email protected]
Reporter: [email protected]
Hi there,
I have a large presentation that is not readable anymore when I save it.
Here is the message of the popup:
"format error discovered in the file in sub-document context.xml at ..."
The file was edited wit LibreOffice for several years before I jumped back to
OO. Now after creating a new master slide in OO there seems to be a serious
problem.
I can open and save the file with LibreOffice Impress Version: 4.1.3.2.
Afterwards I can open the file in OO, but when I save it in OO the file is
again defective.
I've tried to investigate on content.xml and tried to format it but got an
error there:
$ xmllint --format content.xml
content.xml:2: parser error : Attribute draw:mirror-vertical redefined
rue" draw:type="ooxml-rect" draw:enhanced-path="M 0 0 L ?f3 0 ?f3 ?f2 0 ?f2 Z
N"
Near to the above string I found: "draw:mirror-vertical="false""
After deleting the string the file was readable again in OO.
(This also helped to rescue several hours of work :)
Here is the responsible xml snipped:
...
<draw:enhanced-geometry draw:mirror-horizontal="false"
draw:mirror-vertical="false" svg:viewBox="0 0 0 0" draw:text-areas="0 0 ?f3
?f2" draw:mirror-vertical="true" draw:type="ooxml-rect" draw:enhanced-path="M 0
0 L ?f3 0 ?f3 ?f2 0 ?f2 Z N">
<draw:equation draw:name="f0" draw:formula="logwidth/2"/>
<draw:equation draw:name="f1" draw:formula="logheight/2"/>
<draw:equation draw:name="f2" draw:formula="logheight"/>
<draw:equation draw:name="f3" draw:formula="logwidth"/>
</draw:enhanced-geometry>
...
draw:mirror-vertical is there twice, once with value true and once with false.
Regards,
Michael
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.