pptxtojson 1.7.0 → 1.9.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/dist/index.d.ts CHANGED
@@ -30,7 +30,16 @@ export interface GradientFill {
30
30
  }
31
31
  }
32
32
 
33
- export type Fill = ColorFill | ImageFill | GradientFill
33
+ export interface PatternFill {
34
+ type: 'pattern'
35
+ value: {
36
+ type: string
37
+ foregroundColor: string
38
+ backgroundColor: string
39
+ }
40
+ }
41
+
42
+ export type Fill = ColorFill | ImageFill | GradientFill | PatternFill
34
43
 
35
44
  export interface Border {
36
45
  borderColor: string
@@ -38,6 +47,11 @@ export interface Border {
38
47
  borderType:'solid' | 'dashed' | 'dotted'
39
48
  }
40
49
 
50
+ export interface AutoFit {
51
+ type: 'shape' | 'text'
52
+ fontScale?: number
53
+ }
54
+
41
55
  export interface Shape {
42
56
  type: 'shape'
43
57
  left: number
@@ -59,6 +73,7 @@ export interface Shape {
59
73
  path?: string
60
74
  name: string
61
75
  order: number
76
+ autoFit?: AutoFit
62
77
  }
63
78
 
64
79
  export interface Text {
@@ -81,6 +96,7 @@ export interface Text {
81
96
  vAlign: string
82
97
  name: string
83
98
  order: number
99
+ autoFit?: AutoFit
84
100
  }
85
101
 
86
102
  export interface Image {