开发者

Using SharePoint 2010 Word Automation Services Convert Excel And PowerPoint

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜