Bug 65294 - FILEOPEN: DOCX Import - text-box with formatting loses formatting and wrong word-wrapping
Summary: FILEOPEN: DOCX Import - text-box with formatting loses formatting and wrong w...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.3.3 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: filter:docx
Depends on:
Blocks: DOCX-Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2013-06-03 11:34 UTC by Adam CloudOn
Modified: 2020-01-09 16:21 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
DOCX containing a formatted text-box (14.90 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2013-06-03 11:34 UTC, Adam CloudOn
Details
Screenshot comparison of Word 2013 and LO 4.0.3.3 (52.65 KB, image/png)
2013-06-03 11:35 UTC, Adam CloudOn
Details
Screenshot comparison of Word 2013 and LO 4.2.0.0.alpha0+ (72.77 KB, image/png)
2013-07-01 07:57 UTC, Adam CloudOn
Details
current 4.2.3.3 screenshot (56.56 KB, image/png)
2014-05-05 15:09 UTC, tommy27
Details
4.4.3.2 screenshot (5.78 KB, image/png)
2015-06-05 23:16 UTC, Gordo
Details
Compare MSO and LO 4.2-4.4-5.3+ (2.83 MB, image/png)
2016-11-17 17:51 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam CloudOn 2013-06-03 11:34:44 UTC
Created attachment 80217 [details]
DOCX containing a formatted text-box

Problem description: 
When LO loads that attached DOCX that contains a formatted text-box - LO shows the text-box with no formatting, as a square inside a square.
In addition - the word formatting is different than the word formatting in Word.

Steps to reproduce:
1. Open the attached DOCX in LO
2. Text-box has no formatting and word wrapping is wrong

Current behavior:
LO doesn't show any formatting for the text-box.
LO wraps the word inside the text-box differently than Word.

Expected behavior:
LO should show the text-box formatted like in Word.
Word-wrapping should be like in Word
              
Operating System: Windows 8
Version: 4.0.3.3 release
Comment 1 Adam CloudOn 2013-06-03 11:35:12 UTC
Created attachment 80218 [details]
Screenshot comparison of Word 2013 and LO 4.0.3.3
Comment 2 Jorendc 2013-06-03 15:22:42 UTC
I can confirm this using Mac OSX 10.8.3 with LibreOffice 4.0.4.1 RC1, in combination of Word for Mac 2011
Comment 3 Adam CloudOn 2013-07-01 07:56:47 UTC
There has been some work done on this,
and now this looks much better.

However, there are still some differences:
1) The gradient color looks mirrored between LO and MS Word
2) There is no white border around the text-box
3) There is no shadow to the text-box
Comment 4 Adam CloudOn 2013-07-01 07:57:27 UTC
Created attachment 81780 [details]
Screenshot comparison of Word 2013 and LO 4.2.0.0.alpha0+

Added a newer screenshot comparison showing the latest versions comparison.
Comment 5 tommy27 2014-05-05 15:09:50 UTC
Created attachment 98493 [details]
current 4.2.3.3 screenshot

tested with Win7x64 a LO 4.2.3.3

(In reply to comment #3)
> There has been some work done on this,
> and now this looks much better.

even better now

> However, there are still some differences:
> 1) The gradient color looks mirrored between LO and MS Word
fixed
> 2) There is no white border around the text-box
fixed
> 3) There is no shadow to the text-box
still reproducible
Comment 6 Gordo 2015-06-05 23:16:02 UTC
Created attachment 116321 [details]
4.4.3.2 screenshot

It now has a shadow.

It is ignoring the Spacing to Borders on the text which was working before.

Windows Vista 64
Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16
Comment 7 QA Administrators 2016-09-20 09:46:21 UTC Comment hidden (obsolete)
Comment 8 Timur 2016-11-17 17:51:46 UTC
Created attachment 128823 [details]
Compare MSO and LO 4.2-4.4-5.3+

"Document based" bugs are not likely ever be solved and here we should have "issue based" bugs. 
This can be either word wrapping or some of the visual differences.

I suggest wrapping be closed as a duplicate of Bug 62422. 
Gradient looked better in 4.2 and it may be another regression bug, please search. 
Personally, I don't even see border and shadow and it doesn't seem relevant to me.
Comment 9 QA Administrators 2017-11-19 19:14:37 UTC Comment hidden (obsolete)
Comment 10 Timur 2020-01-09 16:21:47 UTC
I guess we can close this one. 
If someone objects, please explain what is exactly wrong in LO.