Download it now!
Bug 56372 - FORMATTING: A simple Word 2007 document line-wraps at different words compared to Writer
Summary: FORMATTING: A simple Word 2007 document line-wraps at different words compare...
Status: RESOLVED DUPLICATE of bug 128195
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.0.2 rc
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: filter:doc
Depends on:
Blocks: DOC-Paragraph
  Show dependency treegraph
 
Reported: 2012-10-24 23:50 UTC by Phil Hall
Modified: 2020-04-18 18:21 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test Word 2007 document that displays the behavior in the report (33.50 KB, application/msword)
2012-10-25 22:08 UTC, Phil Hall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Hall 2012-10-24 23:50:58 UTC
Problem description:  A Microsoft Word 2007 document with headers is not opening the same in LibreOffice Writer as it does in Word 2007.

Steps to reproduce:
1. .... Open document in Word, compare formatting
2. .... Open document in LibreOffice Writer, compare formatting
3. .... Note differences

Current behavior: The document displays a different number of lines per page dependent upon which progam is used to open it.

Expected behavior: Identical behaviour.

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:19.0) Gecko/19.0 Firefox/19.0
Comment 1 Roman Eisele 2012-10-25 13:06:44 UTC
Thank you very much for your bug report!

However, please consider: what should we do with such a report? ;-) I am sorry to say so, but we can not do anything about this problem -- the description is just too vague, we can not even guess what is wrong here.

What would really help is if you could please attach the original Microsoft Word 2007 document which shows the problems to this bug report (just come back to
this page
   https://bugs.freedesktop.org/show_bug.cgi?id=56372
and click on “Add an attachment”).

It would be even more helpful if you could also attach some screenshots, one showing the document in MS Word 2007, another one showing it in LibreOffice.

So we can *see* what the problem is, and using your MS Word 2007 document, we can try to find out the *reasons* of this behaviour.

If you can not attach the original MS Word document, because it is confidential, you can try to “anonymize” it by making a copy of it, opening the copy in MS Word, and then replacing the text by some nonsense (e.g., just a series of xxxx xxx xxxxxxx xx, xxxxx xx xxx). If you can still observe the problem when you open this anonymized copy in LibreOffice, it will be sufficient for us, so please attach the copy. You can also take the screenshots of this copy, if necessary.
Comment 2 Phil Hall 2012-10-25 22:08:39 UTC
Created attachment 69095 [details]
Test Word 2007 document that displays the behavior in the report

Page 1 should have 12 lines of actual text. This is what is displayed in Word 2007.
Page 2 should have 23 lines of actual text. This is what is displayed in Word 2007.

Page 1 displays 11 lines of actual text in LibreOffice. This is NOT the same as Word 2007. Page 2 in LibreOffice shows 24 lines of actual text. This is NOT the same as Word 2007.
Comment 3 Roman Eisele 2012-10-26 05:55:30 UTC
Comment on attachment 69095 [details]
Test Word 2007 document that displays the behavior in the report



Thank you very much for the sample document and the description!
I will look into this issue as soon as I find some free time ...
Comment 4 bfoman (inactive) 2013-03-04 12:12:32 UTC
(In reply to comment #2)
> Page 1 displays 11 lines of actual text in LibreOffice. This is NOT the same
> as Word 2007. Page 2 in LibreOffice shows 24 lines of actual text. This is
> NOT the same as Word 2007.

Confirmed with:
LO 4.0.0.3
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit

Also row height of 1st row in the table is too small - text is bottom-cut. Not the same as in Word 2010.
Comment 5 QA Administrators 2015-02-19 15:48:07 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2015-03-16 18:58:51 UTC
(In reply to Phil Hall from comment #2)
> Created attachment 69095 [details]
> Test Word 2007 document that displays the behavior in the report
> 
> Page 1 should have 12 lines of actual text. This is what is displayed in
> Word 2007.
> Page 2 should have 23 lines of actual text. This is what is displayed in
> Word 2007.
> 
> Page 1 displays 11 lines of actual text in LibreOffice. This is NOT the same
> as Word 2007. Page 2 in LibreOffice shows 24 lines of actual text. This is
> NOT the same as Word 2007.

The current situation is that only the difference on page 2 is observed.

Win 8 32-bit
MSO 2013
LibreOffice Version: 4.5.0.0.alpha0+
Build ID: 460b17d2712a80331a83329d2951f3e0303835cd
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-03-14_23:10:42
Locale: fi_FI
Comment 7 tommy27 2016-04-16 07:27:21 UTC Comment hidden (spam)
Comment 8 QA Administrators 2019-05-14 02:53:51 UTC Comment hidden (obsolete, spam)
Comment 9 Justin L 2020-04-18 18:21:32 UTC
I think the problem is in the header.  Writer ignores spacing/bottom margin below the last line in the footer, so there is more space to put text on the page with the smaller header.

So probably related to SwHeaderAndFooterEatSpacingItem.

*** This bug has been marked as a duplicate of bug 128195 ***