[Libreoffice-bugs] [Bug 99359] Can't export the current worksheet as a PNG image

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 11 14:23:22 UTC 2017


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

Eike Rathke <erack at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Eike Rathke <erack at redhat.com> ---
(In reply to Alex Henrie from comment #0)
> Essentially, I'm asking for PNG export to work the same as exporting a PDF
> of the current page.
Actually not, because PDF export exports a series of pages of the currently
selected sheet (if selected sheet was requested). You quite certainly do not
want that with PNG.

> The problem is centered around
> DocumentToGraphicRenderer::getCurrentPageWriter, which always returns 1 for
> spreadsheets regardless of which worksheet is selected.

Unrelated. That's the page writer in the currently setup what-is-to-be-exported
range. Your problem is rather that the "Selection only" does not lead to the
currently active sheet or the current cell selection, but always the first
sheet.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=a7a99a574660fc62a9514b2ed3f8ddfe8ad8540c
should fix that on master. There's more ongoing work for PNG export, see bug
108317, which is the current tracker for these problems.

Other than that, for the "export current page" this is a duplicate of bug
97213.

*** This bug has been marked as a duplicate of bug 97213 ***

-- 
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/20170911/b0c51b1d/attachment-0001.html>


More information about the Libreoffice-bugs mailing list