Bug 143934 - FILEOPEN DOCX Images in header/footer and document body can’t be positioned partly off page (compatibilityMode 15)
Summary: FILEOPEN DOCX Images in header/footer and document body can’t be positioned p...
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:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Images DOCX-Header-Footer DOCX-compatibilityMode-15
  Show dependency treegraph
 
Reported: 2021-08-18 13:39 UTC by NISZ LibreOffice Team
Modified: 2023-10-29 12:59 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word with square and tight wrapped images in header/footer (CM15) (102.38 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-08-18 13:39 UTC, NISZ LibreOffice Team
Details
Example file from Word with through and top/bottom wrapped images in header/footer (CM15) (99.65 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-08-18 13:39 UTC, NISZ LibreOffice Team
Details
Example file from Word with behind text and in front of text wrapped images in header/footer (CM15) (101.23 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-08-18 13:40 UTC, NISZ LibreOffice Team
Details
Screenshot of the document with square and tight wrapped images side by side in Word and Writer (243.65 KB, image/png)
2021-08-18 13:40 UTC, NISZ LibreOffice Team
Details
Screenshot of the document with through and top/bottom wrapped images side by side in Word and Writer (192.39 KB, image/png)
2021-08-18 13:41 UTC, NISZ LibreOffice Team
Details
Screenshot of the document with behind text and in front of text wrapped images side by side in Word and Writer (228.14 KB, image/png)
2021-08-18 13:41 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-08-18 13:39:31 UTC
Created attachment 174372 [details]
Example file from Word with square and tight wrapped images in header/footer (CM15)

When an image is relatively positioned to page (i.e. Move object with text is OFF) and partly positioned outside of the page area, this placement is not always imported correctly from DOCX files in compatibilityMode 15.
If the same image is placed in the header/footer, the placement is similarly imported incorrectly.
As a result the images are entirely inside the page area.

Steps to reproduce:
    1. Open attached files that have examples with all six wrap types for images partly outside of the page area, compare to Word. The examples are in compatibility mode 15, behavior is a bit different in compatibility mode 14.

Actual results:
Image-square-tight-wrap_C15.docx 
No bleed margin in header/footer for square wrapped image (top) and Tight wrapped image (bottom); this is similar to the C14 case.
No bleed margin in document body for square wrapped image (top) and Tight wrapped image (bottom).

Image-through-topbottom-wrap_C15.docx:
No bleed margin in header/footer and document body for Through (top); as well as for Top and Bottom wrapped image (bottom).

Image-behind-front-wrap_C15.docx:
Bleed margin is allowed both for behind text wrapped image (top) and in front of text wrapped image (bottom) both in header/footer and in document body. These cases open fine!

Expected results:
Image-square-tight-wrap_C15.docx: 
Bleed margin should be allowed both in header/footer and document body for square wrapped image (top) and Tight wrapped image (bottom).

Image-through-topbottom-wrap_C15.docx:
Bleed margin should be allowed both in header/footer and document body for Through wrapped image (top) and Top and Bottom wrapped image (bottom).

LibreOffice details:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 5aac78e5fb241050a86714687e9ff8804588ae3c
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 1 NISZ LibreOffice Team 2021-08-18 13:39:59 UTC
Created attachment 174373 [details]
Example file from Word with through and top/bottom wrapped images in header/footer (CM15)
Comment 2 NISZ LibreOffice Team 2021-08-18 13:40:22 UTC
Created attachment 174374 [details]
Example file from Word with behind text and in front of text wrapped images in header/footer (CM15)
Comment 3 NISZ LibreOffice Team 2021-08-18 13:40:43 UTC
Created attachment 174375 [details]
Screenshot of the document with square and tight wrapped images side by side in Word and Writer
Comment 4 NISZ LibreOffice Team 2021-08-18 13:41:05 UTC
Created attachment 174376 [details]
Screenshot of the document with through and top/bottom wrapped images side by side in Word and Writer
Comment 5 NISZ LibreOffice Team 2021-08-18 13:41:25 UTC
Created attachment 174377 [details]
Screenshot of the document with behind text and in front of text wrapped images side by side in Word and Writer
Comment 6 Dieter 2021-09-04 09:52:19 UTC
Not really sure about compatibility mode. I use Word 2016 and after reading bug 131304 comment 0 I assume, that Word 2016 uses CM 15.

I confirm the bug with

Version: 7.2.1.1 (x64) / LibreOffice Community
Build ID: 3cfc32d9754d2d239bd8ce2941029c12873010c1
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

an Word 2016
Comment 7 QA Administrators 2023-09-05 03:13:21 UTC Comment hidden (spam)