Use SharePoint 2010 Word Automation Services Convert Excel and PowerPoint

Is there a way to convert Excel or PowerPoint files using SharePoint 2010 Word Automation Services?

Currently we can convert word files using something like this

ConversionJob pdfJob = new ConversionJob("Word Automation Services");
pdfJob.Name = "Mortgage Report";
pdfJob.UserToken = myWebsite.CurrentUser.UserToken;
pdfJob.AddFile(outputWordFilename, outputWordFilename.Replace(".docx", ".pdf"));
pdfJob.Start();

Or his way to convert Excel or PowerPoint to Word and use the same code?

+3
source share
1 answer

Something like this document that you are trying to execute?

It may not match you 100%, but I used this for one of my projects.

0
source

All Articles