Skip to content

Commit

Permalink
v1.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
meshesha committed Mar 26, 2022
1 parent fcfa0b0 commit 1a9260b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ PPTXjs
</script>
```
# Changelog
* v1.21.1
* fixed issues:
- [#16](https://github.com/meshesha/PPTXjs/issues/16)

* v1.21.00
* add theme (background) support
* improved tables
Expand Down
16 changes: 12 additions & 4 deletions js/pptxjs.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
/**
* pptxjs.js
* Ver. : 1.21.00
* last update: 14/11/2021
* Ver. : 1.21.1
* last update: 16/11/2021
* Author: meshesha , https://github.com/meshesha
* LICENSE: MIT
* url:https://pptx.js.org/
* fix issues:
* [#16](https://github.com/meshesha/PPTXjs/issues/16)
*/

(function ($) {
Expand Down Expand Up @@ -8527,8 +8529,14 @@
case "http://schemas.openxmlformats.org/presentationml/2006/ole":
//result = genDiagram(node, warpObj, source, sType);
var oleObjNode = getTextByPathList(node, ["a:graphic", "a:graphicData", "mc:AlternateContent", "mc:Fallback","p:oleObj"]);
//console.log("oleObjNode:", oleObjNode)
result = processGroupSpNode(oleObjNode, warpObj, source);

if (oleObjNode === undefined) {
oleObjNode = getTextByPathList(node, ["a:graphic", "a:graphicData", "p:oleObj"]);
}
//console.log("node:", node, "oleObjNode:", oleObjNode)
if (oleObjNode !== undefined){
result = processGroupSpNode(oleObjNode, warpObj, source);
}
break;
default:
}
Expand Down
7 changes: 4 additions & 3 deletions js/pptxjs.min.js

Large diffs are not rendered by default.

0 comments on commit 1a9260b

Please sign in to comment.