OfficeDev / generator-office

Yeoman generator for building Microsoft Office related projects.
https://www.npmjs.com/package/generator-office
MIT License
825 stars 208 forks source link

Office How do I get the title of an Office file? #691

Closed ohj4312 closed 2 years ago

ohj4312 commented 2 years ago

Expected behavior

I am developing an Add-in project. I want to show the title of office document in taskpane.

And I want to support up to the office 2013 version. So I'm looking for a way to get the title of a document from a common API.

How can I import the titles of Word, PowerPoint, and Excel from the Add-in?

Context