#5291 HIGH 10.1.3: Files are written with wrong extension
Zarro Boogs per Child
bugtracker at laptop.org
Mon Dec 6 11:25:26 EST 2010
#5291: Files are written with wrong extension
------------------------------------------------+---------------------------
Reporter: ffm | Owner: uwog
Type: defect | Status: new
Priority: high | Milestone: 10.1.3
Component: write-activity (abiword) | Version:
Resolution: | Keywords:
Next_action: diagnose | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
------------------------------------------------+---------------------------
Comment(by erikos):
I did compare the contents of a file created with AbiWord/2.8.4 (a) and
one created with AbiWord/2.8.6 (b). (a) does not open in openoffice (it
does in Abiword) and (b) does open fine. After modifying (a) with the
changes from below (despite the content) it opened fine. Do we know which
change could have caused this in 2.8.6? Could it be backported maybe?
{{{
diff -u a/content.xml b/content.xml
--- a/content.xml 2010-12-06 15:24:34.000000000 +0100
+++ b/content.xml 2010-12-06 15:25:04.000000000 +0100
@@ -5,28 +5,16 @@
<office:automatic-styles>
<style:style style:family="section" style:name="Sect1"/>
<style:page-layout style:name="PLayout2">
- <style:page-layout-properties fo:margin-top="1.270000cm" fo:margin-
bottom="1.270000cm" fo:margin-left="1.0in" fo:margin-right="1.0in"/>
- <style:header-style>
- <style:header-footer-properties svg:height="1.270000cm"/>
- </style:header-style>
- <style:footer-style>
- <style:header-footer-properties svg:height="1.270000cm"/>
- </style:footer-style>
+ <style:page-layout-properties fo:margin-top="1.0000in" fo:margin-
bottom="1.0000in" fo:margin-left="1.0000in" fo:margin-right="1.0000in"/>
</style:page-layout>
<style:page-layout style:name="Standard">
- <style:page-layout-properties fo:margin-top="1.270000cm" fo:margin-
bottom="1.270000cm" fo:margin-left="1.0in" fo:margin-right="1.0in"/>
- <style:header-style>
- <style:header-footer-properties svg:height="1.270000cm"/>
- </style:header-style>
- <style:footer-style>
- <style:header-footer-properties svg:height="1.270000cm"/>
- </style:footer-style>
+ <style:page-layout-properties fo:margin-top="1.0000in" fo:margin-
bottom="1.0000in" fo:margin-left="1.0000in" fo:margin-right="1.0000in"/>
</style:page-layout>
</office:automatic-styles>
<office:body>
<office:text>
<text:section text:style-name="Sect1" text:name="Section1">
- <text:p text:style-name="Normal">Anfang</text:p>
+ <text:p text:style-name="Normal">Ende</text:p>
</text:section>
</office:text>
</office:body>
Gemeinsame Unterverzeichnisse: a/META-INF und b/META-INF.
diff -u a/meta.xml b/meta.xml
--- a/meta.xml 2010-12-06 15:24:34.000000000 +0100
+++ b/meta.xml 2010-12-06 15:25:04.000000000 +0100
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<office:document-meta
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:ooo="http://openoffice.org/2004/office" office:version="1.1">
<office:meta>
-<meta:generator>AbiWord/2.8.4 (unix, gtk)</meta:generator>
+<meta:generator>AbiWord/2.8.6 (unix, gtk)</meta:generator>
</office:meta>
</office:document-meta>
diff -u a/styles.xml b/styles.xml
--- a/styles.xml 2010-12-06 15:24:34.000000000 +0100
+++ b/styles.xml 2010-12-06 15:25:04.000000000 +0100
@@ -12,13 +12,7 @@
</office:styles>
<office:automatic-styles>
<style:page-layout style:name="Standard">
- <style:page-layout-properties fo:page-width="8.500000in" fo:page-
height="11.000000in" style:print-orientation="portrait" fo:margin-
top="1.270000cm" fo:margin-bottom="1.270000cm" fo:margin-left="1.000000in"
fo:margin-right="1.000000in"/>
- <style:header-style>
- <style:header-footer-properties svg:height="1.270000cm"/>
- </style:header-style>
- <style:footer-style>
- <style:header-footer-properties svg:height="1.270000cm"/>
- </style:footer-style>
+ <style:page-layout-properties fo:page-width="210.000000mm" fo:page-
height="297.000000mm" style:print-orientation="portrait" fo:margin-
top="1.0000in" fo:margin-bottom="1.0000in" fo:margin-left="1.0000in" fo
:margin-right="1.0000in"/>
</style:page-layout>
</office:automatic-styles>
<office:master-styles>
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/5291#comment:19>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list