Skip to content

Commit

Permalink
updated for v3.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbrent committed May 2, 2021
1 parent c27b2fa commit 80e55c4
Show file tree
Hide file tree
Showing 14 changed files with 46 additions and 38 deletions.
42 changes: 25 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand All @@ -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
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.5.0/dist/pptxgen.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.6.0/dist/pptxgen.bundle.js"></script>
```

Min files: Modern Browsers

```html
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.5.0/libs/jszip.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.5.0/dist/pptxgen.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.6.0/libs/jszip.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.6.0/dist/pptxgen.min.js"></script>
```

## 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
<script src="PptxGenJS/dist/pptxgen.bundle.js"></script>
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions demos/browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="author" content="https://github.com/gitbrent">
<meta name="website" content="https://github.com/gitbrent/PptxGenJS/">
<meta name="version" content="3.6.0">
<meta name="updated" content="2021-04-26">
<meta name="updated" content="2021-05-02">
<link rel="icon" href="images/favicon-32x32.png" sizes="32x32" type="image/png">
<link rel="icon" href="images/favicon-16x16.png" sizes="16x16" type="image/png">
<link rel="icon" href="images/favicon.png">
Expand All @@ -28,9 +28,9 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.15.0/prism.min.js"></script>

<!-- RELEASE (CDN)
-->
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@latest/dist/pptxgen.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@latest/demos/common/demos.js type="module""></script>
-->
<!--
TODO: [only used during `-beta` dev cycles; update to below on release]
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@master/dist/pptxgen.bundle.js"></script>
Expand All @@ -39,9 +39,9 @@
<!-- LOCAL TESTING:
<script src="../../libs/jszip.min.js"></script>
<script src="../../dist/pptxgen.min.js"></script>
-->
<script src="./js/pptxgen.bundle.js"></script>
<script src="../modules/demos.mjs" type="module"></script>
-->

<script type="module">
import { buildDataTable, doAppStart, execGenSlidesFunc, runAllDemos, table2slides1, table2slides2, table2slidesDemoForTab } from './js/browser.js';
Expand Down
4 changes: 2 additions & 2 deletions demos/browser/js/pptxgen.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demos/browser/js/pptxgen.bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demos/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pptxgenjs-demos-node",
"version": "3.6.0-beta",
"version": "3.6.0",
"author": {
"name": "Brent Ely",
"url": "https://github.com/gitbrent/"
Expand Down
4 changes: 2 additions & 2 deletions demos/react-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "pptxgenjs-react-demo",
"version": "3.4.0",
"version": "3.6.0",
"private": true,
"dependencies": {
"pptxgenjs": "^3.4.0",
"pptxgenjs": "^3.6.0",
"react": "^16.10.1",
"react-dom": "^16.10.1",
"react-scripts": "3.1.2"
Expand Down
4 changes: 2 additions & 2 deletions dist/pptxgen.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/pptxgen.bundle.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/pptxgen.cjs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* PptxGenJS 3.6.0-beta @ 2021-04-28T04:08:52.618Z */
/* PptxGenJS 3.6.0 @ 2021-05-02T20:03:50.903Z */
'use strict';

var JSZip = require('jszip');
Expand Down Expand Up @@ -6167,7 +6167,7 @@ function createSvgPngPreview(rel) {
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
var VERSION = '3.6.0-20210427-2305';
var VERSION = '3.6.0';
var PptxGenJS = /** @class */ (function () {
function PptxGenJS() {
var _this = this;
Expand Down
4 changes: 2 additions & 2 deletions dist/pptxgen.es.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* PptxGenJS 3.6.0-beta @ 2021-04-28T04:08:52.623Z */
/* PptxGenJS 3.6.0 @ 2021-05-02T20:03:50.912Z */
import JSZip from 'jszip';

/*! *****************************************************************************
Expand Down Expand Up @@ -6161,7 +6161,7 @@ function createSvgPngPreview(rel) {
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
var VERSION = '3.6.0-20210427-2305';
var VERSION = '3.6.0';
var PptxGenJS = /** @class */ (function () {
function PptxGenJS() {
var _this = this;
Expand Down
4 changes: 2 additions & 2 deletions dist/pptxgen.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/pptxgen.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pptxgenjs",
"version": "3.6.0-beta",
"version": "3.6.0",
"author": {
"name": "Brent Ely",
"url": "https://github.com/gitbrent/"
Expand Down
2 changes: 1 addition & 1 deletion src/pptxgen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ import * as genMedia from './gen-media'
import * as genTable from './gen-tables'
import * as genXml from './gen-xml'

const VERSION = '3.6.0-20210427-2305'
const VERSION = '3.6.0'

export default class PptxGenJS implements IPresentationProps {
// Property getters/setters
Expand Down

0 comments on commit 80e55c4

Please sign in to comment.