Bug 143208 - FILEOPEN DOCX wrapTight of a shape misses 'Outside only' checked
Summary: FILEOPEN DOCX wrapTight of a shape misses 'Outside only' checked
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Regina Henschel
URL:
Whiteboard: target:7.3.0
Keywords:
Depends on:
Blocks: DOCX-Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2021-07-05 21:06 UTC by Regina Henschel
Modified: 2021-07-06 12:03 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Document with contour wrap "WrapTight" (19.66 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-07-05 21:06 UTC, Regina Henschel
Details
Screenshot Writer and Word (67.41 KB, image/png)
2021-07-05 21:13 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2021-07-05 21:06:38 UTC
Created attachment 173372 [details]
Document with contour wrap "WrapTight"

Open attached file and compare it with rendering in Word. In Word the indentation of the shape is not filled with characters, but in LibreOffice.
Open dialog "Wrap". Notice, that the option "Outside only" is not checked. When you check it, you get the same rendering as in Word.

Word has the two contour wrap kinds "wrapTight" and "wrapThrough". "wrapTight" does not fill indentations of the shape.
"wrapTight" corresponds to the properties "SurroundContour=True" and "ContourOutside=True".
"wrapThrough" corresponds to the properties "SurroundContour=True" and "ContourOutside=False".
You can examine the shape properties with the new 'Developer Tools'.
Comment 1 Regina Henschel 2021-07-05 21:13:12 UTC
Created attachment 173373 [details]
Screenshot Writer and Word
Comment 2 Regina Henschel 2021-07-05 22:07:21 UTC
Patch is in https://gerrit.libreoffice.org/c/core/+/118456
Comment 3 Commit Notification 2021-07-06 12:02:40 UTC
Regina Henschel committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/72541a46aa26194b751785cd56185c8d3db0c9e9

tdf#143208 set property ContourOutside in docx import

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.