1. 程式人生 > >office中的所有content type

office中的所有content type

轉自:http://filext.com/faq/office_mime_types.php

What are the Microsoft Office MIME Types?

FILExt does not presently have a search capability for MIME types however, in the interest of helping, this FAQ contains a complete list of the official Microsoft Office MIME types for the newest version of Microsoft Office (2007+).

To fully support the new types, web server administrators should add the MIME types for the Open XML formats to their Web server metabase settings so as to add the correct MIME type header in documents saved directly on the server and sent back.

The following table documents the HTTP MIME types that are available when working with Office 2007 documents:

Ext

MIME Type

.doc

application/msword

.dot

application/msword

.docx

application/vnd.openxmlformats-officedocument.wordprocessingml.document

.dotx

application/vnd.openxmlformats-officedocument.wordprocessingml.template

.docm

application/vnd.ms-word.document.macroEnabled.12

.dotm

application/vnd.ms-word.template.macroEnabled.12

.xls

application/vnd.ms-excel

.xlt

application/vnd.ms-excel

.xla

application/vnd.ms-excel

.xlsx

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

.xltx

application/vnd.openxmlformats-officedocument.spreadsheetml.template

.xlsm

application/vnd.ms-excel.sheet.macroEnabled.12

.xltm

application/vnd.ms-excel.template.macroEnabled.12

.xlam

application/vnd.ms-excel.addin.macroEnabled.12

.xlsb

application/vnd.ms-excel.sheet.binary.macroEnabled.12

.ppt

application/vnd.ms-powerpoint

.pot

application/vnd.ms-powerpoint

.pps

application/vnd.ms-powerpoint

.ppa

application/vnd.ms-powerpoint

.pptx

application/vnd.openxmlformats-officedocument.presentationml.presentation

.potx

application/vnd.openxmlformats-officedocument.presentationml.template

.ppsx

application/vnd.openxmlformats-officedocument.presentationml.slideshow

.ppam

application/vnd.ms-powerpoint.addin.macroEnabled.12

.pptm

application/vnd.ms-powerpoint.presentation.macroEnabled.12

.potm

application/vnd.ms-powerpoint.template.macroEnabled.12

.ppsm

application/vnd.ms-powerpoint.slideshow.macroEnabled.12

--------------------- 本文來自 huang798807481 的CSDN 部落格 ,全文地址請點選:https://blog.csdn.net/leroy008/article/details/7471595?utm_source=copy