pptxtojson 1.3.2 → 1.4.0
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 +2 -1
- 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 +20 -1
- package/src/shapePath.js +4635 -0
- package/src/utils.js +4 -1
package/README.md
CHANGED
|
@@ -212,6 +212,7 @@ document.querySelector('input').addEventListener('change', evt => {
|
|
|
212
212
|
- 高度 `height`
|
|
213
213
|
- 公式图片 `picBase64`
|
|
214
214
|
- LaTeX表达式(仅支持常见结构) `latex`
|
|
215
|
+
- 文本(文本和公式混排时存在) `text`
|
|
215
216
|
|
|
216
217
|
##### Smart图
|
|
217
218
|
- 类型 `type='diagram'`
|
|
@@ -234,7 +235,7 @@ document.querySelector('input').addEventListener('change', evt => {
|
|
|
234
235
|
|
|
235
236
|
# 🙏 感谢
|
|
236
237
|
本仓库大量参考了 [PPTX2HTML](https://github.com/g21589/PPTX2HTML) 和 [PPTXjs](https://github.com/meshesha/PPTXjs) 的实现。
|
|
237
|
-
> 与它们不同的是:PPTX2HTML 和 PPTXjs 是将PPT文件转换为能够运行的 HTML 页面,而 pptxtojson 做的是将PPT文件转换为干净的 JSON
|
|
238
|
+
> 与它们不同的是:PPTX2HTML 和 PPTXjs 是将PPT文件转换为能够运行的 HTML 页面,而 pptxtojson 做的是将PPT文件转换为干净的 JSON 数据,且在原有基础上进行了大量优化补充(包括代码质量和提取信息的完整度和准确度)。
|
|
238
239
|
|
|
239
240
|
# 📄 开源协议
|
|
240
241
|
MIT License | Copyright © 2020-PRESENT [pipipi-pikachu](https://github.com/pipipi-pikachu)
|