[upstream] .doc header converted to .odt then .doc is removed

Bug #201375 reported by Jaak
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LibreOffice
Invalid
Medium
OpenOffice
Confirmed
Unknown
libreoffice (Ubuntu)
Fix Released
Medium
Unassigned
openoffice.org (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

1) lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

3) What is expected to happen in LibreOffice via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/201375/+attachment/228294/+files/documents.tgz && file-roller -h documents.tgz && cd documents && unoconv --listener && unoconv -f odt Original.doc && cp Original.odt example.odt && unoconv -f doc example.odt && lowriter -nologo example.doc Original.doc

is the example.doc and Original.doc look the same.

4) What happens instead is the header on page 2 is missing. Original.doc was created in MS Office.

Revision history for this message
Jaak (jaak-vlasveld) wrote :
Revision history for this message
Chris Cheney (ccheney) wrote :

Confirmed on upstream's openoffice.org 2.4.0~rc2.

Changed in openoffice.org:
importance: Undecided → Low
status: New → Confirmed
Chris Cheney (ccheney)
Changed in openoffice:
importance: Undecided → Unknown
status: New → Unknown
Changed in openoffice:
status: Unknown → New
Changed in openoffice:
status: Unknown → Confirmed
Chris Cheney (ccheney)
Changed in openoffice.org:
status: Confirmed → Triaged
Revision history for this message
joehill (joseph-hill) wrote : Re: [Upstream] [hardy] doc header doesn't survive roundtrip from odt format

I can confirm this and add that it's a more general problem affecting any document saved in .doc format (whether 95, 6.0, or 98/2000/XP). All headers and footers are removed.

Revision history for this message
Mark Howard (mh-tildemh) wrote :

This is still an issue in ubuntu 9.04 (openoffice 3.0) and openoffice 3.1 from the openoffice-ppas repository.

For me, this is a major issue resulting in having to use windows and ms word continuously. Openoffice works great for other things, but the headers and footers always disappear when saving as a word document.

The open office bug report notes that 'it is related to "following page" style' -- is there a workaround that could be used for this?

Chris Cheney (ccheney)
summary: - [Upstream] [hardy] doc header doesn't survive roundtrip from odt format
+ [upstream] doc header doesn't survive roundtrip from odt format
Revision history for this message
Paul C. Snider (paulcsnider) wrote : Re: [upstream] doc header doesn't survive roundtrip from odt format

Also confirmed on Ubuntu 9.04 OpenOffice 3.0 and 3.1. I would also like a work around or a fix as I no longer run Windows...

Revision history for this message
klausner (klausner) wrote :

Confirmed in Ubuntu 9.10 and OO 3.1. Would _really_ like a fix or a workaround.

penalvch (penalvch)
tags: added: lo33
description: updated
penalvch (penalvch)
Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
In , penalvch (penalvch) wrote :

Created attachment 47261
documents.tgz

Downstream bug may be found at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/201375

1) lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

3) What is expected to happen in LibreOffice via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/201375/+attachment/228294/+files/documents.tgz && file-roller -h documents.tgz && cd documents && unoconv --listener && unoconv -f odt Original.doc && cp Original.odt example.odt && unoconv -f doc example.odt && lowriter -nologo example.doc Original.doc

is the example.doc and Original.doc look the same.

4) What happens instead is the header on page 2 is missing. Original.doc was created in MS Office.

summary: - [upstream] doc header doesn't survive roundtrip from odt format
+ [upstream] .doc header converted to .odt then .doc is removed
description: updated
Changed in openoffice.org (Ubuntu):
status: Triaged → Won't Fix
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote : migrating packaging from OpenOffice.org to Libreoffice

[This is an automated message.]
There are no new official OpenOffice.org releases in Ubuntu packaging anymore => Won't Fix

If the problem persists, please mark this bug as "also affects project Libreoffice" or "also affects distribution Libreoffice (Ubuntu)" if that has not happened already.

Please leave references to upstream OpenOffice.org bugs in place to allow cross pollination.

penalvch (penalvch)
description: updated
penalvch (penalvch)
Changed in df-libreoffice:
importance: Undecided → Unknown
status: New → Unknown
Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html

Changed in df-libreoffice:
status: Confirmed → Incomplete
Revision history for this message
In , penalvch (penalvch) wrote :

Reproducible in:
lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.5.0~beta2-2ubuntu3
  Candidate: 1:3.5.0~beta2-2ubuntu3
  Version table:
 *** 1:3.5.0~beta2-2ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

Changed in df-libreoffice:
status: Incomplete → Confirmed
Revision history for this message
In , Stgohi-lobugs (stgohi-lobugs) wrote :

for me not reproducible with LO 4.0.2.2 (Win7 Home, 64bit)

Is this a Linux issue only or was this already resolved in the meantime?

Steps Done:
1. Open the attached file "Original.doc" with MSO 2007 and LO and compare it

Result: You can find the header in LO as in MSO 2007. But contrary to MSO the headers font color is in LO black instead of grey.
In addition, I found a few other differences. On page 1 the frame in the top right has a slightly different layout. The indent of the text in the left column on page 1 is in a few lines a little bit different.

Revision history for this message
In , Stgohi-lobugs (stgohi-lobugs) wrote :

Sorry, I have to amend my last comment.

If I open the attached file "Original.doc" with LO and save it again as a doc file and afterwards reopen it with MSO 2007 and LO, then in both programmes the heading is missing. In this case I can confirm a missing header with LO 4.0.2.2 (Win7 Home, 64bit).

Revision history for this message
In , penalvch (penalvch) wrote :

Problem reported in the Description https://bugs.freedesktop.org/show_bug.cgi?id=37705#c0 reproducible in:
Version 4.0.2.2 (Build ID: 400m0(Build:2))

lsb_release -rd
Description: Ubuntu 13.04
Release: 13.04

apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:4.0.2-0ubuntu1
  Candidate: 1:4.0.2-0ubuntu1
  Version table:
 *** 1:4.0.2-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
        100 /var/lib/dpkg/status

tags: added: natty raring
tags: removed: export import layout
Revision history for this message
In , Luke-2 (luke-2) wrote :

I tried to reproduce this in LibreOffice 4.2.4, and it appears to be fixed now.

1) open Original.doc supplied in the bug report
2
) save as saved.doc
3) close document
4) reopen saved.doc (still in LO)
5) second page header is present (unlike "new.doc" supplied in the bug report)

So let's mark this as resolved.

Revision history for this message
penalvch (penalvch) wrote :

Jaak, thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in Trusty Tahr.

This is a significant bug in Ubuntu. If you need a fix for the bug in previous versions of Ubuntu, please perform as much as possible of the SRU Procedure [1] to bring the need to a developer's attention.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Changed in libreoffice (Ubuntu):
status: Triaged → Fix Released
Changed in df-libreoffice:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.