locked
Support for Requirement Sets in Office 365 RRS feed

  • Question

  • What is the roadmap for support of the following APIs in "Office Add-Ins" for Office 365 (and more specifically Word Online)?

    • CompressedFile
    • CustomXmlParts
    • OoxmlCoercion
    • Selection
    • TextFile

    It's great that Microsoft has made cross-platform add-in framework for Office, but our hands are tied without these key capabilities in Office 365.


    Wednesday, October 21, 2015 8:42 PM

Answers

  • ​The following table lists the part names of requirement sets, the methods in each set, and the Office host applications that will load an add-in that specifies that set.

    Requirement set information is also provided at the beginning of individual API reference method topics.

    Set name Methods in set Office host support
    CompressedFile Supports output to Office Open XML (OOXML) format as a byte array (Office.FileType.Compressed) when using the Document.getFileAsync method.

    PowerPoint

    Word

    CustomXmlParts

    CustomXmlNode.getNodesAsync

    CustomXmlNode.getNodeValueAsync

    CustomXmlNode.getXmlAsync

    CustomXmlNode.setNodeValueAsync

    CustomXmlNode.setXmlAsync

    CustomXmlPart.addHandlerAsync

    CustomXmlPart.deleteAsync

    CustomXmlPart.getNodesAsync

    CustomXmlPart.getXmlAsync

    CustomXmlPart.removeHandlerAsync

    CustomXmlParts.addAsync

    CustomXmlParts.getByIdAsync

    CustomXmlParts.getByNamespaceAsync

    CustomXmlPrefixMappings.addNamespaceAsync

    CustomXmlPrefixMappings.getNamespaceAsync

    CustomXmlPrefixMappings.getPrefixAsync

    Word
    OoxmlCoercion 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. Word
    Selection

    Document.getSelectedDataAsync

    Document.setSelectedDataAsync

    Excel

    Excel Online

    PowerPoint

    Project

    Word

    TextFile Supports output to text format (Office.FileType.Text) when using the Document.getFileAsync method. Word

    You could refer to JavaScript API for Office that the JavaScript API for Office includes objects, methods, properties, events, and enumerations that you can use in your Office Add-ins code.

    For example, you could find about CompressedFile through searching JavaScript API for Office with Document.getFileAsync method.

    For more information, click here to refer about Specify the Office hosts and APIs your add-in requires.

    Friday, October 23, 2015 9:00 AM