Bug 141181 - FILEOPEN Tabs separating text in shapes in DOCX become space
Summary: FILEOPEN Tabs separating text in shapes in DOCX become space
Status: RESOLVED DUPLICATE of bug 66039
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
Depends on:
Blocks: DOCX-Grouped-Shapes
  Show dependency treegraph
Reported: 2021-03-22 15:59 UTC by olivier.magloire
Modified: 2022-01-06 11:53 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Original word file (44.19 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-03-22 16:00 UTC, olivier.magloire
Opened in Microsoft Word (66.29 KB, image/png)
2021-03-22 16:01 UTC, olivier.magloire
Opened in LibreOffice Writer (80.62 KB, image/png)
2021-03-22 16:02 UTC, olivier.magloire

Note You need to log in before you can comment on or make changes to this bug.
Description olivier.magloire 2021-03-22 15:59:59 UTC
Version: / LibreOffice Community
Build ID: e0cab5d85f88ed98e842639502e9015f9978d859
CPU threads: 1; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:libreoffice-7-1, Time: 2021-03-21_23:29:11
Calc: threaded

Hi All

Opening the attached .docx file in LibreOffice (daily build) seems to convert tabs to spaces.

See screenshots from Word and Libreoffice Writer, can I provide any more context?

I can not seem to find a way to display special characters (tabs/spaces) to be sure that its spaces instead of tabs.

Comment 1 olivier.magloire 2021-03-22 16:00:25 UTC
Created attachment 170635 [details]
Original word file
Comment 2 olivier.magloire 2021-03-22 16:01:32 UTC
Created attachment 170636 [details]
Opened in Microsoft Word
Comment 3 olivier.magloire 2021-03-22 16:02:11 UTC
Created attachment 170637 [details]
Opened in LibreOffice Writer
Comment 4 olivier.magloire 2021-03-22 16:03:55 UTC
Steps to Reproduce:
1. Open word.docx in LibreOffice Writer
2. Open word.docx in Microsoft Word
3. Compare

Actual Results:
Layout is off in Writer

Expected Results:
Layout should be the same in Writer as in Word

Reproducible: Always

User Profile Reset: Yes
Comment 5 Aron Budea 2021-03-22 16:46:17 UTC
Confirmed based on bug 139651 comment 6. The first version where the text is shown within the shapes was, and it was already wrongly spaced.

From the comment:
"In, the text boxes and separators have the correct size and position. Only the text spacing is wrong, because in the original document tabulation was used to position the pieces of text within the text box, and this isn't handled properly in Writer."
Comment 6 NISZ LibreOffice Team 2021-03-23 09:37:05 UTC
These are grouped shapes, adjusting meta.
The tab characters seem to be not imported at all.
It is possible to place one manually in these boxes to get the same layout, so this seems to be just an import problem.
Comment 7 olivier.magloire 2021-06-22 06:39:07 UTC
Is there anything I can do to help resolving this issue?
Comment 8 Owen James 2021-06-24 17:01:06 UTC Comment hidden (spam)
Comment 9 Attila Bakos (NISZ) 2022-01-06 11:53:46 UTC

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