[Libreoffice-bugs] [Bug 143933] New: FILEOPEN DOCX Images in header/footer can’t be positioned partly off page (compatibilityMode 14)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 18 13:29:34 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=143933

            Bug ID: 143933
           Summary: FILEOPEN DOCX Images in header/footer can’t be
                    positioned partly off page (compatibilityMode 14)
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:docx
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu
                CC: nemeth at numbertext.org, varga.balazs3 at nisz.hu
            Blocks: 104468, 104522

Created attachment 174366
  --> https://bugs.documentfoundation.org/attachment.cgi?id=174366&action=edit
Example file from Word with square and tight wrapped images in header/footer

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 setting is imported
correctly from DOCX. 
However if the same image is placed in the header/footer, the setting is not
always imported correctly and the image is 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 14, behavior is a bit different in compatibility mode 15.

Actual results:
Image-square-tight-wrap_C14.docx: 
No bleed margin in header/footer for square wrapped image (top) and Tight
wrapped image (bottom).
Text is behind the image in the footer, instead of being in front of it.

Image-through-topbottom-wrap_C14.docx:
No bleed margin in footer for Top and Bottom wrapped image (bottom).
The Trough wrapped image in header is overlapping the text.

Image-behind-front-wrap_C14.docx:
No bleed margin in footer for In front of text wrapped image (bottom).

Expected results:
Image-square-tight-wrap_C14.docx: 
Bleed margin should be allowed in header/footer for square wrapped image (top)
and Tight wrapped image (bottom).
In the document body bleed margin is not allowed in Word for these two wrap
types, this works fine in Writer.
Text should be in front of the image in the footer. Manually enabling the “In
Background” property in the footer fixes the layout.

Image-through-topbottom-wrap_C14.docx:
Bleed margin should be allowed in footer for Top and Bottom wrapped image
(bottom).
The Trough wrapped image in header is overlapping the text, the “In Background”
property should be enabled.

Image-behind-front-wrap_C14.docx:
Bleed margin should be allowed in footer for In front of text wrapped image
(bottom).
The In front of text wrapped image in footer is overlapping the text, the “In
Background” property should be enabled.

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


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104468
[Bug 104468] [META] DOCX (OOXML) image-related issues
https://bugs.documentfoundation.org/show_bug.cgi?id=104522
[Bug 104522] [META] DOCX (OOXML) header & footer-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210818/ac70ee64/attachment.htm>


More information about the Libreoffice-bugs mailing list