Bug 32641

Summary: [FILEOPEN]: WordPerfect for Mac 2.x files import as blank documents
Product: LibreOffice Reporter: em36
Component: WriterAssignee: Fridrich Strba <fridrich.strba>
Status: RESOLVED WORKSFORME    
Severity: normal CC: cedric.bosdonnat.ooo, jorendc, LibreOffice
Priority: medium    
Version: 3.3.0 RC2   
Hardware: All   
OS: All   
Whiteboard: (target:4.0.0)
Crash report or crash signature: Regression By:
Attachments: Zip with sample WPMac 2.1.3 file
Another file created by WPMac 2.1.3

Description em36 2010-12-24 07:44:22 UTC
Created attachment 41427 [details]
Zip with sample WPMac 2.1.3 file

LibreOffice (and other recent OO variants, I think) import WordPerfect for the Mac 2.x files as blank documents. The libwpd 0.9.0 release (which I think is used in LibreOffice) seems to be unable to convert these files. Other WordPerfect for the Mac versions import successfully.

I've attached a sample WPMac 2.1.3 file. The text is a translation from an old propaganda film and NOT my own work!
Comment 1 Rainer Bielefeld Retired 2010-12-24 09:10:50 UTC
[Reproducible] with "LibreOffice 3.3.0 RC2 - WIN XP German UI  [OOO330m18 (build 3.3.0.2)]" and sample document.
Works fine with LibO and sample from 
<http://www.openoffice.org/issues/show_bug.cgi?id=98093>

Sample document will be opened with OOo 3.1.1 without problems.

Cédric, who will handle this problem?
Comment 2 em36 2010-12-24 09:21:54 UTC
Created attachment 41429 [details]
Another file created by WPMac 2.1.3
Comment 3 em36 2010-12-26 12:42:09 UTC
(In reply to comment #2)

A fix for the underlying libwpd code has been posted by the author here:

http://libwpd.git.sourceforge.net/git/gitweb.cgi?p=libwpd/libwpd;a=commitdiff;h=7d080e31f077b3232ae1d71176c864af65f3f618

This fixes the problem when I use a standalone libwpd compiled under OS X. I hope it may be all that's needed to fix the LibreOffice code.
Comment 4 Jan Holesovsky 2010-12-28 05:33:28 UTC
I am afraid we cannot update libwpd for RC3; though it will be for sure fixed in 3.4.
Comment 5 Fridrich Strba 2010-12-28 05:58:50 UTC
Ok, the change is very little and problem is regression wrt to the libwpd 0.8.x series. I would suggest -- if upgrade is not possible -- include this fix as a patch in libwpd module.
Comment 6 Jorendc 2013-02-17 15:36:11 UTC
Opening both files using LibreOffice 4.0.0 shows content. Therefore I mark this as RESOLVED WORKSFORME.
If this bug still exist with this version, please feel free to REOPEN this bug.

Kind regards,
Joren