<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [PATCH] Allow to control whether renderToImage shows annotations"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102513">102513</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[PATCH] Allow to control whether renderToImage shows annotations
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

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

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>qt frontend
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>oliver.sander@tu-dresden.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=133932" name="attach_133932" title="Patch that allows to control whether annotations are shown">attachment 133932</a> <a href="attachment.cgi?id=133932&action=edit" title="Patch that allows to control whether annotations are shown">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=102513&attachment=133932'>[review]</a>
Patch that allows to control whether annotations are shown

I'd like to control whether the renderToImage and renderToPainter methods show
annotations or not. To this end, this patch introduces a new value
'HideAnnotations' to the Document::RenderHint enum, and makes the said methods
mind it.

I have no idea whether this is a good way to get the new option into the
interface, but it seemed the least invasive one to me.  renderToPainter has a
dedicated PainterFlags parameter, but renderToImage doesn't see that one. Is
the new RenderHint value okay?</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>