pptxtojson 2.0.3 → 2.0.5
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 +352 -335
- package/README_zh.md +352 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- 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/index.html +10 -2
- package/package.json +1 -1
- package/src/chart.js +58 -48
- package/src/fill.js +56 -12
- package/src/paragraph.js +156 -126
- package/src/pptxtojson.js +63 -30
- package/src/shape.js +9 -0
- package/src/text.js +21 -17
package/dist/index.d.ts
CHANGED
|
@@ -80,6 +80,7 @@ export interface Shape {
|
|
|
80
80
|
shapType: string
|
|
81
81
|
vAlign: string
|
|
82
82
|
path?: string
|
|
83
|
+
strokeOnly?: boolean
|
|
83
84
|
keypoints?: Record<string, number>
|
|
84
85
|
name: string
|
|
85
86
|
order: number
|
|
@@ -210,7 +211,7 @@ export interface ChartItem {
|
|
|
210
211
|
values: ChartValue[]
|
|
211
212
|
xlabels: ChartXLabel
|
|
212
213
|
}
|
|
213
|
-
export type ScatterChartData =
|
|
214
|
+
export type ScatterChartData = number[][]
|
|
214
215
|
export interface CommonChart {
|
|
215
216
|
type: 'chart'
|
|
216
217
|
left: number
|