Bug 77960 - FILEOPEN: DOCX incorrect line and paragraph spacing
Summary: FILEOPEN: DOCX incorrect line and paragraph spacing
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: Other All
: medium normal
Assignee: Not Assigned
: 77965 (view as bug list)
Depends on:
Blocks: DOCX-Paragraph
  Show dependency treegraph
Reported: 2014-04-26 10:05 UTC by Yousuf Philips (jay) (retired)
Modified: 2017-09-29 09:06 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:

paragraph spacing of word 2010 vs libO 4.2 (149.67 KB, image/jpeg)
2014-04-26 10:12 UTC, Yousuf Philips (jay) (retired)
Pdf export of page 1 on 4.4.0 alpha (correct spacing) (165.32 KB, application/pdf)
2014-09-25 12:00 UTC, Buovjaga
screenshot (154.07 KB, image/png)
2015-01-07 11:55 UTC, Yousuf Philips (jay) (retired)
paragraph spacing of word 2010 vs libO 5.0 (165.84 KB, image/jpeg)
2015-09-30 12:22 UTC, Timur

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2014-04-26 10:05:43 UTC
I download the .docx file found at < http://download.microsoft.com/documents/customerevidence/Files/710000003670/Xiamen_Tungsten_Group_unifies_enterprise.docx > and opened it in LibO and the paragraph spacing was off when comparing it to word 2010. This was tested on 4.2 and 4.3. Tested 4.1 and 4.0 and they had more spacing than they should have.
Comment 1 Yousuf Philips (jay) (retired) 2014-04-26 10:12:49 UTC
Created attachment 98012 [details]
paragraph spacing of word 2010 vs libO 4.2
Comment 2 Jorendc 2014-04-26 12:20:06 UTC
Reproducible, tested using Windows 8.1 with LibreOffice Version:
Build ID: f4a6837025a293312cbc43b9c527851362f11030
TinderBox: Win-x86@47-TDF, Branch:MASTER, Time: 2014-04-26_09:21:18

Kind regards,
Comment 3 Yousuf Philips (jay) (retired) 2014-05-25 20:58:55 UTC
*** Bug 77965 has been marked as a duplicate of this bug. ***
Comment 4 Buovjaga 2014-09-25 12:00:48 UTC
Created attachment 106848 [details]
Pdf export of page 1 on 4.4.0 alpha (correct spacing)

I think it's spot on now, please see for yourself.

Build ID: 0a32edcdc2bda75a7536ce7f88c91cbc56e7afb1
TinderBox: Win-x86@39, Branch:master, Time: 2014-09-24_00:45:04
Comment 5 Yousuf Philips (jay) (retired) 2014-09-25 13:20:06 UTC
Comparing your pdf to my screenshot, you can see that now the paragraphs have more line spacing than they should.
Comment 6 Yousuf Philips (jay) (retired) 2015-01-07 11:55:51 UTC
Created attachment 111907 [details]

Presently the only difference i can see is the first line has above and below paragraph spacing of auto in MS Word and its 14pt above and below on LibO 4.5 2015-01-04.
Comment 7 Timur 2015-01-19 16:43:41 UTC
Looks to me that LO 2015-01-19 sets the same spacing as LO, while LO is different. Strange because 4.4.0 seems fine. I cannot verify with MS because it's showing points. 
Paragraph - title: LO above 0,49 cm, below 0,49 cm; LO above 0,90 cm, below 0,90 cm; LO 2015-01-19: above 0,49 cm, below 0,49 cm
Comment 8 Timur 2015-09-30 12:22:10 UTC
Created attachment 119138 [details]
paragraph spacing of word 2010 vs libO 5.0
Comment 9 Timur 2015-09-30 12:23:25 UTC
LO 5.0, similar to 4.4, opens the document fine. 
There's only slight difference with the image spacing, but that's another issue.
Comment 10 Yousuf Philips (jay) (retired) 2017-09-29 09:06:21 UTC
The spacing between paragraphs is still off, but believe its due to the empty space found at the top of the document (bug 112745).