0.0.3 • Published 5 years ago

pptx-parse v0.0.3

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

使用nodejs解析pptx

xml解析部分使用了c++解析引擎 pugixml,为了解决xml2js在空节点丢弃空格的问题,并加快解析速度

demo运行

  1. npm install
  2. npm run build
  3. node example/index.js
  4. visit http://localhost:9992/test.html
  5. 左右键切换页码

解析效果

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

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago