[Libreoffice-bugs] [Bug 134902] New: FILEOPEN: DOCX: Watermark-Visibility (VML shape visibility in style) not handled correctly

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 17 13:19:09 UTC 2020


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

            Bug ID: 134902
           Summary: FILEOPEN: DOCX: Watermark-Visibility (VML shape
                    visibility in style) not handled correctly
           Product: LibreOffice
           Version: 6.3.6.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rominator at gmx.at

Created attachment 163186
  --> https://bugs.documentfoundation.org/attachment.cgi?id=163186&action=edit
docx sample with watermarks

I have a DOCX with different VML watermarks. Only one of those is set to
visible whereas the others have visibility "hidden" via a style property (can
be seen in the /word/header2.xml). This is used by my software to invalidate
documents in several ways.

In the attached document there is "TEST"-watermark that should be shown. When
opening this document in writer (or converting to PDF via unoconv) the "KEIN
ORIGINAL" watermark is displayed and the TEST-watermark is not displayed (along
with some other watermarks that really should not be shown too). The "KEIN
ORIGINAL" watermark is special as it is grouped.
So maybe the problem is in the handling of the group and the styles when
importing this shape.

You can see that the output differs in the PDFs I attached. The output of
writer 7.1
(https://dev-builds.libreoffice.org/daily/master/Win-x86_64@tb77-TDF/2020-07-17_06.44.55/LibreOfficeDev_7.1.0.0.alpha0_Win_x64.msi)
is the same.

Expected behavior: The TEST-watermark should be shown. The "KEIN
ORIGINAL"-watermark should not be shown.

-- 
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/20200717/279c4c42/attachment.htm>


More information about the Libreoffice-bugs mailing list