Bug 142602 - FILESAVE DOCX Several Writer block arrows customization points are missing
Summary: FILESAVE DOCX Several Writer block arrows customization points are missing
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.3.0
Keywords: filter:docx
Depends on:
Blocks: Shape-ODF-OOXML-export
  Show dependency treegraph
 
Reported: 2021-06-01 12:26 UTC by NISZ LibreOffice Team
Modified: 2024-03-16 20:48 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Writer with the problematic block arrows (13.19 KB, application/vnd.oasis.opendocument.text)
2021-06-01 12:26 UTC, NISZ LibreOffice Team
Details
The original file saved by Writer to docx (10.21 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-06-01 12:26 UTC, NISZ LibreOffice Team
Details
Screenshot of the original and exported document side by side in Writer and Word (105.18 KB, image/png)
2021-06-01 12:27 UTC, NISZ LibreOffice Team
Details
Minimized version of the example file (11.74 KB, application/vnd.oasis.opendocument.text)
2021-09-23 10:57 UTC, NISZ LibreOffice Team
Details
Docx version of the minimized example file (8.44 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-09-23 11:01 UTC, NISZ LibreOffice Team
Details
Equivalent shapes in Word next to the minimized file (115.05 KB, image/png)
2021-09-23 11: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 2021-06-01 12:26:06 UTC
Created attachment 172538 [details]
Example file from Writer with the problematic block arrows

The attached example file contains Writer block arrows that were found to be exported incorrectly to docx: their customization point is missing, there is no way to edit the shapes after export.

Steps to reproduce:
1.	Open attached example Writer file. The shapes can be edited by the points.
2.	Save as .docx, reopen it in Word

Actual results:
In docx, the shapes customization points are missing.

Expected results:
Docx shapes should have the points like the original .odt shapes.

LibreOffice details:
Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 91330c503b7eb91d777978018b66890af87cf8f5
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-GB
Calc: threaded
Comment 1 NISZ LibreOffice Team 2021-06-01 12:26:37 UTC
Created attachment 172539 [details]
The original file saved by Writer to docx
Comment 2 NISZ LibreOffice Team 2021-06-01 12:27:18 UTC
Created attachment 172540 [details]
Screenshot of the original and exported document side by side in Writer and Word
Comment 3 Dieter 2021-06-17 05:04:30 UTC
I confirm it with

Version: 7.1.4.2 (x64) / LibreOffice Community
Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Tested with Word 2016 and it's also present in Writer after savng as docx and reload.
Comment 4 Commit Notification 2021-09-21 11:28:14 UTC
Daniel Arato (NISZ) committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/504808fb5c372a94c6299eec90a281655eef47e4

tdf#142602 DOCX: export adjustment points of custom shape arrows

It will be available in 7.3.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.
Comment 5 NISZ LibreOffice Team 2021-09-23 10:57:31 UTC
Created attachment 175215 [details]
Minimized version of the example file

About half of the shapes were fixed with the previous commit. 
These still don't export in an editable way.
Comment 6 NISZ LibreOffice Team 2021-09-23 11:01:48 UTC
Created attachment 175216 [details]
Docx version of the minimized example file

These shapes are still problematic in:

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: e9b674a768fcf534335f172664aaf13dc2c79023
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Comment 7 NISZ LibreOffice Team 2021-09-23 11:04:56 UTC
Created attachment 175217 [details]
Equivalent shapes in Word next to the minimized file
Comment 8 Gabor Kelemen (allotropia) 2022-03-16 10:09:28 UTC
Unassigning, Daniel won't work on this.
Comment 9 QA Administrators 2024-03-16 03:14:50 UTC Comment hidden (obsolete)
Comment 10 Regina Henschel 2024-03-16 20:48:03 UTC
Some shapes are solved in the meantime.

Our shapes correspond to the shapes available in binary MS Office. When Word opens such doc and saves it to docx without compatibility checked, the following shapes lose the handles in Word: "Circular Arrow", "4-way Arrow Callout", "Striped Right Arrow", "Up, Right and Down Arrow", "Up and Right Arrow Callout" and "4-way Arrow". So I guess these are hard to convert.

Word converts the types "Chevron", "Pentagon", "Notched Right Arrow", "Left and Right Arrow Callout", "Up and Down Arrow Callout". So when someone starts to work on it, it might be better to start with these.