incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 119735] SVG Export: missing implementation for when using GraphicProvider
Date Thu, 07 Jun 2012 12:29:39 GMT

--- Comment #3 from Ariel Constenla-Haile <> ---
Created attachment 78149
File with macro to test export/import with GraphicProvider service

The test document has an image.
The macro tries to export the image to SVG using the GraphicProvider service,
then import the image back.


The MimeType used is "image/svg+xml", not sure how correct is that, but this is
what the API documentation says:
See define MIMETYPE_SVG in main/svtools/source/graphic/descriptor.hxx and
GraphicProvider::storeGraphic in main/svtools/source/graphic/provider.cxx

It seems that you don't need a macro to reproduce it:

- Insert a picture in Writer
- Select the picture
- Right-click with the mouse, select from the context menu "Save Graphics..."
- In the "Graphics Export" dialog, from the list box "File type" choose "SVG -
Scalable Vector Graphics"
- Insert a File name
- Press "Save" button to export the graphics
- Open the graphic with a text editor: the file is empty, the file size is 0

Expected result: there should be an XML file with the SVG graphic

You are receiving this mail because:
You are the assignee for the bug.

View raw message