pptxtojson 2.0.1 → 2.0.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/README.md +11 -11
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- 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 +11 -2
- package/src/paragraph.js +223 -0
- package/src/pptxtojson.js +42 -19
- package/src/table.js +15 -13
- package/src/text.js +12 -11
- package/src/align.js +0 -164
package/dist/index.d.ts
CHANGED
|
@@ -147,6 +147,7 @@ export interface TableCell {
|
|
|
147
147
|
fillColor?: string
|
|
148
148
|
fontColor?: string
|
|
149
149
|
fontBold?: boolean
|
|
150
|
+
vAlign: string
|
|
150
151
|
borders: {
|
|
151
152
|
top?: Border
|
|
152
153
|
bottom?: Border
|
|
@@ -316,6 +317,7 @@ export interface Options {
|
|
|
316
317
|
export const parse: (file: ArrayBuffer, options?: Options) => Promise<{
|
|
317
318
|
slides: Slide[]
|
|
318
319
|
themeColors: string[]
|
|
320
|
+
usedFonts: string[]
|
|
319
321
|
size: {
|
|
320
322
|
width: number
|
|
321
323
|
height: number
|