From 80e55c405a672a37acfe9b5c804b275a5256dbb4 Mon Sep 17 00:00:00 2001 From: Brent Ely Date: Sun, 2 May 2021 16:44:06 -0500 Subject: [PATCH] updated for v3.6.0 --- README.md | 42 +++++++++++++++----------- demos/browser/index.html | 6 ++-- demos/browser/js/pptxgen.bundle.js | 4 +-- demos/browser/js/pptxgen.bundle.js.map | 2 +- demos/node/package.json | 2 +- demos/react-demo/package.json | 4 +-- dist/pptxgen.bundle.js | 4 +-- dist/pptxgen.bundle.js.map | 2 +- dist/pptxgen.cjs.js | 4 +-- dist/pptxgen.es.js | 4 +-- dist/pptxgen.min.js | 4 +-- dist/pptxgen.min.js.map | 2 +- package.json | 2 +- src/pptxgen.ts | 2 +- 14 files changed, 46 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index 416ec9123..d6b1b3e52 100644 --- a/README.md +++ b/README.md @@ -46,23 +46,29 @@ This library creates Open Office XML (OOXML) Presentations which are compatible # Features -**Extensive Support** +**Works Everywhere** -- Generate presentations on every modern desktop & mobile web browser -- IE11 is supported via bundle polyfill +- Every modern desktop and mobile browser is supported +- Integrates with Node, Angular, React and Electron +- Compatible with PowerPoint, Keynote, and more -**Comprehensive Objects** +**Full Featured** -- Create any object type: Charts, Images, Links, Media, Shapes, Tables, Text -- SVG images and YouTube videos are supported when viewed in PowerPoint online/2019+ desktop application +- All major object types are available (charts, shapes, tables, etc.) +- Master Slides for academic/corporate branding +- SVG images, animated gifs, YouTube videos, RTL text, and Asian fonts -**Modern Architecture** +**Simple And Powerful** -- Supports client web browsers, NodeJS, and React/Angular/Electron -- Export methods return promises -- Client browsers have only a single dependency: JSZip -- Easy Angular/React integration (available via npm, cjs or es files) -- Typescript definitions included +- The absolute easiest PowerPoint library to use +- Learn as you code will full typescript definitions included +- Tons of demo code comes included (over 70 slides of features) + +**Export Your Way** + +- Exports files direct to client browsers with proper MIME-type +- Other export formats available: base64, blob, stream, etc. +- Presentation compression options and more **HTML to PowerPoint** @@ -85,21 +91,23 @@ Use the online demo to create a simple presentation to see how easy it is to use Bundle: Modern Browsers and IE11 ```html - + ``` Min files: Modern Browsers ```html - - + + ``` ## Download [GitHub Latest Release](https://github.com/gitbrent/PptxGenJS/releases/latest) -Bundle: Modern Browsers and IE11 +Bundle: Modern Browsers + +- Use the bundle for IE11 support ```html @@ -210,7 +218,7 @@ Easily convert HTML tables to PowerPoint presentations in a single call. ```javascript let pptx = new PptxGenJS(); pptx.tableToSlides("tableElementId"); -pptx.writeFile(); +pptx.writeFile({ fileName:"html2pptx-demo.pptx" }); ``` Learn more: diff --git a/demos/browser/index.html b/demos/browser/index.html index 3e6096b77..7b514c5df 100755 --- a/demos/browser/index.html +++ b/demos/browser/index.html @@ -6,7 +6,7 @@ - + @@ -28,9 +28,9 @@ - --> + -->