We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We appreciate your feedback - to help the team understand your needs please complete the following template to ensure we have the details to help.
"pptxgenjs": "3.12.0"
It should show graphs in mac keynote
I have a ppt generated with node.js. It has charts in it. The charts are shown in microsoft powerpoint but not shown in mac keynote
sample code ppt.stream() .catch((err) => { logger.error("An error occured while generation PPT: "+err) throw err; }) .then((data:any) => { // Send stream of data as res res.writeHead(200, {"Content-disposition": `attachment;filename=sample.pptx, "Content-Length": data.length }); logger.info("Sending ppt generated to client") res.status(200).end(Buffer.from(data, "binary")); }) .catch((err) => { console.log("error",err) logger.error("ERROR occured while sending data to client: " + err); throw err }); } catch (e) { console.log("error",e) logger.error("Error in generating PPT", e); return res.status(500).json({ message: 'An error occurred: ' + e }); }
The text was updated successfully, but these errors were encountered:
I've fixed this in a fork, but it looks like this library is largely unmaintained at this point.
If a future maintainer comes across this and would like a PR please shoot me a message.
Sorry, something went wrong.
No branches or pull requests
We appreciate your feedback - to help the team understand your needs please complete the following template to ensure we have the details to help.
Submission Guidelines
Issue Category
Product Versions
"pptxgenjs": "3.12.0"
Desired Behavior
It should show graphs in mac keynote
Observed Behavior
I have a ppt generated with node.js. It has charts in it. The charts are shown in microsoft powerpoint but not shown in mac keynote
Steps to Reproduce
sample code
ppt.stream()
.catch((err) => {
logger.error("An error occured while generation PPT: "+err)
throw err;
})
.then((data:any) => {
// Send stream of data as res
res.writeHead(200, {"Content-disposition": `attachment;filename=sample.pptx, "Content-Length": data.length });
logger.info("Sending ppt generated to client")
res.status(200).end(Buffer.from(data, "binary"));
})
.catch((err) => {
console.log("error",err)
logger.error("ERROR occured while sending data to client: " + err);
throw err
});
} catch (e) {
console.log("error",e)
logger.error("Error in generating PPT", e);
return res.status(500).json({ message: 'An error occurred: ' + e });
}
The text was updated successfully, but these errors were encountered: