Microsoft Office 2007的ContentType officeContentType
程序员文章站
2024-03-16 17:14:28
...
当从浏览器返回一个文件时,需要指定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"
"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"
上一篇: Cocos creator 基础学习---Color颜色
下一篇: Android:Layout_weight的深刻理解 博客分类: Android AndroidLayout_weight
推荐阅读
-
Microsoft Office 2007的ContentType officeContentType
-
开始快速学习Office 2007相关的知识: standard版, 不包括Access
-
使用dsoframer.ocx编辑2007office要注册的dll WindowsCC++C#
-
Microsoft Office Word2003是如何删除样式的?
-
Microsoft Office Access 2007: The Complete Reference
-
Microsoft Office 2007 中文专业版密钥
-
microsoft office word 2003下载 php让图片可以下载的代码第1/2页
-
Microsoft Office Access 2007: The Complete Reference
-
Microsoft office 2013版的安装及破解图文教程
-
microsoft office 2007 在已经安装pdf maker的情况下另存为没有adobe pdf选项