[Libreoffice-commits] online.git: 3 commits - Mobile/Mobile
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Nov 2 15:08:45 UTC 2018
Mobile/Mobile/Info.plist.in | 86 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 86 insertions(+)
New commits:
commit 1b9eee01e0d61e514ce15eac41a62c4a4625c18c
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Nov 2 17:00:32 2018 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Nov 2 17:06:35 2018 +0200
Add .xls
It seems to work to add this only as an element under
CFBundleDocumentTypes, without adding anything under
UTExportedTypeDeclarations or UTImportedTypeDeclarations. Or is that
just because my iPad happens to have some other app installed that
already as associated the .xls extension with the UTI (as under
LSItemContentType) of "com.microsoft.excel.xls"? Or is that a
system-declared one? Sigh, I wish I understood this stuff
completely... or that I could find some up-to-date good documentation.
Hmm,
https://developer.apple.com/library/archive/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html
does say that com.microsoft.excel.xls indeed is a system-declared one.
Change-Id: Ibf807b12a2d44077fd983cbb37d00e83b47b45b9
diff --git a/Mobile/Mobile/Info.plist.in b/Mobile/Mobile/Info.plist.in
index 8787efec2..83b375963 100644
--- a/Mobile/Mobile/Info.plist.in
+++ b/Mobile/Mobile/Info.plist.in
@@ -99,6 +99,20 @@
</array>
</dict>
<dict>
+ <key>CFBundleTypeIconFiles</key>
+ <array/>
+ <key>CFBundleTypeName</key>
+ <string>Microsoft Excel Spreadsheet</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSHandlerRank</key>
+ <string>Alternate</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>com.microsoft.excel.xls</string>
+ </array>
+ </dict>
+ <dict>
<key>CFBundleTypeName</key>
<string>OpenDocument Presentation</string>
<key>LSHandlerRank</key>
commit c261804532158944f2bab2ee839d3251ab15dac4
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Nov 2 16:53:57 2018 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Nov 2 16:53:57 2018 +0200
Add .pptx
Change-Id: I53f3f0f571b51d093bce59333ab33cec02f2769b
diff --git a/Mobile/Mobile/Info.plist.in b/Mobile/Mobile/Info.plist.in
index 3dbfba6d9..8787efec2 100644
--- a/Mobile/Mobile/Info.plist.in
+++ b/Mobile/Mobile/Info.plist.in
@@ -108,6 +108,20 @@
<string>org.oasis-open.opendocument.presentation</string>
</array>
</dict>
+ <dict>
+ <key>CFBundleTypeIconFiles</key>
+ <array/>
+ <key>CFBundleTypeName</key>
+ <string>Office Open XML presentation</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSHandlerRank</key>
+ <string>Alternate</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>org.openxmlformats.presentationml.presentation</string>
+ </array>
+ </dict>
</array>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
@@ -263,6 +277,28 @@
</array>
</dict>
</dict>
+ <dict>
+ <key>UTTypeConformsTo</key>
+ <array>
+ <string>org.openxmlformats.openxml</string>
+ <string>public.presentation</string>
+ </array>
+ <key>UTTypeDescription</key>
+ <string>Office Open XML presentation</string>
+ <key>UTTypeIdentifier</key>
+ <string>org.openxmlformats.presentationml.presentation</string>
+ <key>UTTypeTagSpecification</key>
+ <dict>
+ <key>public.filename-extension</key>
+ <array>
+ <string>pptx</string>
+ </array>
+ <key>public.mime-type</key>
+ <array>
+ <string>application/vnd.openxmlformats-officedocument.presentationml.presentation</string>
+ </array>
+ </dict>
+ </dict>
</array>
<key>NSCameraUsageDescription</key>
<string>$(PRODUCT_NAME) camera use</string>
commit a028598509a49ac54e9f01fab463f5f206353e13
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Nov 2 16:48:14 2018 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Nov 2 16:48:14 2018 +0200
Add .docx
Change-Id: I229ec9c2d5353f1654075854a98de9549c156c1b
diff --git a/Mobile/Mobile/Info.plist.in b/Mobile/Mobile/Info.plist.in
index a5494978b..3dbfba6d9 100644
--- a/Mobile/Mobile/Info.plist.in
+++ b/Mobile/Mobile/Info.plist.in
@@ -46,6 +46,20 @@
<key>CFBundleTypeIconFiles</key>
<array/>
<key>CFBundleTypeName</key>
+ <string>Office Open XML text</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSHandlerRank</key>
+ <string>Alternate</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>org.openxmlformats.wordprocessingml.document</string>
+ </array>
+ </dict>
+ <dict>
+ <key>CFBundleTypeIconFiles</key>
+ <array/>
+ <key>CFBundleTypeName</key>
<string>Microsoft Word Document</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
@@ -212,6 +226,28 @@
<string>public.composite-content</string>
</array>
<key>UTTypeDescription</key>
+ <string>Office Open XML text</string>
+ <key>UTTypeIdentifier</key>
+ <string>org.openxmlformats.wordprocessingml.document</string>
+ <key>UTTypeTagSpecification</key>
+ <dict>
+ <key>public.filename-extension</key>
+ <array>
+ <string>docx</string>
+ </array>
+ <key>public.mime-type</key>
+ <array>
+ <string>application/vnd.openxmlformats-officedocument.wordprocessingml.document</string>
+ </array>
+ </dict>
+ </dict>
+ <dict>
+ <key>UTTypeConformsTo</key>
+ <array>
+ <string>org.openxmlformats.openxml</string>
+ <string>public.composite-content</string>
+ </array>
+ <key>UTTypeDescription</key>
<string>Office Open XML spreadsheet</string>
<key>UTTypeIdentifier</key>
<string>org.openxmlformats.spreadsheetml.sheet</string>
More information about the Libreoffice-commits
mailing list