Bug 80879 - EXPORT: no simple means to export an entire document as pngs or jpgs
Summary: EXPORT: no simple means to export an entire document as pngs or jpgs
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-04 00:59 UTC by Jay Philips
Modified: 2014-07-07 06:21 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jay Philips 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 Jay Philips 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


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.