Issue 119013 - Microsoft Word 2010 document margin and table issue when rendered in OpenOffice 3.2/3.3
Summary: Microsoft Word 2010 document margin and table issue when rendered in OpenOffi...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 3.3 RC10
Hardware: PC Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-04 09:06 UTC by abraham.mathew
Modified: 2013-08-23 09:43 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Microsoft Word 2011 docx file (26.81 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-03-04 09:06 UTC, abraham.mathew
no flags Details
Microsoft Word 2011 docx render or displays properly (50.69 KB, image/png)
2012-03-04 09:23 UTC, abraham.mathew
no flags Details
OpenOffice 3.3 docx render or displays improperly (53.41 KB, image/png)
2012-03-04 09:24 UTC, abraham.mathew
no flags Details
Older Version Open Office Rendering of docx (68.54 KB, image/png)
2012-03-04 09:24 UTC, abraham.mathew
no flags Details
OpenOffice 3.3 Version (15.09 KB, image/png)
2012-03-04 09:26 UTC, abraham.mathew
no flags Details
File1: "document1.docx" - The original MS word 2010 DOCX file (24.87 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-06-23 00:37 UTC, Saranya
no flags Details
File 2: "document1.odt" - The opened file which i saved in Open office (12.86 KB, application/vnd.oasis.opendocument.text)
2012-06-23 00:39 UTC, Saranya
no flags Details
File 3: "document1_docx.pdf" - The original MS word 2010 file saved as pdf (429.62 KB, application/pdf)
2012-06-23 00:41 UTC, Saranya
no flags Details
File 4: "document1_odt.pdf" - The File 2 saved as a pdf format (64.37 KB, application/pdf)
2012-06-23 00:43 UTC, Saranya
no flags Details
File 5: "document2.doc" - The same File 1, saved in MS word 97-2003 version (47.50 KB, application/msword)
2012-06-23 00:49 UTC, Saranya
no flags Details
File 6: "document 2.odt" - The opened File 5 and saved in Open office (13.10 KB, application/vnd.oasis.opendocument.text)
2012-06-23 00:51 UTC, Saranya
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description abraham.mathew 2012-03-04 09:06:56 UTC
Created attachment 77288 [details]
Microsoft Word 2011 docx file

I have a user generated document from Microsoft Word 2010 , it displays good in Microsoft Word 2010 and also can be saved as PDF in Microsoft Word 2010.

When a user opens it in OpenOffice 3.3 the get a different layout and there is issues with how the tables and table cells are displayed, the same appear 
in the PDF when the user saves it as PDF from OpenOffice 

I am at wits end and don’t know what to explain to the user? Also the pdf is used for printing and signature and it looks bad in it.

Can someone explain?

Why is the OpenOffice code or usecase for rendering Microsoft word documents not taking care of such cases?

Please someone advice what I should explain?

Please check attachment
Comment 1 abraham.mathew 2012-03-04 09:23:18 UTC
Created attachment 77289 [details]
Microsoft Word 2011 docx render or displays properly
Comment 2 abraham.mathew 2012-03-04 09:24:27 UTC
Created attachment 77290 [details]
OpenOffice 3.3 docx render or displays improperly
Comment 3 abraham.mathew 2012-03-04 09:24:56 UTC
Created attachment 77291 [details]
Older Version Open Office Rendering of docx
Comment 4 abraham.mathew 2012-03-04 09:26:15 UTC
Created attachment 77292 [details]
OpenOffice 3.3 Version
Comment 5 abraham.mathew 2012-03-04 09:26:48 UTC
Please check the attached png screenshots for details regarding this reported issue.
Comment 6 Oliver-Rainer Wittmann 2012-06-13 12:30:58 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 7 Saranya 2012-06-23 00:37:47 UTC
Created attachment 78438 [details]
File1: "document1.docx" - The original MS word 2010 DOCX file
Comment 8 Saranya 2012-06-23 00:39:24 UTC
Created attachment 78439 [details]
File 2: "document1.odt" - The opened file which i saved in Open office
Comment 9 Saranya 2012-06-23 00:41:19 UTC
Created attachment 78440 [details]
File 3: "document1_docx.pdf" - The original MS word 2010 file saved as pdf
Comment 10 Saranya 2012-06-23 00:43:06 UTC
Created attachment 78441 [details]
File 4: "document1_odt.pdf" - The File 2 saved as a pdf format
Comment 11 Saranya 2012-06-23 00:49:35 UTC
Created attachment 78442 [details]
File 5: "document2.doc" - The same File 1, saved in MS word 97-2003 version
Comment 12 Saranya 2012-06-23 00:51:29 UTC
Created attachment 78443 [details]
File 6: "document 2.odt" - The opened File 5 and saved in Open office
Comment 13 Saranya 2012-06-23 01:04:12 UTC
Configuration:

Product: Open Office Word Processor 
Date of Test: 06/22/2012
Version: Open Office Version: 3.4.0
AOO340m1(Build:9590) – Rev 1327774
Platform: Windows 7 Home Premium – 64 bit

Description:

The original report describes that if a Microsoft word files (docx) which contains tables, when opened with Open Office, layout of tables and table cell are different, from the original Microsoft word. Also error is same when the Open office file is exported as a pdf file. However I created and used a sample file “document1.docx” to perform the test.

I followed the below steps in replicating the bug,

Step 1: I created and saved a “document1.docx” which contains tables 

Step 2: The table is similar as the author did (i.e.) 2(rows) x 6(columns) with Tahoma font style

Step 3: After saving the “document1.docx”. I open the file with Open office and I could see the table layout was different from the original “document1.doxc”. 

Step 4: I saved the open office as “documnet1.odt” to see the file can provide any information’s.

Step 5: As per the author. Even I exported both the “document1.docx” and “document1.odt” to pdf format and saved as “document1_docx.pdf” and “document1_odt.pdf” respectively.

Step 6: When I compared both the pdf files “document1_docx.pdf” and “document1_odt.pdf” I could see the same error as I said in step 3(i.e.) layout were different. 

Apart from original authors comments on table issue when I opened “document1.docx” with Open office, I also found another issue (i.e.) table borders are changing. Even though I created 2*6 table as author did which had “bottom boarder”, I also created three more tables each with different dimension and all are made as “all boarders” and  when I opened with open office I could find all the table borders are filled with “NO border” option which is different from what I gave in “document1.docx”.

Follow up Test:

I took the file 1 “document1.docx” and open it in lower version of Microsoft word 97-2003 and saved the document as “document2.doc” it appears to be same as I created in original “document1.docx”.
Further I opened the “document2.doc” in Open office I found the tables were correct as the original and saved the Open office file as “document2.odt”.

I have attached the sample files which I used for test.

File 1: “document1.docx”
File 2 “document1.odt
File 3: “document1_docx.pdf”
File 4: “document1_odt.pdf”
File 5: “document2.doc”
File 6: “document2.odt”

Speculation: 

When I tried opening the document from Ms word 97-2003 to open office it appears to be correct. So I speculate that some added features in MS word 2010 could not be read correctly by Open office.

Importance of bug:

Tables are used in many places to make the document looks better and visually interesting like advertisements, resume etc.

For example: A person creating a resume using MS word for applying a job in company and if he uses the table to express his traits in his resume such as his academic score, technical skills, extra-curricular activities etc. If a manager reads it through Open office, the resume will look differently which may create an erroneous impression on that candidate and that person might end up in losing the opportunity. As a user I will be disappointed with this occurrence.
Comment 14 atwood 2012-10-01 04:57:16 UTC
I successfully replicated the document table issue when rendering in OpenOffice with this configuration:

Product: Open Office Version 3.4.1
AOO341ml(Build:9593)-Rev1372282

Platform: Mac OS X Version 10.7.4
Using comparison from Microsoft Word 2011 Version 14.2.4 

Procedure I followed:

1. Downloaded the "document1.docx" file created by Saranya in the post above
2. Viewed the document in Microsoft Word and in Open Office
   a. replicated the formatting differences with the tables.  
   b. did not replicate any margin issue as described in original report
   c. did not replicate the issue with borders being different
3. exported the files to PDF using Microsoft Word and Open Office and confirmed the same issue with the table cell formatting by view in Preview

Specifically the table cells width was smaller in Open Office versus Microsoft Word.

Importance: The impact on the spacing of the tables was greatest at higher fonts(specifically font size 22), where it caused an increase in cell height and word wrapping.  This would cause issues with documents where spacing and formatting were important as it may cause an image or text to move to the next page.
Comment 15 Edwin Sharp 2013-08-23 09:43:18 UTC
Rev. 1513819 looks like attachment 77291 [details].