<table><tr><td style="">broulik retitled this revision from "Extend Open Document thumbnailer to Office Open XML" to "Extend Open Document thumbnailer to Open Packaging Conventions format".<br />broulik edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-hxffaewrsqcyb4z/">(Show Details)</a><br />broulik edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-jxs7qjxtm2oyqrh/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D18768">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">This <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">tries to extract the `docProps/thumbnail.*` from `.docx`</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">extracts thumbnails from formats such as Office Open XML (docx, xlsx</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">`.xlsx`</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">pptx</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">`.pptx` </span>as well as their templates<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">) and other formats following that spec that make sense for "office documents" such as xps</span>.</div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">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.<br />
<br />
</span>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</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R320 KIO Extras</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18768">https://phabricator.kde.org/D18768</a></div></div><br /><div><strong>To: </strong>broulik, Plasma, VDG, Frameworks, davidedmundson<br /><strong>Cc: </strong>davidedmundson, acrouthamel, kde-frameworks-devel, kfm-devel, alexde, feverfew, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov<br /></div>