Word Online now supports Word JavaScript API requirement sets 1.1 and 1.2!

We are happy to announce that Word Online, in addition to the Windows, iOS, and MAC platforms, now supports the 1.1 and 1.2 requirement sets of the Word JavaScript API, as well as the shared Office.js API that shipped in Office 2013. If you have Word add-Ins that are currently using these requirement sets, we invite you to test them in Word Online and delight your customers with this newly supported platform!

The following is a summary of the functional areas enabled with the 1.1 and 1.2 requirement sets.

  • CRUD and Navigation to Word core elements:

o   Paragraphs,

o   Content Controls,

o   Inline Picture,

o   Header and Footer

o   Sections

  • Search
  • Basic Range Operations

o   Insert locations (before, after, start, end)

o   Rich Text Formatting

o   Using styles

o   Document insertion

o   Office Open XML R/W

o   HTML R/W

o   Scrolling

         

  

For more details about these APIs, see Word JavaScript API reference. See also our Word add-in code samples.

As part of this release, we are also announcing full parity with the shared API in Word Online, so you get access to bindings, custom XML parts, events, and settings.

If you’re using runtime requirement checks to see if a specific requirement is supported, note that the following requirement sets now return true in Word Online:

   

Updated APIs

The following table lists the APIs now supported in Word Online.

Binding APIs

(JavaScript API for Office)

CustomXML APIs

(JavaScript API for Office)

Word JavaScript

APIs 1.1 and 1.2

·     Binding

·     Bindings

·     MatrixBinding

·     TableBinding

·     TextBinding

    

·     CustomXMLNode

·     CustomXMLPart

·     CustomXMLParts

·     CustomXMLPrefixMappings

 

·      Body

·      BreakType

·      ContentControl

·      ContentControlCollection

·      Document

·      Error

·      Font

·      InlinePicture

·      InlinePictureCollection

·      LoadOption

·      Paragraph

·      ParagraphCollection

·      Range

·      RequestContext

·      SearchOptions

·      SearchResultCollection

·      Section

·      SectionCollection

Questions or feedback? You can contact us via the Issues tab in the OfficeDev/office-js-docs repo.

If you want to know what’s coming next please make sure to go to our open spec repository and give us feedback on the APIs we are planning to ship next!

Comments powered by Disqus