Bug 159890 - FILEOPEN: DOCX: Most line styles ignored
Summary: FILEOPEN: DOCX: Most line styles ignored
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shapes-Line
  Show dependency treegraph
 
Reported: 2024-02-25 23:01 UTC by Alvaro Segura
Modified: 2024-02-29 17:25 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Document with line styles and their appearance in Word and LOWriter (53.86 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-02-25 23:01 UTC, Alvaro Segura
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Segura 2024-02-25 23:01:01 UTC
Created attachment 192766 [details]
Document with line styles and their appearance in Word and LOWriter

Line styles other than plain, dotted and (short) dashed are not imported and look like plain lines.

That includes lines with longer dashes or dash-dot styles. Attached a sample document and its rendering.
Comment 1 gladys 2024-02-26 08:09:52 UTC
Hello Alvaro,

Thank you for reporting the bug.
Unfortunately without clear steps to reproduce it, we cannot track down the origin of the problem.
Please provide a clearer set of step-by-step instructions on how to reproduce the problem.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the steps are provided
Comment 2 Alvaro Segura 2024-02-26 20:40:36 UTC
Sorry, I thought the attached file was enough.

To reproduce it:

1. Draw several lines in MS Word (straight, curved, does not matter).
2. Select each one and go to Shape Outline -> Dashes. Assign different styles from the drop down.
3. Save and open in LO Writer.


Some styles (plain, dotted, simple dashes [the first few in the drop down]) are imported and shown. Some others (longer dashes, dash dot, ...) appear as plain lines.
Comment 3 QA Administrators 2024-02-27 03:13:38 UTC Comment hidden (obsolete)
Comment 4 Alvaro Segura 2024-02-27 20:08:00 UTC
I realized had previously used an old version of Word. Now I did the same with the current MS Word and the lines seem well imported in LO.

Maybe older versions stored line styles in a different way that is not fully understood by LO. But given that current versions are supported, the severity of this issue is reduced.
Comment 5 raal 2024-02-28 22:52:11 UTC
confirm with Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: fd948fd27356e703fffc7e46df0f0e3a22f57967
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo

and Version: 4.1.0.0.alpha1+
Build ID: a2c9d4f8bbde97f175bae4df771273a61251f40

Which is old version of Word?