pptxtojson 1.7.0 → 1.8.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 +6 -5
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +4 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/fill.js +83 -4
- package/src/fontStyle.js +6 -1
- package/src/position.js +5 -4
- package/src/pptxtojson.js +9 -9
- package/src/text.js +58 -8
- package/src/utils.js +4 -0
package/README.md
CHANGED
|
@@ -120,10 +120,11 @@ func()
|
|
|
120
120
|
|
|
121
121
|
- 页面备注 `note`
|
|
122
122
|
|
|
123
|
-
-
|
|
123
|
+
- 页面背景填充(颜色、图片、渐变、图案) `fill`
|
|
124
124
|
- 纯色填充 `type='color'`
|
|
125
125
|
- 图片填充 `type='image'`
|
|
126
126
|
- 渐变填充 `type='gradient'`
|
|
127
|
+
- 图案填充 `type='pattern'`
|
|
127
128
|
|
|
128
129
|
- 页面切换动画 `transition`
|
|
129
130
|
- 类型 `type`
|
|
@@ -142,8 +143,8 @@ func()
|
|
|
142
143
|
- 边框类型(实线、点线、虚线) `borderType`
|
|
143
144
|
- 非实线边框样式 `borderStrokeDasharray`
|
|
144
145
|
- 阴影 `shadow`
|
|
145
|
-
-
|
|
146
|
-
- 内容文字(HTML
|
|
146
|
+
- 填充(颜色、图片、渐变、图案) `fill`
|
|
147
|
+
- 内容文字(HTML富文本:字体、字号、颜色、渐变、下划线、删除线、斜体、加粗、阴影、角标、超链接) `content`
|
|
147
148
|
- 垂直翻转 `isFlipV`
|
|
148
149
|
- 水平翻转 `isFlipH`
|
|
149
150
|
- 旋转角度 `rotate`
|
|
@@ -178,8 +179,8 @@ func()
|
|
|
178
179
|
- 边框类型(实线、点线、虚线) `borderType`
|
|
179
180
|
- 非实线边框样式 `borderStrokeDasharray`
|
|
180
181
|
- 阴影 `shadow`
|
|
181
|
-
-
|
|
182
|
-
- 内容文字(HTML
|
|
182
|
+
- 填充(颜色、图片、渐变、图案) `fill`
|
|
183
|
+
- 内容文字(HTML富文本,与文字元素一致) `content`
|
|
183
184
|
- 垂直翻转 `isFlipV`
|
|
184
185
|
- 水平翻转 `isFlipH`
|
|
185
186
|
- 旋转角度 `rotate`
|