开发者

Using SharePoint 2010 Word Automation Services Convert Excel And PowerPoint

开发者 https://www.devze.com 2023-03-09 16:56 出处:网络
Is there a way to convert Excel or PowerPoint Files with SharePoint 2010 Word Automation Services? Currently we can convert word files using something like this

Is there a way to convert Excel or PowerPoint Files with SharePoint 2010 Word Automation Services?

Currently we can convert word files using something like this

ConversionJob pdfJob = new C开发者_运维技巧onversionJob("Word Automation Services");
pdfJob.Name = "Mortgage Report";
pdfJob.UserToken = myWebsite.CurrentUser.UserToken;
pdfJob.AddFile(outputWordFilename, outputWordFilename.Replace(".docx", ".pdf"));
pdfJob.Start();

Or its a way to convert Excel or PowerPoint to Word, and the use the same code?


Is something like this document what you are trying to accomplish?

It may not fit 100% for you, but I had used that for one of my projects.

0

精彩评论

暂无评论...
验证码 换一张
取 消