pptxtojson 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/pptxtojson.js +12 -5
- package/src/shape.js +1 -1
package/README.md
CHANGED
|
@@ -198,13 +198,14 @@ document.querySelector('input').addEventListener('change', evt => {
|
|
|
198
198
|
- 高度 `height`
|
|
199
199
|
- 音频blob `blob`
|
|
200
200
|
|
|
201
|
-
#####
|
|
201
|
+
##### 公式
|
|
202
202
|
- 类型 `type='math'`
|
|
203
203
|
- 水平坐标 `left`
|
|
204
204
|
- 垂直坐标 `top`
|
|
205
205
|
- 宽度 `width`
|
|
206
206
|
- 高度 `height`
|
|
207
|
-
-
|
|
207
|
+
- 公式图片 `picBase64`
|
|
208
|
+
- LaTeX表达式(仅支持常见结构) `latex`
|
|
208
209
|
|
|
209
210
|
##### Smart图
|
|
210
211
|
- 类型 `type='diagram'`
|
|
@@ -227,7 +228,7 @@ document.querySelector('input').addEventListener('change', evt => {
|
|
|
227
228
|
|
|
228
229
|
# 🙏 感谢
|
|
229
230
|
本仓库大量参考了 [PPTX2HTML](https://github.com/g21589/PPTX2HTML) 和 [PPTXjs](https://github.com/meshesha/PPTXjs) 的实现。
|
|
230
|
-
>
|
|
231
|
+
> 与它们不同的是:PPTX2HTML 和 PPTXjs 是将PPT文件转换为能够运行的 HTML 页面,而 pptxtojson 做的是将PPT文件转换为干净的 JSON 数据,且在原有基础上进行了大量优化(包括代码质量和提取信息准确度)。
|
|
231
232
|
|
|
232
233
|
# 📄 开源协议
|
|
233
234
|
MIT License | Copyright © 2020-PRESENT [pipipi-pikachu](https://github.com/pipipi-pikachu)
|