Apache OpenOffice (AOO) Bugzilla – Issue 80184
can't add SVG draw documents to gallery via API
Last modified: 2017-05-20 10:34:17 UTC
We want to add lots of SVG draw documents to gallery via api using OOoBasic and external filter (http://wiki.services.openoffice.org/wiki/SVG_Import_Filter). But we can't find the right way to do this. I attach our macro that travel a directory and pic up the files. " The macro, as it stands, will now open a draw document, but I can not add the draw document into the gallery. I have a question on the dev mailing list since the API looks like it can handle that. " Here is our macro: (http://www.pitonyak.org/OOoGalleryImport.odt) I also attach it.
Created attachment 47209 [details] Test case
accepted, set target to OOo 2.4.
I stay tuned. I have a dream to enhance my gallery extension as soon as this problem will be solved. I hope it happens sooner than later. Can I help somehow the development?
I do not know why is it on me. KA can you solve this issue somehow for 2.4?
set target 3.0
changed target to OOo 3.x
added myself to CC
Created attachment 71395 [details] how about this ?
How about this to pull the first normal (non-handout etc.) page out of the drawing document and munge it into the little cut-down "GalleryDrawingModel" model which supports a single page that insertDrawingByIndex expects to get (but which doesn't seem possible to otherwise generate)
Committed the patch in revision 1182525. Thanks!