Microsoft Office 2007文件类型,Mime类型和标识字符

时间:2008-08-01 13:17:21

标签: mime file-type office-2007

在哪里可以找到所有MIME类型的列表以及Microsoft Office 2007文件的标识字符?

我有一个上传表单,根据扩展名和识别字符限制上传,但我似乎无法找到Office 2007 MIME类型。

有人可以帮忙吗?

1 个答案:

答案 0 :(得分:23)

Office 2007 MIME Types for IIS

  • .docm,application / vnd.ms-word.document.macroEnabled.12
  • .docx,application / vnd.openxmlformats-officedocument.wordprocessingml.document
  • .dotm,application / vnd.ms-word.template.macroEnabled.12
  • .dotx,application / vnd.openxmlformats-officedocument.wordprocessingml.template
  • .potm,application / vnd.ms-powerpoint.template.macroEnabled.12
  • .potx,application / vnd.openxmlformats-officedocument.presentationml.template
  • .ppam,application / vnd.ms-powerpoint.addin.macroEnabled.12
  • .ppsm,application / vnd.ms-powerpoint.slideshow.macroEnabled.12
  • .ppsx,application / vnd.openxmlformats-officedocument.presentationml.slideshow
  • .pptm,application / vnd.ms-powerpoint.presentation.macroEnabled.12
  • .pptx,application / vnd.openxmlformats-officedocument.presentationml.presentation
  • .xlam,application / vnd.ms-excel.addin.macroEnabled.12
  • .xlsb,application / vnd.ms-excel.sheet.binary.macroEnabled.12
  • .xlsm,application / vnd.ms-excel.sheet.macroEnabled.12
  • .xlsx,application / vnd.openxmlformats-officedocument.spreadsheetml.sheet
  • .xltm,application / vnd.ms-excel.template.macroEnabled.12
  • .xltx,application / vnd.openxmlformats-officedocument.spreadsheetml.template