Bug 90028 - Importer drops Lotus Word Pro document formatting
Summary: Importer drops Lotus Word Pro document formatting
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.1.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: LWP
  Show dependency treegraph
 
Reported: 2015-03-15 19:43 UTC by Todd
Modified: 2022-07-13 23:27 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
test lwp (61.16 KB, application/vnd.lotus-wordpro)
2015-03-15 19:43 UTC, Todd
Details
source document that crashes import (238.43 KB, application/vnd.lotus-wordpro)
2015-04-14 01:17 UTC, Todd
Details
Screenshot of document opened with Lotus Word Pro 97 (101.23 KB, image/png)
2022-07-10 19:00 UTC, Bartosz
Details
Before and after of test.lwp (225.43 KB, image/png)
2022-07-10 22:21 UTC, Todd
Details
Another lwp with format errors (61.60 KB, application/x-crossover-lwp)
2022-07-10 22:42 UTC, Todd
Details
Before and after of another lwp with conversion errors (129.22 KB, image/png)
2022-07-10 22:43 UTC, Todd
Details
Intermediate format: StarOffice XML from LO 7.4.0 (34.12 KB, text/xml)
2022-07-10 23:04 UTC, Bartosz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Todd 2015-03-15 19:43:04 UTC
Created attachment 114115 [details]
test lwp

Dear Libre Office,

I couldn't find 4.4.1 in the drop down.

LibreOffice_4.4.1_Linux_x86-64_rpm.tar.gz

I have attached a Lotus Word Pro document for you to do your import magic on.  Your importer drops all the tables and all the formatting.

The master document that this comes from (will have to remove private info, if you need it) actually crashes LO.  I figure fix this first, then work on the bigger one

Many thanks,
-T
Comment 1 Buovjaga 2015-03-20 19:14:46 UTC
Confirmed.

Win 7 Pro 64-bit, LibO Version: 4.4.1.2
Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
Locale: fi_FI

Version: 4.5.0.0.alpha0+
Build ID: 181feb38d95e25980b96c2f6802cc906410abb13
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-03-19_23:38:28
Locale: fi_FI
Comment 2 David Tardon 2015-04-13 11:55:47 UTC
(In reply to Todd from comment #0)
> The master document that this comes from (will have to remove private info,
> if you need it) actually crashes LO.

I would be good if you could report this one too. Crashes are more important than data loss.
Comment 3 Todd 2015-04-14 01:17:13 UTC
Created attachment 114771 [details]
source document that crashes import

(In reply to David Tardon from comment #2)
> (In reply to Todd from comment #0)
> > The master document that this comes from (will have to remove private info,
> > if you need it) actually crashes LO.
> 
> I would be good if you could report this one too. Crashes are more important
> than data loss.

My current version of LO is LibreOffice_4.4.2_Linux_x86-64_rpm.tar.gz

This is the document (clean up for privacy) that I was trying to import data from.  The cleaned up document also crashes LO.  

You will note the use of division tabs in the document.  Division tabs have been repeatedly requested by a number of us over on:

https://bugs.freedesktop.org/show_bug.cgi?id=33173
Comment 4 David Tardon 2015-04-14 07:58:04 UTC
(In reply to Todd from comment #3)
> Created attachment 114771 [details]
> source document that crashes import
> 
> (In reply to David Tardon from comment #2)
> This is the document (clean up for privacy) that I was trying to import data
> from.  The cleaned up document also crashes LO.  

What I meant was to open a new bug, not attach the document here... Anyway, I fixed the crash now.
Comment 5 Todd 2015-04-14 08:30:01 UTC
(In reply to David Tardon from comment #4)
> (In reply to Todd from comment #3)
> > Created attachment 114771 [details]
> > source document that crashes import
> > 
> > (In reply to David Tardon from comment #2)
> > This is the document (clean up for privacy) that I was trying to import data
> > from.  The cleaned up document also crashes LO.  
> 
> What I meant was to open a new bug, not attach the document here... Anyway,
> I fixed the crash now.


Thank you!

Did you manage to get the formatting back too?
Comment 6 David Tardon 2015-04-14 08:35:05 UTC
No, I did not. That is why I left this bug opened.
Comment 7 tommy27 2016-04-16 07:28:07 UTC Comment hidden (obsolete)
Comment 8 Todd 2016-04-20 01:41:51 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2017-05-22 13:25:50 UTC Comment hidden (obsolete)
Comment 10 Todd 2017-05-22 18:39:04 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2018-05-23 02:35:18 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2020-05-23 03:43:43 UTC Comment hidden (obsolete)
Comment 13 Todd 2020-05-23 04:45:13 UTC Comment hidden (obsolete)
Comment 14 Buovjaga 2020-05-23 10:55:40 UTC Comment hidden (obsolete)
Comment 15 Todd 2020-05-23 23:09:55 UTC Comment hidden (obsolete)
Comment 16 Buovjaga 2020-05-24 09:55:48 UTC Comment hidden (obsolete)
Comment 17 Todd 2020-05-26 20:11:21 UTC
I installed LibreOfficeDev_7.0.0.0.alpha1_Linux_x86-64_rpm.tar.gz on a virtual machine untouched by previous Libre office installations.

I was able to import the attachment to bug 133329 without crashing.  The import really stunk, but it did not crash.

So, this bug still exists.  Document formatting is still messed up on import.
Comment 18 Todd 2020-05-26 20:15:34 UTC Comment hidden (obsolete)
Comment 19 Buovjaga 2020-05-27 07:40:15 UTC Comment hidden (obsolete)
Comment 20 David Tardon 2020-06-13 14:11:18 UTC Comment hidden (obsolete)
Comment 21 Todd 2020-06-13 19:58:48 UTC Comment hidden (obsolete)
Comment 22 Buovjaga 2020-06-13 20:27:51 UTC Comment hidden (obsolete)
Comment 23 Todd 2020-06-13 21:35:17 UTC Comment hidden (obsolete)
Comment 24 QA Administrators 2022-06-16 03:45:06 UTC Comment hidden (obsolete)
Comment 25 Todd 2022-06-17 21:25:35 UTC
It is still pretty much a mess.

Fedora 35
LibreOffice-7.3.4-Linux_x86-64_rpm.tar.gz
Comment 26 Bartosz 2022-07-10 15:15:33 UTC
Could you please attach screenshot, how file should looks like after import ?
Comment 27 Bartosz 2022-07-10 19:00:50 UTC
Created attachment 181210 [details]
Screenshot of document opened with Lotus Word Pro 97
Comment 28 Todd 2022-07-10 22:21:24 UTC
Created attachment 181214 [details]
Before and after of test.lwp

This is the before and after of the original test.lp document I posted.  The difference is dramatic.  Only the text was converted.  Everything else was dropped.
Comment 29 Todd 2022-07-10 22:42:35 UTC
Created attachment 181215 [details]
Another lwp with format errors

Another lwp with conversions errors
Comment 30 Todd 2022-07-10 22:43:44 UTC
Created attachment 181216 [details]
Before and after of another lwp with conversion errors

This is before and after of another lwp file with conversion errors
Comment 31 Todd 2022-07-10 22:45:58 UTC
the "after" are screen shots of libreoffice7.3-7.3.4.2-2.x86_64 running on  Fedora 36
Comment 32 Bartosz 2022-07-10 23:04:17 UTC
Created attachment 181219 [details]
Intermediate format: StarOffice XML from LO 7.4.0
Comment 33 Bartosz 2022-07-13 22:42:16 UTC Comment hidden (obsolete)
Comment 34 Todd 2022-07-13 23:27:26 UTC Comment hidden (obsolete)