As it is known (or it should be anyway) the 'x' formats (docx - Microsoft Word, xlsx - Microsoft Excel, pptx - Microsoft PowerPoint) of Microsoft Office's applications have the possibility to embed a thumbnail:
It is in fact the first page of the document saved in wmf or emf format.
The MS Office's documents are saved in OOXML format which basically is a zipped archive of "different files".
To extract the thumb, just look in the archive for a file named "thumbnail" with whatever extension. (Currently is either emf (for docx), wmf (for xlsx) and jpeg (for pptx)). Also, be advised that the thumb (the file) can be missing if the user chose when he save the file from Word/Excel/PowerPoint to NOT include the thumbnail.
The file extensions which can provide the thumbnail in this way are currently docx, xlsx, pptx
Of course, I think that it superfluous to stress the popularity of Word, Excel and PowerPoint and, hence, the importance to show the thumbs of these programs.
Please support the Microsoft Office Document thumbs
Moderators: XnTriq, helmut, xnview
Please support the Microsoft Office Document thumbs
m. Th.
- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
Re: Please support the Microsoft Office Document thumbs
could you send me some samples, please?
Pierre.
Re: Please support the Microsoft Office Document thumbs
Oh! Uh, sorry Pierre.xnview wrote:could you send me some samples, please?
Samples sent.
m. Th.
- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
Re: Please support the Microsoft Office Document thumbs
XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=73711#p73711]Word 2007 viewing[/url]) wrote:
- MSDN Library: Microsoft Office Thumbnails in SharePoint
- Microsoft Knowledge Base: Search results for “save preview picture”
- Suzanne S. Barnhill (MS Word MVP): Document/Template Previews
Re: Please support the Microsoft Office Document thumbs
Wow! Our librarian is back!XnTriq wrote:XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=73711#p73711]Word 2007 viewing[/url]) wrote:
- MSDN Library: Microsoft Office Thumbnails in SharePoint
- Microsoft Knowledge Base: Search results for “save preview picture”
- Suzanne S. Barnhill (MS Word MVP): Document/Template Previews
Glad to see you again!
To Pierre: His links are different than what I posted.
This is because the links explain (at least this one) how to extract thumbnails (it they exist) from the old versions of MS Office files (doc, xls, ppt) while I explained how to extract thumbs from new versions of MS Office files (docx, xlsx, pptx).
I don't have anymore an Office earlier than Office 2007 but I know someone who has. Samples will come soon.
m. Th.
- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
Re: Please support the Microsoft Office Document thumbs
Can you support thumbnails of the OpenDocument format too? Implementation of that should be relatively easy, since OpenDocuments are basically ZIP archives containing XML files, and pre-processed thumbnails are stored inside at Thumbnails/thumbnail.png.
Here are some example files:
http://api.libreoffice.org/examples/bas ... actory.odt
http://api.libreoffice.org/examples/bas ... /stock.ods
http://api.libreoffice.org/examples/bas ... ifiles.odg
http://api.libreoffice.org/examples/Dev ... tation.odp
Here are some example files:
http://api.libreoffice.org/examples/bas ... actory.odt
http://api.libreoffice.org/examples/bas ... /stock.ods
http://api.libreoffice.org/examples/bas ... ifiles.odg
http://api.libreoffice.org/examples/Dev ... tation.odp
Re: Please support the Microsoft Office Document thumbs
djcj wrote:Can you support thumbnails of the OpenDocument format too? Implementation of that should be relatively easy, since OpenDocuments are basically ZIP archives containing XML files, and pre-processed thumbnails are stored inside at Thumbnails/thumbnail.png.
Here are some example files:
http://api.libreoffice.org/examples/bas ... actory.odt
http://api.libreoffice.org/examples/bas ... /stock.ods
http://api.libreoffice.org/examples/bas ... ifiles.odg
http://api.libreoffice.org/examples/Dev ... tation.odp
I already posted this request here: http://newsgroup.xnview.com/viewtopic.php?f=60&t=28307
m. Th.
- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -