Skip to content

Commit 80e55c4

Browse files
committed
updated for v3.6.0
1 parent c27b2fa commit 80e55c4

14 files changed

+46
-38
lines changed

README.md

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,29 @@ This library creates Open Office XML (OOXML) Presentations which are compatible
4646

4747
# Features
4848

49-
**Extensive Support**
49+
**Works Everywhere**
5050

51-
- Generate presentations on every modern desktop & mobile web browser
52-
- IE11 is supported via bundle polyfill
51+
- Every modern desktop and mobile browser is supported
52+
- Integrates with Node, Angular, React and Electron
53+
- Compatible with PowerPoint, Keynote, and more
5354

54-
**Comprehensive Objects**
55+
**Full Featured**
5556

56-
- Create any object type: Charts, Images, Links, Media, Shapes, Tables, Text
57-
- SVG images and YouTube videos are supported when viewed in PowerPoint online/2019+ desktop application
57+
- All major object types are available (charts, shapes, tables, etc.)
58+
- Master Slides for academic/corporate branding
59+
- SVG images, animated gifs, YouTube videos, RTL text, and Asian fonts
5860

59-
**Modern Architecture**
61+
**Simple And Powerful**
6062

61-
- Supports client web browsers, NodeJS, and React/Angular/Electron
62-
- Export methods return promises
63-
- Client browsers have only a single dependency: JSZip
64-
- Easy Angular/React integration (available via npm, cjs or es files)
65-
- Typescript definitions included
63+
- The absolute easiest PowerPoint library to use
64+
- Learn as you code will full typescript definitions included
65+
- Tons of demo code comes included (over 70 slides of features)
66+
67+
**Export Your Way**
68+
69+
- Exports files direct to client browsers with proper MIME-type
70+
- Other export formats available: base64, blob, stream, etc.
71+
- Presentation compression options and more
6672

6773
**HTML to PowerPoint**
6874

@@ -85,21 +91,23 @@ Use the online demo to create a simple presentation to see how easy it is to use
8591
Bundle: Modern Browsers and IE11
8692

8793
```html
88-
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.5.0/dist/pptxgen.bundle.js"></script>
94+
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.6.0/dist/pptxgen.bundle.js"></script>
8995
```
9096

9197
Min files: Modern Browsers
9298

9399
```html
94-
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.5.0/libs/jszip.min.js"></script>
95-
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.5.0/dist/pptxgen.min.js"></script>
100+
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.6.0/libs/jszip.min.js"></script>
101+
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.6.0/dist/pptxgen.min.js"></script>
96102
```
97103

98104
## Download
99105

100106
[GitHub Latest Release](https://github.com/gitbrent/PptxGenJS/releases/latest)
101107

102-
Bundle: Modern Browsers and IE11
108+
Bundle: Modern Browsers
109+
110+
- Use the bundle for IE11 support
103111

104112
```html
105113
<script src="PptxGenJS/dist/pptxgen.bundle.js"></script>
@@ -210,7 +218,7 @@ Easily convert HTML tables to PowerPoint presentations in a single call.
210218
```javascript
211219
let pptx = new PptxGenJS();
212220
pptx.tableToSlides("tableElementId");
213-
pptx.writeFile();
221+
pptx.writeFile({ fileName:"html2pptx-demo.pptx" });
214222
```
215223

216224
Learn more:

demos/browser/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="author" content="https://github.com/gitbrent">
77
<meta name="website" content="https://github.com/gitbrent/PptxGenJS/">
88
<meta name="version" content="3.6.0">
9-
<meta name="updated" content="2021-04-26">
9+
<meta name="updated" content="2021-05-02">
1010
<link rel="icon" href="images/favicon-32x32.png" sizes="32x32" type="image/png">
1111
<link rel="icon" href="images/favicon-16x16.png" sizes="16x16" type="image/png">
1212
<link rel="icon" href="images/favicon.png">
@@ -28,9 +28,9 @@
2828
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.15.0/prism.min.js"></script>
2929

3030
<!-- RELEASE (CDN)
31+
-->
3132
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@latest/dist/pptxgen.bundle.js"></script>
3233
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@latest/demos/common/demos.js type="module""></script>
33-
-->
3434
<!--
3535
TODO: [only used during `-beta` dev cycles; update to below on release]
3636
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@master/dist/pptxgen.bundle.js"></script>
@@ -39,9 +39,9 @@
3939
<!-- LOCAL TESTING:
4040
<script src="../../libs/jszip.min.js"></script>
4141
<script src="../../dist/pptxgen.min.js"></script>
42-
-->
4342
<script src="./js/pptxgen.bundle.js"></script>
4443
<script src="../modules/demos.mjs" type="module"></script>
44+
-->
4545

4646
<script type="module">
4747
import { buildDataTable, doAppStart, execGenSlidesFunc, runAllDemos, table2slides1, table2slides2, table2slidesDemoForTab } from './js/browser.js';

demos/browser/js/pptxgen.bundle.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/browser/js/pptxgen.bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pptxgenjs-demos-node",
3-
"version": "3.6.0-beta",
3+
"version": "3.6.0",
44
"author": {
55
"name": "Brent Ely",
66
"url": "https://github.com/gitbrent/"

demos/react-demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "pptxgenjs-react-demo",
3-
"version": "3.4.0",
3+
"version": "3.6.0",
44
"private": true,
55
"dependencies": {
6-
"pptxgenjs": "^3.4.0",
6+
"pptxgenjs": "^3.6.0",
77
"react": "^16.10.1",
88
"react-dom": "^16.10.1",
99
"react-scripts": "3.1.2"

dist/pptxgen.bundle.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pptxgen.bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pptxgen.cjs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* PptxGenJS 3.6.0-beta @ 2021-04-28T04:08:52.618Z */
1+
/* PptxGenJS 3.6.0 @ 2021-05-02T20:03:50.903Z */
22
'use strict';
33

44
var JSZip = require('jszip');
@@ -6167,7 +6167,7 @@ function createSvgPngPreview(rel) {
61676167
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
61686168
* SOFTWARE.
61696169
*/
6170-
var VERSION = '3.6.0-20210427-2305';
6170+
var VERSION = '3.6.0';
61716171
var PptxGenJS = /** @class */ (function () {
61726172
function PptxGenJS() {
61736173
var _this = this;

dist/pptxgen.es.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* PptxGenJS 3.6.0-beta @ 2021-04-28T04:08:52.623Z */
1+
/* PptxGenJS 3.6.0 @ 2021-05-02T20:03:50.912Z */
22
import JSZip from 'jszip';
33

44
/*! *****************************************************************************
@@ -6161,7 +6161,7 @@ function createSvgPngPreview(rel) {
61616161
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
61626162
* SOFTWARE.
61636163
*/
6164-
var VERSION = '3.6.0-20210427-2305';
6164+
var VERSION = '3.6.0';
61656165
var PptxGenJS = /** @class */ (function () {
61666166
function PptxGenJS() {
61676167
var _this = this;

0 commit comments

Comments
 (0)