
OpenDocument Thumbnail plugin
Source (link to git-repo or to original if based on someone elses unmodified work):
You do not need to install OpenOffice.org or any other office suite for it to work (it only uses KDE API).
* Fedora users can add the yum repository:
]$ cd /etc/yum.repos.d/
]$ su -c 'wget http://arielch.fedorapeople.org/repo/arielch.repo'
]$ su -c 'yum install kde-odf-thumbnail'
* (K)Ubuntu users can find packages under the name kde-thumbnailer-openoffice . See http://packages.ubuntu.com/karmic/kde-thumbnailer-openoffice
* Mandriva users can find it in their distro's repositories under the name kde-odf-thumbnail . See for example http://www.rpmfind.net/linux/rpm2html/search.php?query=kde-odf-thumbnail
* OpenSuSe users can get a version for openSUSE 11.2 from http://software.opensuse.org/ymp/KDE:KDE4:Community/openSUSE_11.2/kde4-ooo-thumbnail-plugin.ymp
* Sources can be checked out from the Kenai project:
http://kenai.com/projects/kde-odf-thumbnail/sources/sources/show
Read-only access to the Merculiar source code using the following URL:
https://hg.kenai.com/hg/kde-odf-thumbnail~sources
To clone it:
hg clone https://hg.kenai.com/hg/kde-odf-thumbnail~sources
* 25 Feb 2010: added repository for Fedora packages
* 22 Jan 2010: following all the suggestions, the OpenOffice.org Thumbnail plug-in has been renamed to OpenDocument Thumbnail (kde-odf-thumbnail for the sources and Fedora packages). IMO it makes no sense to open a new project in KDE-Apps.org, because the project is identified by its ID (110864), not by its name. So I renamed this page, and also the source files. Version remains the same (1.0.0).
* 13 Jan 2010: added RPM packages for Fedora 12 "Constantine"
* 1.0.0 - Minor changes: updated license, added license file.
Ratings & Comments
30 Comments
In case you're interested, I ported this to KF5 last weekend. The patch is meanwhile part of openSUSE's package in KDE:Extra... https://build.opensuse.org/package/view_file/KDE:Extra/kde-odf-thumbnail/port-to-kf5.patch?expand=1
Thanks that's great. I wonder if you would be able to do a KF5 version for Arch/Manjaro users in the Arch User Repository? Or other distro users? I'd be happy to offer a small bounty..
Thank you for your work. openSUSE rpms are now available at http://download.opensuse.org/repositories/KDE:/Extra/
Nice, but it doesn't seem to use a consistent size in the preview pane. I notice that pdf, txt, etc. previews are shown larger (typically) than openoffice documents.
Really great! And the opensuse 11.2 package also works on 11.1
Not to be too picky, but shouldn't this be called "OpenDocument thumbnail plugin"? OpenDocument formats are not just OpenOffice.org's format... Nice job, anyway :)
well... the Thumbnails/thumbnail.png file belongs to the ODF specification; I'm aware that OOo is not the only one generating ODFs (also Lotus Symphony, AbiWord, KOffice, and may be others do), but I've tried this only with OOo ODF implementation; that is, in order to rename the thumbnailer, I should try the other implementations too. I really have no time for that. Regards
I'll check with Koffice's formats and comment here, but as you say, it's ODF spec, therefore should be like this in any OpenDocument-compatible program's files.
OK, I checked with KOffice 2.1.0, and both KWord and KSpread (I assume the whole suite) create the Thumbnails/thumnail.png file, but it is all white. So they create it, according to spec, but as a placeholder for now. Anyway, has anyone proposed having this by default in KDESC on KDE Brainstorm? :P
Here you can find a package for Ubuntu Karmic Koala. http://linuxboy.altervista.org/vedi_rep.php Package is: oo-thumbnail_1.0.0-1_i386.deb
As you can see in my previous msg, I've having some probs... could you help me, pls? Leo
it works without any changes for me. I have a standard ubuntu 9.10, with all the necessary ubuntu packages to compile sources under kde & qt4. Anyway, try to add: FIND_PACKAGE(Qt4) before that line (line 4) in CMakeLists.txt
sorry, i mean Kubuntu and not Ubuntu.
Any chance to see a Gentoo ebuild? :-)
It's already in the tree: http://packages.gentoo.org/package/kde-misc/openofficeorg-thumbnail :)
... and I was sure I had check it... sorry dude
As I wrote in the subject I'm trying to compile your app on a Ubuntu 9.10 box $ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at CMakeLists.txt:4 (qt4_add_resources): Unknown CMake command "qt4_add_resources". CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.6) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! cmake is at the 2.6.4-1ubuntu2 version any idea how to fix it? tnx leo
Hi Leo, I guess you are missing the KDE development packages. In Fedora they are called kdelibs4-devel, I guess you can try: $] sudo aptitude install kdelibs4-dev Notice that this will install a lot of other packages.
Also notice that this already packaged and available on (K)Ubuntu repos: http://packages.ubuntu.com/karmic/kde-thumbnailer-openoffice
You are right!! I'm so sorry ... I've not seen it! SHAME ON ME ! BTW the dev pack was installed on my system ;)
Very nice idea and really simple and extremely efficient implementation (that is a plus). :-) Is it already in KDE SVN somewhere? If not then you should upload it and move to kdereview to try to include it in KDE 4.4.
As I already told you on KDE Bugzilla, great thanks for your work, it was something I was waiting for !
We from mcnl created packages for Mandriva 2009.1. It will be available from 30 aug on. See http://kristof.bal.googlepages.com/packages2 for instructions. The package is called kde-thumbnailer-odf.
I introduced it on cooker with a quite similary name but with odf in the middle :p ( kde-odf-thumbnail ) Regards,
That's funny :) Though I find my name better (it's more top-down). ;)