Created attachment 195999 [details] notLayoutInCell_notWrapThrough.docx: parallel-wrap image anchored in cell appears behind text MS Word seems to treat all shapes that are anchored in a cell, but are not layoutInCell, to be background wrap-through (except for actual wrap-through objects - they are not backgrounded). Steps to reproduce -open notLayoutInCell_notWrapThrough.docx Notice that the contents of cell B1 and the body text above the table do not wrap around the image: GOOD Notice that the image is in the foreground - covering the text: BAD Notice that the contents of cell B2 are wrapping around the image: BAD Already in the foreground in OOo 3.3.
Nah - the background wrapping is only a forced change by the UI, not by layout. When the user selects one of the "contour" wraps (tight and through), the UI sets behindDoc=1.
Created attachment 196002 [details] notLayoutInCell_notWrapThrough-mso2010.pdf: how it looks in Word 2010
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c8e272734a8fa26d93b057d1c9def8dc6c401143 tdf#162612 mso import NOT-layoutInCell: effectively are wrap-through It will be available in 25.2.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.
Created attachment 196257 [details] notLayoutInCell_squareWrapping.docx: a counter example - column text is wrapping So, somehow there are occasions when wrapping still applies.
Created attachment 196258 [details] notLayoutInCell_squareWrapping-mso2010.pdf - how it looks in Word 2010
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/47bb0e2b7d0690f06150c7e110e6992f3d62bd10 Revert "tdf#162612 mso import NOT-layoutInCell: effectively are wrap-through" It will be available in 25.2.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.
This document was created (mostly) by MS Word 2010. Unexpected things happen when you change wrapping when the shape is not "layout in table cell". I haven't figured out why wrapping does not affect anything in this specific document. It is NOT related to behindDoc.