Bug 165569 - Watermark in docx-file is cropped, VIEWING, PRINTING and EXPORTING
Summary: Watermark in docx-file is cropped, VIEWING, PRINTING and EXPORTING
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.1.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX Page-Watermark
  Show dependency treegraph
 
Reported: 2025-03-04 16:16 UTC by Thue Møller Jensen
Modified: 2025-05-21 15:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Zip-file with sample document and images from Word and LibreOffice (129.90 KB, application/x-zip-compressed)
2025-03-04 16:16 UTC, Thue Møller Jensen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thue Møller Jensen 2025-03-04 16:16:05 UTC
Created attachment 199602 [details]
Zip-file with sample document and images from Word and LibreOffice

I am using LibreOffice for converting docx-files to pdf.

We have a document template which contains an image as watermark.

But when opening the docx-file in LibreOffice, the the watermark is cropped at the top. And the same if the document is exported to pdf-

I have attached a sample document and an image showing the page in Word and in LibreOffice Writer.
Comment 1 raal 2025-03-18 17:14:02 UTC
Tested with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ddaea18557b1ec60d9e360f9eab539c8f551061f
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
and result is better comparing to your printscreen, but still not as in word on your second printscreen. Properties of this drawing object shows vertical position -3 cm from top. I can "fix" it by checking option "Keep inside text boundaries". I have not desktop Word, but in office365 online is watermark completely missing. Maybe you could add a printscreen from Word wit position and size setings of watermark picture.
Comment 2 Andrew Kopf 2025-05-19 02:12:39 UTC
Hello Thue Møller Jensen,

Thank you for reporting the bug. I can confirm that the bug is present in master and that MS Word correctly displays the watermark. As the watermark can be moved to the correct position in LibreOffice, I am unsure which program displays it incorrectly.

Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: bbb074479178df812d175f709636b368952c2ce3
CPU threads: 22; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

and

Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 19f3b72f34c487dc97d582712d21734a7e055fd5
CPU threads: 22; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded.
Comment 3 Buovjaga 2025-05-21 15:03:06 UTC
While a screenshot or a PDF of the rendering in MSO would be nice, let's set this to new.