Bug 81887 - Fileopen: Vertical text with fixed spacing from DOC/DOCX not displayed correctly in table
Summary: Fileopen: Vertical text with fixed spacing from DOC/DOCX not displayed correc...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: filter:docx
Depends on:
Blocks: DOCX-Tables Vertical-Text
  Show dependency treegraph
 
Reported: 2014-07-29 21:40 UTC by freeman3
Modified: 2025-04-09 08:32 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample doc file (453.00 KB, application/msword)
2014-07-29 21:40 UTC, freeman3
Details
Screnshot bad columns (19.10 KB, image/png)
2014-08-04 14:55 UTC, freeman3
Details
PDF export of LibO 4.3.1 (top) VS Word 2007 (bottom) (264.07 KB, image/png)
2014-08-04 22:59 UTC, Yousuf Philips (jay) (retired)
Details
Sample DOC reduced to 1-page table (344.14 KB, application/msword)
2017-08-22 13:13 UTC, Timur
Details
Test DOCX (13.07 KB, application/wps-office.docx)
2017-08-22 13:25 UTC, Timur
Details
Original bugdoc in current 6.5 (119.85 KB, image/png)
2020-03-30 11:55 UTC, NISZ LibreOffice Team
Details
Simplified docx example in current 6.5 (130.45 KB, image/png)
2020-03-30 12:14 UTC, NISZ LibreOffice Team
Details
this is how I see the heading (62.82 KB, image/png)
2021-08-23 12:53 UTC, BogdanB
Details
Sample DOC reduced to 1-page table (attachment 135730) (344.00 KB, application/msword)
2025-04-09 08:08 UTC, Aron Budea
Details
Sample DOC exported to PDF in Word (507.42 KB, application/pdf)
2025-04-09 08:27 UTC, Aron Budea
Details
Sample DOC exported to PDF in Writer 25.8 (548.36 KB, application/pdf)
2025-04-09 08:31 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description freeman3 2014-07-29 21:40:07 UTC
Created attachment 103657 [details]
Sample doc file

Problem description: 
Forms created in MS Word are not displayed correctly in LO. Attaching sample file, see page 3. Column title are not readable, some filds in form are not selectable

Steps to reproduce:
1. Open sample file
2. ....
3. ....

Current behavior:

Expected behavior:
Forms should look the same as i MS office
              
Operating System: All
Version: 4.2.2.1 release
Comment 1 Yousuf Philips (jay) (retired) 2014-08-04 03:37:09 UTC
Hello freeman3,

Thank you for submitting the bug. Can you specify which column has fields that are not selectable, possibly with a screenshot.
Comment 2 freeman3 2014-08-04 14:55:57 UTC
Created attachment 103999 [details]
Screnshot bad columns

hello
unclickable form fields are in some other file, i have to to find it first.
what about column titles? can you see it correctly?
attaching screenshot how it look on my computer
Comment 3 Yousuf Philips (jay) (retired) 2014-08-04 22:59:10 UTC
Created attachment 104029 [details]
PDF export of LibO 4.3.1 (top) VS Word 2007 (bottom)

Hi freeman3,

Yes i see there is a problem with the vertical table header text on page 3, similar to your attachment. I have attached how the PDF export looks like, as it isnt render well there as well.
Comment 4 QA Administrators 2015-09-04 02:49:46 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2015-11-30 13:56:56 UTC
Still confirmed.

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: a7c3a2a9be83686657c06f37d521f9f6d2004ddd
Threads 4; Ver: Windows 6.1; Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2015-11-28_04:39:18
Locale: fi-FI (fi_FI)
Comment 6 Robinson Tryon (qubit) 2015-12-09 18:47:49 UTC Comment hidden (obsolete)
Comment 7 Timur 2017-08-22 13:13:47 UTC
Created attachment 135730 [details]
Sample DOC reduced to 1-page table

This is not a correct bug report. 
Title "VIEWING: Forms in writer are not displayed correctly" is too general because forms are displayed fine. Text content in table is not, but it's not because of write-protect. 
To check text is there: Ctrl+A and Ctrl+C in cell to copy text, Ctrl+V in other document, clear formatting, text is there.
To confirm, I attach Sample DOC unprotected and reduced to 1-page table.
Comment 8 Timur 2017-08-22 13:25:02 UTC
Created attachment 135731 [details]
Test DOCX

Same for DOC and DOCX, problem comes from vertical text with fixed spacing, as shown on attached test DOCX.
Comment 9 QA Administrators 2018-08-23 02:42:03 UTC Comment hidden (obsolete, spam)
Comment 10 NISZ LibreOffice Team 2020-03-30 11:55:47 UTC
Created attachment 159144 [details]
Original bugdoc in current 6.5

With recent improvements in BTLR handling the original document looks rather good with:

Version: 7.0.0.0.alpha0+ (x64)
Build ID: bc898e2c2784e36ad4d4cdf6d962e39069d2c82d
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL

The rotated text is still not (partially) bold though.
Comment 11 NISZ LibreOffice Team 2020-03-30 12:14:34 UTC
Created attachment 159147 [details]
Simplified docx example in current 6.5

Attachment #135731 [details] in current master is still not the same as in Word:

Version: 7.0.0.0.alpha0+ (x64)
Build ID: bc898e2c2784e36ad4d4cdf6d962e39069d2c82d
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL

The problem is that the second tables first cell ("Vertical text with fixed spacing") has settings that make the text appear in Word until the word "fixed". As you can see it is right at the vertical cell separator line, as if the internal cell padding were ignored.

Writer on the other hand shows the word "fixed" cut vertically in half.

In this picture I had manually changed the imported 0.19 cm right cell padding to 0 and boom: the word "fixed" appears fully, like in Word.

Of course we get the red triangle too, since there is one more word in the cell.
Comment 12 NISZ LibreOffice Team 2020-03-30 12:19:17 UTC
Changing meta bug to writer-tables
Comment 13 BogdanB 2021-08-23 12:53:59 UTC
Created attachment 174490 [details]
this is how I see the heading

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 5b025285b3528910a4360899abb2bbbaadc72c97
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 14 QA Administrators 2023-09-26 03:14:27 UTC Comment hidden (obsolete)
Comment 15 Aron Budea 2025-04-09 08:08:25 UTC
Created attachment 200235 [details]
Sample DOC reduced to 1-page table (attachment 135730 [details])

For some reason attachment 135730 [details] starts with multipart content and is invalid, but removing the beginning of it makes the document valid. Reuploading the fixed file.
Comment 16 Aron Budea 2025-04-09 08:27:15 UTC
Created attachment 200238 [details]
Sample DOC exported to PDF in Word
Comment 17 Aron Budea 2025-04-09 08:31:35 UTC
Created attachment 200239 [details]
Sample DOC exported to PDF in Writer 25.8

This is what the document looks like when exported to PDF in 25.8.0.0.alpha0+ (677568200f81a2c9921e08d18169d6103e01fe61) / Windows.

I'd say the issue reported originally is fixed, though there are small differences. Feel free to report individual issues in separate bug reports, and let's close this as WFM.