Lodahl's blog: OpenClipart.org in LibreOffice - part 3

22 February 2013

OpenClipart.org in LibreOffice - part 3

I have been discussing the subject before and now I just want to tell about our progress. We have managed to use the Task pane to show the dialog so from now the feature is no longer in the Insert - Picture menu. Instead you should use View - Task pane.

It works on Linux but for some reason Windows doesn't show any preview images and it doesn't insert anything either. Don't worry we will figure that out soon.

Bu the way, if you want to give it a try you can get it from the extension website here: http://extensions.libreoffice.org/extension-center/openclipart-org-integration .

Here is a short video to show the concept:


8 comments:

KeithCu said...

I tried it out on Linux. Looks like a great plugin that should ship by default ;-) I hadn't heard of OpenClipArt till reading your blog, and it is a great free service to connect to the great free LibreOffice.

After installing, it asks me to start a JRE on every startup. If I remove the plugin, the warning every time I launch disappears.

The license agreement dialog box is a slight pain. Are you sure you need it for a LGPL product? I almost never see them for LGPL / GPL.

Also, the pictures are too small compared to the size of the button to see what is going on.

Keep at it!

Regards,

-Keith

Anonymous said...

This is totally off-topic, but I just wanted to let you know that I found your Lorem Ipsum extension for OpenOffice via a search engine. I just downloaded and installed it.

It works beautifully! Thanks and God bless!

Anonymous said...

I'd like to use this but only get the following error message when I try to launch it from the Insert menu:

Ein Scripting Framework Fehler trat während der Ausführung vom Python-Skript vnd.sun.star.script:openclipart.oxt|python|OpenClipartDialog.py$createDialog?language=Python&location=user:uno_packages auf.

Meldung: : 'openclipart.oxt'
/usr/lib/libreoffice/program/pythonscript.py:365 in function getStorageUrlFromPersistentUrl() [package = self.mapPackageName2Path[ packageName ]]
/usr/lib/libreoffice/program/pythonscript.py:933 in function getScript() [self.provCtx.uriHelper.getStorageURI(scriptUri) );]


I am using LibO 4.0.2.2 (Debian Sid), python3.3-uno, python-openoffice and libreoffice-script-provider-python are installed. What else do I need?

Anonymous said...

Though it appears in the task pane it is still available in the Insert Image menu?

Sylvain said...

@The last Anonymous :
Read the article : "now the feature is no longer in the Insert - Picture menu. Instead you should use View - Task pane."
Before reading this post, I had made the same error ;)

But for me with the view fonction, I don't see picture and I can't add a clipart, maybe it's because I am on Fedora18 which have not 4.0 LibreOffice by default so I had install RPM from source.

Sylvain

Anonymous said...

The extension works pretty well on windows 7 with Libre Office 4.0 as well. I got previews from open clip art. It would be great, if you could integrate this task pane to other Libre Office apps like Draw, Impress, and potentially calc.

Thank You

ade said...

Thanks for your work on this extension. OpenClipart is great!

But the description on http://extensions.libreoffice.org/extension-center/openclipart-org-integration still has only the outdated, not working instruction ("insert > picture > ..."). It says nothing about the new "view > task pane" method. If you can, please update that text. There is a risk that new users give up when they encounter the error message after following the official instruction.

Anonymous said...

Tasks only seems to exist in Impress 4.1.x (on OSX).
What if we want to insert clipart into documents ?

The insert->picture>openclipart function makes more sense since it show up in all libreoffice apps.
Unfortunately it fails.