pptxtojson 2.0.1 → 2.0.3

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 CHANGED
@@ -54,6 +54,13 @@ export interface AutoFit {
54
54
  fontScale?: number
55
55
  }
56
56
 
57
+ export interface TextInset {
58
+ l: number
59
+ t: number
60
+ r: number
61
+ b: number
62
+ }
63
+
57
64
  export interface Shape {
58
65
  type: 'shape'
59
66
  left: number
@@ -77,6 +84,7 @@ export interface Shape {
77
84
  name: string
78
85
  order: number
79
86
  autoFit?: AutoFit
87
+ textInset?: TextInset
80
88
  link?: string
81
89
  }
82
90
 
@@ -101,6 +109,7 @@ export interface Text {
101
109
  name: string
102
110
  order: number
103
111
  autoFit?: AutoFit
112
+ textInset?: TextInset
104
113
  link?: string
105
114
  }
106
115
 
@@ -147,6 +156,7 @@ export interface TableCell {
147
156
  fillColor?: string
148
157
  fontColor?: string
149
158
  fontBold?: boolean
159
+ vAlign: string
150
160
  borders: {
151
161
  top?: Border
152
162
  bottom?: Border
@@ -316,8 +326,9 @@ export interface Options {
316
326
  export const parse: (file: ArrayBuffer, options?: Options) => Promise<{
317
327
  slides: Slide[]
318
328
  themeColors: string[]
329
+ usedFonts: string[]
319
330
  size: {
320
331
  width: number
321
332
  height: number
322
333
  }
323
- }>
334
+ }>