reading docx (Office Open XML) in PHP(用 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)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:用 PHP 读取 docx(Office Open XML)
基础教程推荐
- 如何在 Laravel 中使用 React Router? 2022-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- 如何替换eregi() 2022-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
