Hi,
an Impress document can just be exported to PNG using the related filter.
Writer and Spreadsheet documents do not have such export filter. I would
suggest to use ::com::sun::star::datatransfer::XTransferable interface
implemented by the model. Please see the following link for details.
http://api.openoffice.org/docs/common/ref/com/sun/star/datatransfer/XTransferable.html
You could just request the list of the supported formats ( represented
by DataFlavor object ) using XTransferable::getTransferDataFlavors()
call of the interface, and use the one supporting "image/png" mimetype
with XTransferable::getTransferData() call.
Hope that helps.
Best regards,
Mikhail.
On 12/17/09 14:22, Jos van den Oever wrote:
Hi all,
I'd like to export odt, ods and odp files to stacks of png files. Is there a
method in UNO to do this?
Best regards,
Jos
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]