pptxtojson 0.1.1 → 0.1.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/dist/index.d.ts +3 -2
- 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/fontStyle.js +4 -6
- package/src/pptxtojson.js +38 -1
- package/src/readXmlFile.js +4 -2
- package/src/shape.js +12 -3
- package/src/text.js +3 -0
package/dist/index.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ export interface Table {
|
|
|
76
76
|
width: number
|
|
77
77
|
height: number
|
|
78
78
|
data: TableCell[][]
|
|
79
|
+
themeColor: string
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
export type ChartType = 'lineChart' |
|
|
@@ -114,7 +115,7 @@ export interface CommonChart {
|
|
|
114
115
|
width: number
|
|
115
116
|
height: number
|
|
116
117
|
data: ChartItem[]
|
|
117
|
-
chartType: ChartType
|
|
118
|
+
chartType: Exclude<ChartType, 'scatterChart' | 'bubbleChart'>
|
|
118
119
|
barDir?: 'bar' | 'col'
|
|
119
120
|
marker?: boolean
|
|
120
121
|
holeSize?: string
|
|
@@ -128,7 +129,7 @@ export interface ScatterChart {
|
|
|
128
129
|
width: number
|
|
129
130
|
height: number
|
|
130
131
|
data: ScatterChartData,
|
|
131
|
-
chartType: 'scatterChart'
|
|
132
|
+
chartType: 'scatterChart' | 'bubbleChart'
|
|
132
133
|
}
|
|
133
134
|
export type Chart = CommonChart | ScatterChart
|
|
134
135
|
|