Requirement sets are named groups of API members. Office Add-ins use requirement sets specified in the manifest or use a runtime check to determine whether an Office application supports APIs that an add-in needs. For more information, see Office versions and requirement sets.
Tip
Looking for the application-specific API requirement sets? See the following API requirement sets.
The following sections list the Common API requirement sets, the methods in each set, and the Office client applications that support that requirement set. All of these API requirement sets are version 1.1, unless otherwise specified.
Supports coercion to HTML (Office.CoercionType.Html) when reading and writing data using the Document.getSelectedDataAsync, Document.setSelectedDataAsync, Binding.getDataAsync, or Binding.setDataAsync methods.
Supports coercion to the "matrix" (array of arrays) data structure (Office.CoercionType.Matrix) when reading and writing data using the Document.getSelectedDataAsync, Document.setSelectedDataAsync, Binding.getDataAsync, or Binding.setDataAsync methods.
Supports coercion to Open Office XML (OOXML) format (Office.CoercionType.Ooxml) when reading and writing data using the Document.getSelectedDataAsync, Document.setSelectedDataAsync, Binding.getDataAsync, or Binding.setDataAsync methods.
Supports coercion to the "table" data structure (Office.CoercionType.Table) when reading and writing data using the Document.getSelectedDataAsync, Document.setSelectedDataAsync, Binding.getDataAsync, or Binding.setDataAsync methods.
TextBindings
Minimum Office application support
Methods in set
Excel on the web
Excel on Windows
Microsoft 365 subscription
perpetual Office 2016
Excel on Mac
Excel on iPad
Word on the web
Word on Windows
Microsoft 365 subscription
perpetual Office 2016
Word on Mac
Word on iPad
Bindings.addFromNamedItemAsync
Bindings.addFromSelectionAsync
Bindings.getAllAsync
Bindings.getByIdAsync
Bindings.releaseByIdAsync
Binding.getDataAsync
Binding.setDataAsync
TextCoercion
Minimum Office application support
Methods in set
Excel on the web
Excel on Windows
Microsoft 365 subscription
perpetual Office 2016
Excel on iPad
OneNote on the web
PowerPoint on the web
PowerPoint on Windows
Microsoft 365 subscription
perpetual Office 2016
PowerPoint on Mac
PowerPoint on iPad
Project on Windows
volume-licensed perpetual Office 2016
Word on the web
Word on Windows
Microsoft 365 subscription
perpetual Office 2016
Word on Mac
Word on iPad
Supports coercion to text format (Office.CoercionType.Text) when reading and writing data using the Document.getSelectedDataAsync, Document.setSelectedDataAsync, Binding.getDataAsync, or Binding.setDataAsync methods.
TextFile
Minimum Office application support
Methods in set
Word on the web
Word on Windows
Microsoft 365 subscription
perpetual Office 2016
Word on Mac
Word on iPad
Supports output to text format (Office.FileType.Text) when using the Document.getFileAsync method.
Methods that aren't part of a requirement set
The following methods in the Office JavaScript API aren't part of a requirement set. If your add-in requires any of these methods, use the <Methods> and <Method> elements in the add-in's manifest to declare that they are required, or perform the runtime check using an if statement. For more information, see Specify Office applications and API requirements.