<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - FILEOPEN: DOCX: Watermark-Visibility (VML shape visibility in style) not handled correctly"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=134902">134902</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILEOPEN: DOCX: Watermark-Visibility (VML shape visibility in style) not handled correctly
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.3.6.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rominator@gmx.at
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=163186" name="attach_163186" title="docx sample with watermarks">attachment 163186</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=163186&action=edit" title="docx sample with watermarks">[details]</a></span>
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
(<a href="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">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</a>)
is the same.

Expected behavior: The TEST-watermark should be shown. The "KEIN
ORIGINAL"-watermark should not be shown.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>