如何使用C#解压缩docx文件? [英] How to unzip docx file using C#?

查看:114
本文介绍了如何使用C#解压缩docx文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用C#解压缩docx文件?

How to unzip docx file using C#?

推荐答案

新的Office文件扩展名(docx,potx,xlsx等)在将zip文件上传到Web服务器然后下载后变成了zip文件.

The new Office file extensions (docx,potx,xlsx,etc) turning into zip files when they are uploaded to a web server and then downloaded.

这些文件格式现在使用的是Open XML文件格式系统,因此它们与Google,Open Office等的其他Office程序更加兼容.本质上,它们是包含XML文件的zip文件,当使用适当的应用程序打开该文件时,它们会变成一个友好的Word文档.

These file formats are now using an Open XML file format system so they are more compatible with other office programs from Google, Open Office...etc. Essentially they are zip files that are full of XML files that when opened with a proper application turn into a friendly word document.

我从此处,您可以在其中找到完整的信息.

I stole this full of shame from here where you can find full info.

我希望这个答案能够帮助您和所有嘲笑您的人,甚至在不知道答案的情况下否决您的问题.

I hope this answer will help you and all the ignorant people that made fun of you and negative voting your question without even knowing the answer.

这篇关于如何使用C#解压缩docx文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆