Bug 149201 - [DOCX] Importing Word file results in subscripted text for the entire file
Summary: [DOCX] Importing Word file results in subscripted text for the entire file
Status: RESOLVED DUPLICATE of bug 126314
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks:
 
Reported: 2022-05-20 12:25 UTC by Rafael Lima
Modified: 2022-09-05 14:09 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
DOCX file where the problem occurs (108.24 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2022-05-20 12:25 UTC, Rafael Lima
Details
Screenshot of the file opened in Word (425.44 KB, image/png)
2022-05-20 12:28 UTC, Rafael Lima
Details
Screenshot of the file opened in Writer (314.76 KB, image/png)
2022-05-20 12:29 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2022-05-20 12:25:58 UTC
Created attachment 180251 [details]
DOCX file where the problem occurs

Open the attached DOCX file. It's a template for an academic conference.

In MS Word it opens OK but when I open it in LO Writer the text is imported as subscripted for no apparent reason.

This import issue happens both in 7.3 and 7.4 from master.

System info:
Version: 7.3.3.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR
Ubuntu package version: 1:7.3.3~rc2-0ubuntu0.21.10.1~lo1
Calc: threaded

And also in:
Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: ad6905f9a09c63712ba0aaffc700923246d21e55
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL
Comment 1 Rafael Lima 2022-05-20 12:28:56 UTC
Created attachment 180252 [details]
Screenshot of the file opened in Word
Comment 2 Rafael Lima 2022-05-20 12:29:47 UTC
Created attachment 180253 [details]
Screenshot of the file opened in Writer
Comment 3 Regina Henschel 2022-05-20 22:22:19 UTC
Reason is the font setting "lowered by 0.5pt" in Word. Inside Word modify the Paragraph style "Normal". In that dialog open the "Format" list (bottom left of the dialog) and chose item "Font". In that dialog go to tab "Advanced". In section "Character Spacing" the field "Position" should be "Normal", but is "Lowered" b 0.5pt.

That results in the markup <w:position w:val="-1"/> in styles.xml in the docx document. This element is defined in 17.3.2.24 position (Vertically Raised or Lowered Text) in the standard.

Apparently LibreOffice is now interpreting this setting somehow, LO 5.4 shows the text normally. But the values in LibreOffice are wrong. It would need 'lower by 4%' and 'Relative font size 100%'.

What was the author thinking, making such a setting in Word?
Comment 4 Suthagar 2022-05-21 12:14:53 UTC
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 465c3ad95059f0efa13c8027f7383c4d20a5b2ff
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Calc: threaded


The Result is : it is viewable in libreoffice writer ,but language is change into portuguese(Brazil).
Comment 5 Justin L 2022-09-05 14:09:18 UTC

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