Bug 134835 - FILESAVE DOCX Shape relative width to inner margin saved incorrectly
Summary: FILESAVE DOCX Shape relative width to inner margin saved incorrectly
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Balázs Regényi
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: OOXML-Shapes
  Show dependency treegraph
 
Reported: 2020-07-15 13:01 UTC by NISZ LibreOffice Team
Modified: 2020-07-20 19:36 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
The original file saved by Writer (10.12 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-07-15 13:01 UTC, NISZ LibreOffice Team
Details
Screenshot of the original and exported document side by side in Writer (53.88 KB, image/png)
2020-07-15 13:02 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-07-15 13:01:48 UTC
Created attachment 163063 [details]
The original file saved by Writer

Import of shape width relative to inner margin is now that bug #133864 was fixed imported correctly, but saving to DOCX is still incorrect.

Steps to reproduce:
1.	Open attachment #161842 [details]
2.	Save it as DOCX, then reopen

Actual results:
Shape is 100% of the page width. This setting is also visible in Word, but Writer does not have a GUI item for that.

Expected results:
Shape should be 100% of the inner margin width.

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: f7eff4319be741143f6d8d5e0f2995e3ce46b126
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL
Comment 1 NISZ LibreOffice Team 2020-07-15 13:02:13 UTC
Created attachment 163064 [details]
Screenshot of the original and exported document side by side in Writer
Comment 2 Balázs Regényi 2020-07-17 19:55:01 UTC
Regényi Balázs committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/fa84e889b8cabdd7c174b640883c692b8d514ae7

tdf#134299 DOCX shape export: fix relative size of shapes

It will be available in 7.1.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 3 BogdanB 2020-07-20 19:36:21 UTC
It's resolved

Verified in
Version: 7.1.0.0.alpha0+
Build ID: abea0d6647c7f1f7e76c73c26cb80e6a67dc5111
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded