OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
670 stars 96 forks source link

Using Excel/Word/PowerPoint file programmatically #51

Closed alippai closed 6 years ago

alippai commented 6 years ago

Is it possible, to write a plugin for PowerPoint, where I can select an Excel file and read the range values given the base64/blob?

I'd like to generate PowerPoint slides based on Excel (without external tools or VBA macros)

Zlatkovsky commented 6 years ago

@alippai , this sounds more like a question, not an "issue" per se. Do you mind asking it on https://stackoverflow.com/tags/office-js, and posting a link back here for reference?

alippai commented 6 years ago

Well, this was more like a feature request. AFAIK I can't construct an Excel contect/object/document and use the API on it.

I'm not sure this is something matching your architecture and designs or this is "won't fix", so that's the question part.

Zlatkovsky commented 6 years ago

I don't want to be pedantic about it, so I hope I'm not scaring you off from asking questions, or raising issues and feature-requests, in the future. But for this particular one, there actually is an answer (or at least, a possible workaround) -- and if there are elements of it that are not addressed by the workaround (which will probably also be the case), though might turn into a series of feature requests, not just one.

So if it's a question -- even if it's a question masquerading as a feature request -- I'd rather start with StackOverflow, and then break it apart into concrete work items as needed. Sound fair?