Bug Hunting Session
Bug 77417 - FILEOPEN: incorrect conversion of docx paragraph spacing details
Summary: FILEOPEN: incorrect conversion of docx paragraph spacing details
Status: RESOLVED DUPLICATE of bug 95031
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.3.3 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: DOCX-Paragraph DOCX-Styles
  Show dependency treegraph
 
Reported: 2014-04-14 06:36 UTC by Yousuf Philips (jay) (retired)
Modified: 2017-09-27 01:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
the file specified in the long description, along with a version of the file converted using the ms office compatibility pack (2.39 MB, application/x-gzip)
2014-04-14 06:36 UTC, Yousuf Philips (jay) (retired)
Details
incorrect paragraph styles when opening DOCX file in LibO (346.59 KB, application/zip)
2014-07-07 08:17 UTC, Gergely Rácz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2014-04-14 06:36:00 UTC
Created attachment 97329 [details]
the file specified in the long description, along with a version of the file converted using the ms office compatibility pack

Problem description: 
Double the amount of spacing is found between paragraphs, as extra spacing is added above each paragraph

Steps to reproduce:
1. download docx file - http://www.microsoft.com/investor/reports/ar13/docs/2013_Annual_Report.docx
2. Goto the first page with text

Current behavior:
The conversion has the font style as 0.00" spacing above and 0.19" spacing below the paragraph, while the line paragraph details has 0.19" spacing above an 0.19" spacing below. The document also has similar paragraph spacing problems in all text in tables, which causes the document to increase from its initial size of around 90, to over 300.
Operating System: Ubuntu
Version: 4.2.2.1 release
Comment 1 Yousuf Philips (jay) (retired) 2014-04-15 06:38:48 UTC
as i my version number wasnt listed in the drop down, here is the correct version info from Help > About.

Version: 4.2.3.3
Build ID: 882f8a0a489bc99a9e60c7905a60226254cb6ff0
Comment 2 Robinson Tryon (qubit) 2014-04-20 22:23:03 UTC
(In reply to comment #0)
> 
> Problem description: 
> Double the amount of spacing is found between paragraphs, as extra spacing
> is added above each paragraph

RESULT: Tentative repro

> 
> Steps to reproduce:
> 1. download docx file -
> http://www.microsoft.com/investor/reports/ar13/docs/2013_Annual_Report.docx
> 2. Goto the first page with text
> 
> Current behavior:
> The conversion has the font style as 0.00" spacing above and 0.19" spacing
> below the paragraph, while the line paragraph details has 0.19" spacing
> above an 0.19" spacing below.

If I put my cursor on the word "Microsoft" in the paragraph "Fiscal Year 2013 was a pivotal year for Microsoft in every sense of the word.", I can right-click and select Paragraph -> Indents & Spacing, and see that Spacing Above paragraph is 0.19" and Spacing Below paragraph is 0.19".

If press the Escape key and right-click again on the same word, I can select Edit Paragraph Style... ->  Paragraph -> Indents & Spacing, and see that Spacing Above paragraph is 0.00" and Spacing Below paragraph is 0.19".  

I'm not sure why the values for "Spacing Above paragraph" differ here, but if the document is supposed to be 90 pages and is blossoming to ~ 300, then something is definitely wrong.

Testing on Ubuntu 12.04.4 + LO 4.2.3.3

Status -> NEW
Comment 3 Gergely Rácz 2014-07-07 08:15:45 UTC
Environment: 
OS: Win7
Libo: 4.2.5.2

I have a .DOCX file with "Normal(Web)" paragraph style.
Details of the style in MS Office:
- Spacing: Auto (before and after)
- Line Spacing: 1,0 (Normal)

When I open this file with LibO, I will have different settings on the document (under one paragraph style: "Normal(Web):

1. 
- Spacing: Above: 0cm; Below: 0,35cm
- Line spacing: Proportional 115%

2. 
- Spacing: Above: 0,49cm; Below: 0,49cm
- Line spacing: Proportional 115%

If it is okay I have uploaded the sample file for you with printscreens.
The file name is: test_gracz.zip
Comment 4 Gergely Rácz 2014-07-07 08:17:59 UTC
Created attachment 102353 [details]
incorrect paragraph styles when opening DOCX file in LibO
Comment 5 Timur 2015-09-30 15:08:34 UTC
Currently, LO opens 130 pages. Text looks fine, and the primary problem is text in tables. Seems like spacing numbers are the same, but text simply doesn't fit.
Comment 6 Xisco Faulí 2016-10-10 17:37:21 UTC
Hi Yousuf,
this looks like a duplicate of bug 95031...

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