用PHP阅读docx(Office Open XML) [英] reading docx (Office Open XML) in PHP

查看:292
本文介绍了用PHP阅读docx(Office Open XML)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我们的CMS中添加一个单词导入功能,唯一的问题是我似乎无法找到一个好的库来阅读docx文件(Word 2007)。

I want to add an word import function to our CMS, the only problem I cannot seems to find a good library for reading docx files (Word 2007).

有没有人有一些建议,图书馆应该能够提取文档内容和基本样式,如斜体,粗体,上标?

Do anyone has some recommendations, the library should be able to extract content of the document and basic styling like italic, bold, superscript?

感谢您的帮助

推荐答案

或者,既然您要求图书馆,您可能需要查看类似于 Docvert 。我只是根据你的问题环顾四周,到目前为止,这是我最喜欢的PHP。您输入单词文件位置,它将其转换为简单的属性和所有好东西。

Or, since you requested a library, you may want to look into something like Docvert. I was just looking around based on your question, and it's my favorite so far for PHP. You input the word file location, it transforms it into something simple with the attributes and all that good stuff.

这篇关于用PHP阅读docx(Office Open XML)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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