Bug 80879 - EXPORT: no means to export an entire document or selective pages as images (pngs or jpgs)
Summary: EXPORT: no means to export an entire document or selective pages as images (p...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Graphics-Export
  Show dependency treegraph
 
Reported: 2014-07-04 00:59 UTC by Yousuf Philips (jay) (retired)
Modified: 2017-07-24 21:55 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
glade mockup (16.42 KB, image/png)
2015-11-04 16:15 UTC, Yousuf Philips (jay) (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2014-07-04 00:59:02 UTC
After reading bug 80855, i see that exporting the entire document as pngs or jpgs is not possible, so i'd like to suggest that when the dialog appears to specify the output size of the images, that it be given the same range options found in the print and pdf export dialogs.
Comment 1 jensbruhn 2014-07-04 08:33:11 UTC
That would be a great feature.

Before exporting, all fields should be refreshed:
oDoc.TextFields.refresh

I think, this is right now not done (p.e. at PDF export)
Comment 2 Jorendc 2014-07-04 13:40:44 UTC
Agreed :-)
Comment 3 Robinson Tryon (qubit) 2014-07-04 23:51:29 UTC
If you need a workaround for now, try exporting the document to PDF, then using ImageMagick to convert each page to PNG.

ImageMagick has the helpful 'convert' command that can do that for you on the command line:

(BMC.pdf was produced from a 2-page BMC.odt)

qubit@lo:~/$ convert BMC.pdf BMC.png
qubit@lo:~/$ ls
BMC-0.png  BMC-1.png  BMC.pdf
Comment 4 jensbruhn 2014-07-07 05:30:23 UTC
we want to give our end-users a good user experience, so it's important to receive the first page fast. The end-user doesn't care, if a 100page-export needs 60 or 65 seconds, but it's a big difference, if the first page comes after 2 or after 7 seconds.

So it would be great, if the first page is exported as fast as possible.

This "all-page-png-export" should be accessable via Macro/API, too.

thanks,
 jens
Comment 5 Yousuf Philips (jay) (retired) 2014-07-07 06:16:21 UTC
Hi Jens,

I think that you should possibly put in a new bug report about being able to limit the repagination to a particular page number, so that the export of the first page can be generated quickly.
Comment 6 jensbruhn 2014-07-07 06:21:59 UTC
Hi Jay,

see https://bugs.freedesktop.org/show_bug.cgi?id=80990

thanks,
 jens
Comment 7 Yousuf Philips (jay) (retired) 2015-11-04 16:14:40 UTC
Bug 88775 suggests an "All pages" checkbox and bug 48015 suggests the same range options mentioned in the description.
Comment 8 Yousuf Philips (jay) (retired) 2015-11-04 16:15:09 UTC
Created attachment 120263 [details]
glade mockup