Skip to content

Commit

Permalink
Added new hidden property to slide (Issue gitbrent#367)
Browse files Browse the repository at this point in the history
Co-Authored-By: Reima Frgos <reimafrgos@users.noreply.github.com>
  • Loading branch information
gitbrent and ReimaFrgos committed Jul 7, 2018
1 parent 353bd2d commit 4e2f177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/pptxgen.js
Original file line number Diff line number Diff line change
Expand Up @@ -4059,7 +4059,7 @@ var PptxGenJS = function(){
function makeXmlSlide(objSlide) {
// STEP 1: Generate slide XML - wrap generated text in full XML envelope
var strXml = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+CRLF;
strXml += '<p:sld xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main">';
strXml += '<p:sld xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"'+ (objSlide.slide.hidden ? ' show="0"' : '') +'>';
strXml += gObjPptxGenerators.slideObjectToXml(objSlide);
strXml += '<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr>';
strXml += '</p:sld>';
Expand Down

0 comments on commit 4e2f177

Please sign in to comment.