0.0.3 • Published 5 years ago
pptx-parse v0.0.3
使用nodejs解析pptx
xml解析部分使用了c++解析引擎 pugixml,为了解决xml2js在空节点丢弃空格的问题,并加快解析速度
demo运行
- npm install
- npm run build
- node example/index.js
- visit http://localhost:9992/test.html
- 左右键切换页码
解析效果
http://pptx.dornt.com/test.html
第三方解析效果
https://ppt2h5-1259648581.file.myqcloud.com/g4f7d5qqc0jcqk8n11mb/index.html
Issue
example中的ppt是从简易到复杂的test文件
目前第1-3的ppt解析基本无误
4-5还需要继续完善
参考文档: 1. Ecma-376 2. officeopenxml 3. c-rex.net