简体   繁体   English

在Word 2010中使用Office.js

[英]Using Office.js with Word 2010

我一直在寻找一些在线帮助,以在Word 2010中实现Office.js。我知道我已经看到过在Word 2010中实现OOXML的实现,但是我对Office.js在Word 2010中的使用却知之甚少。这可能吗?

Office.js defines the API for the new JavaScript-based so-called Office Add-ins . Office.js为新的基于JavaScript的所谓Office外接程序定义了API。 This add-in technology is available in the desktop versions of Office only starting from Office 2013 (as well as on the mobile and browser-based Office versions). 仅从Office 2013(以及基于移动和基于浏览器的Office版本)开始,此附加技术仅在Office的桌面版本中可用。 Earlier versions such as Office 2010 do not support this new technology. Office 2010等早期版本支持此新技术。

Depending on your requirements you may choose one of the following options (which all are still fully supported in Office) to implement your Office solution: 根据您的要求,您可以选择以下选项之一(Office仍完全支持所有这些选项)来实施Office解决方案:

  • VSTO, VSTO,
  • COM add-ins, COM加载项,
  • VBA templates VBA模板
  • Open XML 打开XML

With the latter option you can even be completely independent from Office which makes it perfect for scenarios such as stand-alone document creation or (server-side) document manipulation. 使用后一个选项,您甚至可以完全独立于Office,这使其非常适合诸如独立文档创建或(服务器端)文档操作之类的方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM