Reputation: 31
Can We use Office 365 API's to manipulate word documents/ convert into pdf etc..., instead of using Word Automation libraries or Interop Libraries? What are the licensing terms to it, can we use it on a server.
Upvotes: 3
Views: 5227
Reputation: 1
Look into the .NET "word.application" COM object. It does everything you want to do. If you only want to dip your toe in then explore it with PowerShell via this command string: $word = new-object -com word.application
Upvotes: -1
Reputation: 312
There are no native methods exposed in either the current Office 365 API, or in the present state of the Office 365 Unified API, that would accomplish explicit document conversions. Performing the actual document conversion elsewhere and re-uploading it via the Office 365 API would be the nearest you could come at present.
If you're trying to leverage or extend the power of Word, you should check out Apps for Office. If you want to use data that an organization stores with Office 365, e.g. if you want to get all the documents belonging to a user X for example, then you should use Office 365 APIs.
You could also consider licensing a pre-built App such as Tru Copy/Paste or Muhimbi, as a means to avoid having to develop a web service/conversion application from scratch.
Upvotes: 2