Bug 131922 - FILEOPEN DOCX Language direct character formatting not applied on grouped shapes text
Summary: FILEOPEN DOCX Language direct character formatting not applied on grouped sha...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Balázs Regényi
URL:
Whiteboard: target:7.0.0
Keywords:
Depends on:
Blocks: OOXML-Shapes
  Show dependency treegraph
 
Reported: 2020-04-06 08:02 UTC by NISZ LibreOffice Team
Modified: 2020-04-17 12:22 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Writer (17.75 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-04-06 08:02 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document side by side in Word and Writer (105.85 KB, image/png)
2020-04-06 08:04 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2020-04-06 08:02:24 UTC
Created attachment 159355 [details]
Example file from Writer

Attached document contains a standalone shape and some grouped ones with German spell checking language directly applied on their text.
In case the grouped shapes this is not applied when the document is opened in Writer.

Steps to reproduce:
    1. Create some shapes in Word, add text to them
    2. Apply different spell check language setting (German in this case) directly on the text
    3. Save as docx, open in Writer

Actual results:
Spell check language of the text in the grouped shapes is not German, but documents default.

Expected results:
Direct character formatting is applied on the grouped shapes text.

LibreOffice details:
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
Comment 1 NISZ LibreOffice Team 2020-04-06 08:04:24 UTC
Created attachment 159356 [details]
Screenshot of the original document side by side in Word and Writer
Comment 2 Commit Notification 2020-04-17 11:52:09 UTC
Regényi Balázs committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/01752af18d623676c4ebc7a8a4a47f69dfb79057

tdf#131922 DOCX DrawingML shape import: fix lang-id

It will be available in 7.0.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.