【问题标题】:Xamarin iOS: What are the document types for OpenOffice and Microsoft OfficeXamarin iOS:OpenOffice 和 Microsoft Office 的文档类型是什么
【发布时间】:2017-06-11 07:30:08
【问题描述】:

我有一份 microsoft office mime 类型和 office 文档的列表。需要找到所有这些的 UTI 类型,以便我可以打开仅显示这些文档的文档选择器。

这是我找到的 microsoft office 的列表,我将它们用于 android、intent 过滤器。

"application/msword",
        "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
        "application/vnd.openxmlformats-officedocument.wordprocessingml.template",
        "application/vnd.ms-word.document.macroEnabled.12",
        "application/vnd.ms-word.template.macroEnabled.12",
        "application/vnd.ms-excel", 
        "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
        "application/vnd.openxmlformats-officedocument.spreadsheetml.template",
        "application/vnd.ms-excel.sheet.macroEnabled.12",
        "application/vnd.ms-excel.template.macroEnabled.12",
        "application/vnd.ms-excel.addin.macroEnabled.12",
        "application/vnd.ms-excel.sheet.binary.macroEnabled.12",
        "application/vnd.ms-powerpoint", 
        "application/vnd.openxmlformats-officedocument.presentationml.template",
        "application/vnd.openxmlformats-officedocument.presentationml.presentation",
        "application/vnd.openxmlformats-officedocument.presentationml.slideshow",
        "application/vnd.ms-powerpoint.addin.macroEnabled.12",
        "application/vnd.ms-powerpoint.presentation.macroEnabled.12",
        "application/vnd.ms-powerpoint.template.macroEnabled.12",
        "application/vnd.ms-powerpoint.slideshow.macroEnabled.12",
        //Open Office OpenOffice.org2.0, StarOffice 8 and later
        "application/vnd.oasis.opendocument.text",
        "application/vnd.oasis.opendocument.text-template",
        "application/vnd.oasis.opendocument.text-web",
        "application/vnd.oasis.opendocument.text-master",
        "application/vnd.oasis.opendocument.graphics",
        "application/vnd.oasis.opendocument.graphics-template",
        "application/vnd.oasis.opendocument.presentation",
        "application/vnd.oasis.opendocument.presentation-template",
        "application/vnd.oasis.opendocument.spreadsheet",
        "application/vnd.oasis.opendocument.spreadsheet-template",
        "application/vnd.oasis.opendocument.chart" ,
        "application/vnd.oasis.opendocument.formula",
        "application/vnd.oasis.opendocument.database",
        "application/vnd.oasis.opendocument.image",
        "application/vnd.openofficeorg.extension",

【问题讨论】:

    标签: ios xamarin uti document-types


    【解决方案1】:

    您可以在此处的 Apple 文档中找到最常见的系统 UTI https://developer.apple.com/library/content/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html

    它不包含您正在寻找的所有 UTI,但我相信您可以将 MS Office UTI 与 Open office 互换

    【讨论】:

      猜你喜欢
      • 2010-10-02
      • 1970-01-01
      • 2010-09-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-04
      相关资源
      最近更新 更多