Please support the Microsoft Office Document thumbs
Posted: Sat Mar 29, 2014 9:01 am
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.
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.