Difference between revisions of "User:Arielch/KDE Thumbnail plugin"
(→Features) |
(→Where to download) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
While OpenOffice.org has internal support in the Windows desktop integration for the system file browser, providing thumb previews of OpenOffice.org files (see [http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/shell/source/win32/shlxthandler/thumbviewer/ source code]), such a feature is completely missing in its KDE integration. | While OpenOffice.org has internal support in the Windows desktop integration for the system file browser, providing thumb previews of OpenOffice.org files (see [http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/shell/source/win32/shlxthandler/thumbviewer/ source code]), such a feature is completely missing in its KDE integration. | ||
− | The idea here is to develop a plug-in for KDE file managers (Dolphin and Konqueror) to preview OpenOffice.org files (Open Document Format) as thumbnails. Although this could be integrated into OpenOffice.org source code, I find it better to distribute the plug-in as a KDE extension, because it is developed using only the KDE API, and so it does not need OpenOffice.org to be installed for it to work. | + | The idea here is to develop a plug-in for KDE file managers (Dolphin and Konqueror) to preview OpenOffice.org files (Open Document Format) as thumbnails. Although this could be integrated into OpenOffice.org source code (now that there is a KDE 4 integration: see [http://www.openoffice.org/issues/show_bug.cgi?id=103283 issue 103283]), I find it better to distribute the plug-in as a KDE extension, because it is developed using only the KDE API, and so it does not need OpenOffice.org to be installed for it to work. |
− | =Features= | + | |
+ | [[Image:odf_thumb_creator_dolphin.png|none|thumb|400px|ODF file thumbnailer for KDE, working on KDE 4.3 Dolphin]] | ||
+ | |||
+ | |||
+ | |||
+ | == Features == | ||
* the plug-in only works for Open Document Format files (the default file format since OpenOffice.org 2), not the old binary file format | * the plug-in only works for Open Document Format files (the default file format since OpenOffice.org 2), not the old binary file format | ||
Line 14: | Line 19: | ||
− | [[Image:dig_sign_winxp.png|none|thumb| | + | [[Image:dig_sign_winxp.png|none|thumb|400px|Preview of a digitally signed file on Windows file browser]] |
+ | |||
+ | |||
+ | |||
+ | [[Image:doc_with_digital_sign.png|none|thumb|400px|Preview of a digitally signed files on KDE 4.3 Dolphin]] | ||
+ | |||
+ | |||
+ | Notice that there is no check at all about the digital sign validity: the plug-in only looks for a META-INF/documentsignatures.xml file, which only indicates that the document is signed. | ||
+ | |||
+ | |||
+ | * transparency is handled properly by removing the alpha channel (Note that although I thought it was an OpenOffice.org feature, the transparency on the thumbnail.png file is a bug: [http://www.openoffice.org/issues/show_bug.cgi?id=101732 see issue]). The plug-in will keep the check for alpha channel so that it can work with old files created before the issue fix. | ||
+ | |||
+ | == Where to download == | ||
+ | |||
+ | The plug-in has its page on KDE-Look.org: | ||
− | [ | + | [http://kde-apps.org/content/show.php?content=110864 http://kde-apps.org/content/show.php?content=110864] |
Latest revision as of 23:34, 22 January 2010
While OpenOffice.org has internal support in the Windows desktop integration for the system file browser, providing thumb previews of OpenOffice.org files (see source code), such a feature is completely missing in its KDE integration.
The idea here is to develop a plug-in for KDE file managers (Dolphin and Konqueror) to preview OpenOffice.org files (Open Document Format) as thumbnails. Although this could be integrated into OpenOffice.org source code (now that there is a KDE 4 integration: see issue 103283), I find it better to distribute the plug-in as a KDE extension, because it is developed using only the KDE API, and so it does not need OpenOffice.org to be installed for it to work.
Features
- the plug-in only works for Open Document Format files (the default file format since OpenOffice.org 2), not the old binary file format
- the plug-in only creates a thumbnail when the OpenOffice.org document already has a thumbnail file (ODF files are zip files, the plug-in searches for the Thumbnails/thumbnail.png file inside it). This means that there is no thumbnail preview for OpenOffice.org Base files (or in case the ODF file has no Thumbnails/thumbnail.png, or the thumbnail.png is corrupted)
- when the document is digitally signed, the plug-in reflects this fact by painting a signet on the upper right corner of the thumbnail. This is done slightly different from the way OpenOffice.org does it in its Windows integration:
Notice that there is no check at all about the digital sign validity: the plug-in only looks for a META-INF/documentsignatures.xml file, which only indicates that the document is signed.
- transparency is handled properly by removing the alpha channel (Note that although I thought it was an OpenOffice.org feature, the transparency on the thumbnail.png file is a bug: see issue). The plug-in will keep the check for alpha channel so that it can work with old files created before the issue fix.
Where to download
The plug-in has its page on KDE-Look.org: