broulik created this revision. broulik added reviewers: Plasma, VDG, Frameworks. Herald added projects: Dolphin, Frameworks. Herald added subscribers: kfm-devel, kde-frameworks-devel. broulik requested review of this revision.
REVISION SUMMARY This tries to extract the `docProps/thumbnail.*` from `.docx`, `.xlsx`, `.pptx` as well as their templates. TEST PLAN I found that a few of my newer `.docx` most `.pptx` actually contain a `docProps/thumbnail.jpeg` file we can extract. The samples I have are quite small, so please give it a try if you deal with those file types. Internet suggests it can also be `thumbnail.jpg` and `thmbnail.emf` (if Qt can even read that..) so the path isn't hardcoded for those. The thumbnailer library name is kept to avoid changes when user updates and both do have "open" in the name :) I just dropped the Open Document Files suffix REPOSITORY R320 KIO Extras REVISION DETAIL https://phabricator.kde.org/D18768 AFFECTED FILES thumbnail/opendocumentcreator.cpp thumbnail/opendocumentthumbnail.desktop To: broulik, #plasma, #vdg, #frameworks Cc: kde-frameworks-devel, kfm-devel, alexde, feverfew, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov