【问题标题】:Using SharePoint 2010 Word Automation Services Convert Excel And PowerPoint使用 SharePoint 2010 Word Automation Services 转换 Excel 和 PowerPoint
【发布时间】:2011-09-06 13:30:19
【问题描述】:

有没有办法使用 SharePoint 2010 Word Automation Services 转换 Excel 或 PowerPoint 文件?

目前我们可以使用类似这样的方式转换word文件

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();

或者它是一种将 Excel 或 PowerPoint 转换为 Word 的方法,并且使用相同的代码?

【问题讨论】:

  • Xavier,你的问题解决了吗?我现在正忙于同样的问题。卡伦斯
  • Karens,使用 SharePoint 2010 Word Automation Services,我无法获得解决方案,我想做的是使用互操作类自己转换文件。还有一些 dll 可以帮助你,但最后使用互操作更容易。如果您需要更多详细信息,请告诉我。
  • Xavier,我想实现该功能。你能告诉我一些你是如何实现它的细节吗?提前感谢,凯伦斯
  • 有同样的问题 :-/ 有人解决了这个问题吗?顺便提一句。在 SharePoint 2013 中将有“PowerPoint 自动化服务”msdn.microsoft.com/en-us/library/fp179894(v=office.15).aspxBjörn

标签: pdf sharepoint-2010 converter


【解决方案1】:

document 这样的事情是你想要完成的吗?

它可能不是 100% 适合你,但我已经将它用于我的一个项目。

【讨论】:

  • 它可以工作,它对我的​​代码有所不同,但我会尝试使用互操作类来做到这一点。提前致谢
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多