To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=45092
Issue #:|45092
Summary:|corrupting presentations via OO.o 1.1.x
Component:|xml
Version:|680m79
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|PATCH
Priority:|P2
Subcomponent:|code
Assigned to:|jsi
Reported by:|mmeeks
------- Additional comments from [EMAIL PROTECTED] Tue Mar 15 07:07:18 -0800
2005 -------
So - this description is a little involved:
When converting back/forward from OO.o 2.0 to OO.o 1.1.x, then loading & saving
in OO.o 1.1.x it's possible to corrupt your presentation in a trivial way that
makes the document un-openable.
This seems to be related to this property:
<office:automatic-styles>
<style:style style:name="dp1" style:family="drawing-page">
- <style:properties presentation:display-footer="visible"
presentation:display-page-number="hidden"
presentation:display-date-time="visible" smil:ty
pe="randomBarWipe" smil:subtype="vertical" transition-type="semi-automatic"
transition-style="vertical-lines" transition-speed="fast" background-objects-
visible="true" background-visible="true"/>
+ <style:properties transition-type="semi-automatic"
transition-style="vertical-lines" transition-speed="fast"
background-objects-visible="true" background-visible="true"
presentation:background-visible="true"
presentation:background-objects-visible="true"
presentation:display-footer="true" presentat
ion:display-page-number="false" presentation:display-date-time="true"
smil:type="randomBarWipe" smil:subtype="vertical"/>
</style:style>
Here showing the difference between a plain OO.o 1.1.x document & the same
document when saved back to 1.1.x format by OO.o 2.0
Interestingly the presentation:background-objects-visible, vs.
background-objects-visible properties may cause the problem:
xmllint on the broken file reveals:
content.xml:2: parser error : Attribute background-visible redefined
jects-visible="true" background-visible="true"
background-objects-visible="true"
from:
<style:properties presentation:display-footer="visible"
presentation:display-page-number="hidden"
presentation:display-date-time="visible" smil:type="randomBarWipe"
smil:subtype="vertical" transit
ion-type="semi-automatic" transition-style="vertical-lines"
transition-speed="fast" background-visible="true"
background-objects-visible="true" background-visible="true"
background-objects-visible="true"/></style:style>
Looks like we're losing a crucial namespace somewhere.
The relevant code is most likely nearby: xmloff/source/draw/sdpropls.cxx
_clearly_ we shouldn't be outputting: background-objects-visible="true"
background-visible="true" from 2.0
the fact that OO.o 1.1.x it tolerates it on import, but then refuses to re-open
the file later is not something we can easily fix; we can't require an updated
1.1.x to be interoperable, nor should we need to.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]