zoukankan      html  css  js  c++  java
  • Microsoft Office 2007的ContentType

    当从浏览器返回一个文件时,需要指定ContentType,以下是Office2007对应的值:


    "application/vnd.openxmlformats-officedocument.wordprocessingml.template" (for .dotx files)
    "application/vnd.openxmlformats-officedocument.presentationml.presentation" (for .pptx files)
    "application/vnd.openxmlformats-officedocument.presentationml.slideshow" (for .ppsx files)
    "application/vnd.openxmlformats-officedocument.presentationml.template" (for .potx files)
    "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" (for .xlsx files)
    "application/vnd.openxmlformats-officedocument.spreadsheetml.template" (for .xltx files)

     相对于Office2003是这样的

     Response.ContentType = "application/vnd.ms-excel"

  • 相关阅读:
    [译]GLUT教程
    [译]GLUT教程
    [译]GLUT教程
    [译]GLUT教程
    [译]GLUT教程
    [译]GLUT教程
    [译]GLUT教程
    表单
    列表、表格与媒体元素
    HTML5基础
  • 原文地址:https://www.cnblogs.com/jmax/p/2000808.html
Copyright © 2011-2022 走看看