Bug Hunting Session
Bug 62613 - unwanted spacing in DOC, table imported on another page (9 pages in MSO, was 40/12/19/12 pages in LO)
Summary: unwanted spacing in DOC, table imported on another page (9 pages in MSO, was ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
3.5.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc
Depends on:
Blocks: DOC-Tables
  Show dependency treegraph
 
Reported: 2013-03-21 21:09 UTC by Andreas Wagner
Modified: 2018-11-24 15:18 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
sample document (302.50 KB, application/msword)
2013-03-21 21:09 UTC, Andreas Wagner
Details
sample doc with auto-detected content type (302.50 KB, application/msword)
2013-03-26 19:06 UTC, Andreas Wagner
Details
Sample DOC saved in MSO as PDF (209.65 KB, application/pdf)
2018-07-19 10:04 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Wagner 2013-03-21 21:09:25 UTC
Created attachment 76877 [details]
sample document

In Word the attached file opens as 8 pages, in LibreOffice Writer it opens as 13 pages.
Comment 1 Linus Drumbler 2013-03-26 16:11:36 UTC
Please re-attach the file you have added, setting the file type to "auto-detect" rather than "text/plain".
Comment 2 Andreas Wagner 2013-03-26 19:06:32 UTC
Created attachment 77075 [details]
sample doc with auto-detected content type

I have reattached the doc with auto-detected content type. Thanks for looking at this.
Comment 3 Marc Kaulisch 2013-04-16 20:48:57 UTC
I can confirm this behaviour on Windows 8 with LibreOffice 4.0.2.2.
My guess is that the table format of the .doc file is not correctly taken over into LibreOffice. There is one text that spans over a page that is not breaking at a page although the setting is set to page break even within cells.

I saved the file as .docx with MS Word 2010 and opened this file in LibreOffice. The new page count is 11 and not 13 anymore ;-)

If I save this files as .odt in MS Word 2010, then it is correctly displayed in LibreOffice.
Comment 4 Marc Kaulisch 2014-06-27 11:23:06 UTC
I can still reproduce this with LO 4.3.0.1
In Word 2010 it has 9 pages in LO 12 pages.
Looks like that tables that span more than one page - although the setting says break across pages within fields - are put at the top of the next page
It does not even matter if I save this file as .odt

But more interesting behaviour is if I save this file in LO as .docx (from the .doc) and reopen it - the tables are screwed up and the document has 26 pages...
Comment 5 Marc Kaulisch 2014-08-11 11:38:30 UTC Comment hidden (obsolete)
Comment 6 Marc Kaulisch 2014-11-24 08:48:42 UTC Comment hidden (obsolete)
Comment 7 Timur 2015-04-20 12:03:02 UTC Comment hidden (obsolete)
Comment 8 Marc Kaulisch 2015-06-26 10:29:18 UTC Comment hidden (obsolete)
Comment 9 Buovjaga 2015-06-26 10:33:52 UTC Comment hidden (obsolete)
Comment 10 Marc Kaulisch 2015-06-29 12:15:09 UTC
no crash anymore with 5.0.0.2 64bit on Win8.1 64bit
but the spacing problem remains...
Comment 11 Alex Thurgood 2016-08-18 08:04:48 UTC
*** Bug 101589 has been marked as a duplicate of this bug. ***
Comment 12 Alex Thurgood 2016-08-18 08:08:26 UTC
*** Bug 97229 has been marked as a duplicate of this bug. ***
Comment 13 Timur 2017-06-16 08:25:36 UTC
(In reply to Timur from comment #7)
> This was never OK. In OO it was worse with 40 pages, but it was improved
> somewhere in LO 3.5.x. I'll mark as 3.5.6.2. because 3.5.7.2. is similar to
> current versions up to 4.5.0-dev.

LO had 12 pages up to 5.1. 5.2 and on to 6.0+ open with 19 pages. In Word 2010 it has 9 pages, as Mark wrote.
Comment 14 Timur 2018-07-19 10:04:22 UTC
Created attachment 143638 [details]
Sample DOC saved in MSO as PDF

libo-master~2018-07-19_05.23.09_LibreOfficeDev_6.2.0.0.alpha0_Win_x86 opens 12 pages. Guess Bug 118528 decreased from 19 to 12. 
So this bug remains to get proper reflow with 9 pages.