diff options
Diffstat (limited to 'sysui/desktop/macosx')
-rw-r--r-- | sysui/desktop/macosx/.gitignore | 9 | ||||
-rw-r--r-- | sysui/desktop/macosx/Info.plist.in | 1889 | ||||
-rw-r--r-- | sysui/desktop/macosx/gen_strings.pl | 106 |
3 files changed, 2004 insertions, 0 deletions
diff --git a/sysui/desktop/macosx/.gitignore b/sysui/desktop/macosx/.gitignore new file mode 100644 index 000000000..f690390fc --- /dev/null +++ b/sysui/desktop/macosx/.gitignore @@ -0,0 +1,9 @@ +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +/Info.plist diff --git a/sysui/desktop/macosx/Info.plist.in b/sysui/desktop/macosx/Info.plist.in new file mode 100644 index 000000000..a1bf34a8a --- /dev/null +++ b/sysui/desktop/macosx/Info.plist.in @@ -0,0 +1,1889 @@ +<?xml version="1.0" encoding="UTF-8"?> <!-- -*- Mode: nXML; tab-width: 4; indent-tabs-mode: nil; nxml-child-indent:4 -*- --> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . +--> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>UTExportedTypeDeclarations</key> + <array> + <!-- Writer documents --> + <dict> + <key>UTTypeIdentifier</key> + <string>org.openoffice.text</string> + <key>UTTypeDescription</key> + <string>OpenOffice.org 1.0 Text</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>sxw</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.sun.xml.writer</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>text.icns</string> + </dict> + <dict> + <key>UTTypeIdentifier</key> + <string>org.oasis-open.opendocument.text</string> + <key>UTTypeDescription</key> + <string>OpenDocument Text</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>odt</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.text</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-text.icns</string> + </dict> + <dict> + <key>UTTypeIdentifier</key> + <string>vnd.oasis.opendocument.text-flat-xml</string> + <key>UTTypeDescription</key> + <string>OpenDocument Text (Flat XML)</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>fodt</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.text-flat-xml</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-text.icns</string> + </dict> + + <!-- Calc documents --> + <dict> + <key>UTTypeIdentifier</key> + <string>org.openoffice.spreadsheet</string> + <key>UTTypeDescription</key> + <string>OpenOffice.org 1.0 Spreadsheet</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>sxc</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.sun.xml.calc</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>spreadsheet.icns</string> + </dict> + <dict> + <key>UTTypeIdentifier</key> + <string>org.oasis-open.opendocument.spreadsheet</string> + <key>UTTypeDescription</key> + <string>OpenDocument Spreadsheet</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>ods</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.spreadsheet</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-spreadsheet.icns</string> + </dict> + <dict> + <key>UTTypeIdentifier</key> + <string>vnd.oasis.opendocument.spreadsheet-flat-xml</string> + <key>UTTypeDescription</key> + <string>OpenDocument Spreadsheet (Flat XML)</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>fods</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.spreadsheet-flat-xml</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-spreadsheet.icns</string> + </dict> + + <!-- Impress documents --> + <dict> + <key>UTTypeIdentifier</key> + <string>org.openoffice.presentation</string> + <key>UTTypeDescription</key> + <string>OpenOffice.org 1.0 Presentation</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>sxi</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.sun.xml.impress</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>presentation.icns</string> + </dict> + <dict> + <key>UTTypeIdentifier</key> + <string>org.oasis-open.opendocument.presentation</string> + <key>UTTypeDescription</key> + <string>OpenDocument Presentation</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>odp</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.presentation</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-presentation.icns</string> + </dict> + <dict> + <key>UTTypeIdentifier</key> + <string>vnd.oasis.opendocument.presentation-flat-xml</string> + <key>UTTypeDescription</key> + <string>OpenDocument Presentation</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>fodp</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.presentation-flat-xml</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-presentation.icns</string> + </dict> + + <!-- Draw documents --> + <dict> + <key>UTTypeIdentifier</key> + <string>org.openoffice.graphics</string> + <key>UTTypeDescription</key> + <string>OpenOffice.org 1.0 Drawing</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>sxd</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.sun.xml.draw</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>drawing.icns</string> + </dict> + <dict> + <key>UTTypeIdentifier</key> + <string>org.oasis-open.opendocument.graphics</string> + <key>UTTypeDescription</key> + <string>OpenDocument Drawing</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>odg</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.graphics</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-drawing.icns</string> + </dict> + <dict> + <key>UTTypeIdentifier</key> + <string>vnd.oasis.opendocument.graphics-flat-xml</string> + <key>UTTypeDescription</key> + <string>OpenDocument Drawing (Flat XML)</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>fodg</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.graphics-flat-xml</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-drawing.icns</string> + </dict> + + <!-- Chart documents --> + <dict> + <key>UTTypeIdentifier</key> + <string>org.oasis-open.opendocument.chart</string> + <key>UTTypeDescription</key> + <string>OpenDocument Chart</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>odc</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.chart</string> + </array> + </dict> + </dict> + + <!-- Text master documents --> + <dict> + <key>UTTypeIdentifier</key> + <string>org.openoffice.text-master</string> + <key>UTTypeDescription</key> + <string>OpenOffice.org 1.0 Master</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>sxg</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.sun.xml.writer.global</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>master-document.icns</string> + </dict> + <dict> + <key>UTTypeIdentifier</key> + <string>org.oasis-open.opendocument.text-master</string> + <key>UTTypeDescription</key> + <string>OpenDocument Master</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>odm</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.text-master</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-master-document.icns</string> + </dict> + + <!-- Math documents --> + <dict> + <key>UTTypeIdentifier</key> + <string>org.openoffice.formula</string> + <key>UTTypeDescription</key> + <string>OpenOffice.org 1.0 Formula</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>sxm</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.sun.xml.math</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>formula.icns</string> + </dict> + <dict> + <key>UTTypeIdentifier</key> + <string>org.oasis-open.opendocument.formula</string> + <key>UTTypeDescription</key> + <string>OpenDocument Formula</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>odf</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.formula</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-formula.icns</string> + </dict> + + <!-- Text template documents --> + <dict> + <key>UTTypeIdentifier</key> + <string>org.openoffice.text-template</string> + <key>UTTypeDescription</key> + <string>OpenOffice.org 1.0 Text Template</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>stw</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.sun.xml.writer.template</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>text-template.icns</string> + </dict> + <dict> + <key>UTTypeIdentifier</key> + <string>org.oasis-open.opendocument.text-template</string> + <key>UTTypeDescription</key> + <string>OpenDocument Text Template</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>ott</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.text-template</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-text-template.icns</string> + </dict> + + <!-- Writer master document templates --> + <dict> + <key>UTTypeIdentifier</key> + <string>org.oasis-open.opendocument.text-master-template</string> + <key>UTTypeDescription</key> + <string>OpenDocument Text Master Template</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>otm</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.text-master-template</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-master-document-template.icns</string> + </dict> + + <!-- Spreadsheet template documents --> + <dict> + <key>UTTypeIdentifier</key> + <string>org.openoffice.spreadsheet-template</string> + <key>UTTypeDescription</key> + <string>OpenOffice.org 1.0 Spreadsheet Template</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>stc</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.sun.xml.calc.template</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>spreadsheet-template.icns</string> + </dict> + <dict> + <key>UTTypeIdentifier</key> + <string>org.oasis-open.opendocument.spreadsheet-template</string> + <key>UTTypeDescription</key> + <string>OpenDocument Spreadsheet Template</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>ots</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.spreadsheet-template</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-spreadsheet-template.icns</string> + </dict> + + <!-- Presentation template documents --> + <dict> + <key>UTTypeIdentifier</key> + <string>org.openoffice.presentation-template</string> + <key>UTTypeDescription</key> + <string>OpenOffice.org 1.0 Presentation Template</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>sti</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.sun.xml.impress.template</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>presentation-template.icns</string> + </dict> + <dict> + <key>UTTypeIdentifier</key> + <string>org.oasis-open.opendocument.presentation-template</string> + <key>UTTypeDescription</key> + <string>OpenDocument Presentation Template</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>otp</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.presentation-template</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-presentation-template.icns</string> + </dict> + + <!-- Drawing template documents --> + <dict> + <key>UTTypeIdentifier</key> + <string>org.openoffice.graphics-template</string> + <key>UTTypeDescription</key> + <string>OpenOffice.org 1.0 Drawing Template</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>std</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.sun.xml.draw.template</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>drawing-template.icns</string> + </dict> + <dict> + <key>UTTypeIdentifier</key> + <string>org.oasis-open.opendocument.graphics-template</string> + <key>UTTypeDescription</key> + <string>OpenDocument Drawing Template</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>otg</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.graphics-template</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-drawing-template.icns</string> + </dict> + + <!-- Base documents --> + <dict> + <key>UTTypeIdentifier</key> + <string>org.oasis-open.opendocument.database</string> + <key>UTTypeDescription</key> + <string>OpenDocument Database</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>odb</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.oasis.opendocument.database</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>oasis-database.icns</string> + </dict> + + <!-- Extensions --> + <dict> + <key>UTTypeIdentifier</key> + <string>org.openoffice.extension</string> + <key>UTTypeDescription</key> + <string>@PRODUCTNAME@ Extension</string> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>oxt</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.openofficeorg.extension</string> + </array> + </dict> + <key>UTTypeIconFile</key> + <string>extension.icns</string> + </dict> + </array> + + <key>UTImportedTypeDeclarations</key> + <array> + <!-- Microsoft Word Template --> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.composite-content</string> + </array> + <key>UTTypeDescription</key> + <string>Microsoft Word Template</string> + <key>UTTypeIdentifier</key> + <string>com.microsoft.word.dot</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>dot</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/msword</string> + </array> + </dict> + </dict> + <!-- OOXML wordprocessing --> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>org.openxmlformats.openxml</string> + <string>public.composite-content</string> + </array> + <key>UTTypeDescription</key> + <string>Office Open XML word processing document</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> + <string>public.executable</string> + </array> + <key>UTTypeDescription</key> + <string>Office Open XML word processing document (macros enabled)</string> + <key>UTTypeIdentifier</key> + <string>org.openxmlformats.wordprocessingml.document.macroEnabled</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>docm</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.ms-word.document.macroEnabled.12</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 word processing template</string> + <key>UTTypeIdentifier</key> + <string>org.openxmlformats.wordprocessingml.template</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>dotx</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.openxmlformats-officedocument.wordprocessingml.template</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>org.openxmlformats.openxml</string> + <string>public.composite-content</string> + <string>public.executable</string> + </array> + <key>UTTypeDescription</key> + <string>Office Open XML word processing template (macros enabled)</string> + <key>UTTypeIdentifier</key> + <string>org.openxmlformats.wordprocessingml.template.macroEnabled</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>dotm</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.ms-word.template.macroEnabled.12</string> + </array> + </dict> + </dict> + + <!-- OOXML spreadsheet --> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>org.openxmlformats.openxml</string> + <string>public.composite-content</string> + </array> + <key>UTTypeDescription</key> + <string>Office Open XML spreadsheet template</string> + <key>UTTypeIdentifier</key> + <string>org.openxmlformats.spreadsheetml.template</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>xltx</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.openxmlformats-officedocument.spreadsheetml.template</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>org.openxmlformats.openxml</string> + <string>public.composite-content</string> + <string>public.executable</string> + </array> + <key>UTTypeDescription</key> + <string>Office Open XML spreadsheet template (macros enabled)</string> + <key>UTTypeIdentifier</key> + <string>org.openxmlformats.spreadsheetml.template.macroEnabled</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>xltm</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.ms-excel.template.macroEnabled.12</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> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>xlsx</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.zip-archive</string> + <string>public.composite-content</string> + <string>public.executable</string> + </array> + <key>UTTypeDescription</key> + <string>Microsoft Excel 2007 spreadsheet (macros enabled)</string> + <key>UTTypeIdentifier</key> + <string>com.microsoft.excel.sheet.binary.macroEnabled</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>xlsb</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.ms-excel.sheet.binary.macroEnabled.12</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>org.openxmlformats.openxml</string> + <string>public.composite-content</string> + <string>public.executable</string> + </array> + <key>UTTypeDescription</key> + <string>Office Open XML spreadsheet (macros enabled)</string> + <key>UTTypeIdentifier</key> + <string>org.openxmlformats.spreadsheetml.sheet.macroEnabled</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>xlsm</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.ms-excel.sheet.macroEnabled.12</string> + </array> + </dict> + </dict> + + <!-- OOXML presentation --> + <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> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>org.openxmlformats.openxml</string> + <string>public.presentation</string> + <string>public.executable</string> + </array> + <key>UTTypeDescription</key> + <string>Office Open XML presentation (macros enabled)</string> + <key>UTTypeIdentifier</key> + <string>org.openxmlformats.presentationml.presentation.macroEnabled</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>pptm</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.ms-powerpoint.presentation.macroEnabled.12</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>org.openxmlformats.openxml</string> + <string>public.presentation</string> + <string>public.executable</string> + </array> + <key>UTTypeDescription</key> + <string>Office Open XML presentation template</string> + <key>UTTypeIdentifier</key> + <string>org.openxmlformats.presentationml.template</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>potx</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.openxmlformats-officedocument.presentationml.template</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>org.openxmlformats.openxml</string> + <string>public.presentation</string> + <string>public.executable</string> + </array> + <key>UTTypeDescription</key> + <string>Office Open XML presentation template (macros enabled)</string> + <key>UTTypeIdentifier</key> + <string>org.openxmlformats.presentationml.template.macroEnabled</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>potm</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.ms-powerpoint.template.macroEnabled.12</string> + </array> + </dict> + </dict> + + <!-- Others --> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeDescription</key> + <string>WordPerfect Document</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.wpd-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>wpd</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.wordperfect</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeDescription</key> + <string>PalmDoc eBook </string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.pdb-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>pdb</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/x-aportisdoc</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeDescription</key> + <string>Hangul WP 97 Document</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.hwp-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>hwp</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/x-hwp</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeDescription</key> + <string>Microsoft Works for Mac Document (v1 - v4)</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.wks-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>wps</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.ms-works</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeDescription</key> + <string>Microsoft Write</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.wri-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>wri</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/x-mswrite</string> + </array> + </dict> + </dict> + + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeDescription</key> + <string>Data Interchange Format</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.dif-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>dif</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/x-dif-document</string> <!-- ??? --> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.text</string> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeDescription</key> + <string>SYLK Document</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.slk-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>slk</string> + </array> + <key>public.mime-type</key> + <array> + <string>text/spreadsheet</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.text</string> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeDescription</key> + <string>Comma-Separated Value Document</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.csv-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>csv</string> + </array> + <key>public.mime-type</key> + <array> + <string>text/csv</string> <!-- ??? --> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeDescription</key> + <string>dBASE Document</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.dbf-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>dbf</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/x-dbase</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeDescription</key> + <string>Lotus 1-2-3 Spreadsheet</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.123-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>wk1</string> + <string>wks</string> + <string>123</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.lotus-1-2-3</string> + <string>application/vnd.lotus-1-2-3</string> + <string>application/vnd.lotus-1-2-3</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + <string>public.image</string> + </array> + <key>UTTypeDescription</key> + <string>Computer Graphics Metafile</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.cgm-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>cgm</string> + </array> + <key>public.mime-type</key> + <array> + <string>image/cgm</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + <string>public.image</string> + </array> + <key>UTTypeDescription</key> + <string>AutoCAD Interchange Format</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.dxf-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>dxf</string> + </array> + <key>public.mime-type</key> + <array> + <string>image/vnd.dxf</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + <string>public.image</string> + </array> + <key>UTTypeDescription</key> + <string>Windows Enhanced Metafile</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.emf-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>emf</string> + </array> + <key>public.mime-type</key> + <array> + <string>image/x-emf</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + <string>public.image</string> + </array> + <key>UTTypeDescription</key> + <string>Windows Metafile</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.wmf-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>wmf</string> + </array> + <key>public.mime-type</key> + <array> + <string>image/x-wmf</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + <string>public.image</string> + </array> + <key>UTTypeDescription</key> + <string>CorelDRAW Image</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.cdr-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>cdr</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/cdr</string> + <string>application/coreldraw</string> + <string>application/vnd.corel-draw</string> + <string>application/x-cdr</string> + <string>application/x-coreldraw</string> + <string>image/cdr</string> + <string>image/x-cdr</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeDescription</key> + <string>Microsoft Visio Document</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.visio-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>vsd</string> + <string>vss</string> + <string>vst</string> + <string>vdx</string> + <string>vsx</string> + <string>vtx</string> + <string>vsdx</string> + <string>vsdm</string> + <string>vssx</string> + <string>vssm</string> + <string>vstx</string> + <string>vstm</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/vnd.visio2013</string> + <string>application/vnd.visio</string> + </array> + </dict> + </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeDescription</key> + <string>Microsoft Publisher Document</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.mspub-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>pub</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/x-mspublisher</string> + </array> + </dict> + </dict> + </array> + + <key>CFBundleURLTypes</key> + <array> + <dict> + <key>CFBundleURLName</key> + <string>@PRODUCTNAME@ CMIS</string> + <key>CFBundleURLSchemes</key> + <array> + <string>vnd.libreoffice.cmis</string> + </array> + </dict> + <dict> + <key>CFBundleURLName</key> + <string>@PRODUCTNAME@ WebDav</string> + <key>CFBundleURLSchemes</key> + <array> + <string>vnd.sun.star.webdav</string> + <string>vnd.sun.star.webdavs</string> + </array> + </dict> + </array> + + <key>CFBundleDocumentTypes</key> + <array> + <dict> + <key>CFBundleTypeName</key> + <string>OpenOffice.org 1.0 Text</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.openoffice.text</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenDocument Text</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.oasis-open.opendocument.text</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenOffice.org 1.0 Spreadsheet</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.openoffice.spreadsheet</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenDocument Spreadsheet</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.oasis-open.opendocument.spreadsheet</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenOffice.org 1.0 Presentation</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.openoffice.presentation</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenDocument Presentation</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.oasis-open.opendocument.presentation</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenOffice.org 1.0 Drawing</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.openoffice.graphics</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenDocument Drawing</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.oasis-open.opendocument.graphics</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenDocument Chart</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.oasis-open.opendocument.chart</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenOffice.org 1.0 Master</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.openoffice.text-master</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenDocument Master</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.oasis-open.opendocument.text-master</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenOffice.org 1.0 Formula</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.openoffice.formula</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenDocument Formula</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.oasis-open.opendocument.formula</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenOffice.org 1.0 Text Template</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.openoffice.text-template</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenDocument Text Template</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.oasis-open.opendocument.text-template</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenDocument Master Template</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.oasis-open.opendocument.text-master-template</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenOffice.org 1.0 Spreadsheet Template</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.openoffice.spreadsheet-template</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenDocument Spreadsheet Template</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.oasis-open.opendocument.spreadsheet-template</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenOffice.org 1.0 Presentation Template</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.openoffice.presentation-template</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenDocument Presentation Template</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.oasis-open.opendocument.presentation-template</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenOffice.org 1.0 Drawing Template</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.openoffice.graphics-template</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenDocument Drawing Template</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.oasis-open.opendocument.graphics-template</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>OpenDocument Database</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.oasis-open.opendocument.database</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>@PRODUCTNAME@ Extension</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>org.openoffice.extension</string> + </array> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>Flat ODF</string> + <key>LSItemContentTypes</key> + <array> + <string>vnd.oasis.opendocument.text-flat-xml</string> + <string>vnd.oasis.opendocument.spreadsheet-flat-xml</string> + <string>vnd.oasis.opendocument.presentation-flat-xml</string> + <string>vnd.oasis.opendocument.graphics-flat-xml</string> + </array> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + </dict> + <dict> + <key>CFBundleTypeName</key> + <string>3rd party formats</string> + <key>LSItemContentTypes</key> + <array> + <string>public.plain-text</string> + <string>public.rtf</string> + <string>public.html</string> + <string>public.jpeg</string> + <string>public.tiff</string> + <string>public.png</string> + <string>public.xbitmap-image</string> + <string>com.adobe.encapsulated-postscript</string> + <string>com.microsoft.bmp</string> + <string>com.microsoft.word.doc</string> + <string>com.microsoft.word.dot</string> + <string>com.microsoft.excel.xls</string> + <string>com.microsoft.powerpoint.ppt</string> + <string>org.openxmlformats.wordprocessingml.document</string> + <string>org.openxmlformats.wordprocessingml.document.macroEnabled</string> + <string>org.openxmlformats.wordprocessingml.template</string> + <string>org.openxmlformats.wordprocessingml.template.macroEnabled</string> + <string>org.openxmlformats.spreadsheetml.sheet</string> + <string>org.openxmlformats.spreadsheetml.sheet.macroEnabled</string> + <string>com.microsoft.excel.sheet.binary.macroEnabled</string> + <string>org.openxmlformats.spreadsheetml.template</string> + <string>org.openxmlformats.spreadsheetml.template.macroEnabled</string> + <string>org.openxmlformats.presentationml.presentation</string> + <string>org.openxmlformats.presentationml.presentation.macroEnabled</string> + <string>org.openxmlformats.presentationml.template</string> + <string>org.openxmlformats.presentationml.template.macroEnabled</string> + <string>org.libreoffice.pdb-document</string> + <string>org.libreoffice.wpd-document</string> + <string>org.libreoffice.hwp-document</string> + <string>org.libreoffice.wks-document</string> + <string>org.libreoffice.wri-document</string> + <string>org.libreoffice.dif-document</string> + <string>org.libreoffice.slk-document</string> + <string>org.libreoffice.csv-document</string> + <string>org.libreoffice.dbf-document</string> + <string>org.libreoffice.123-document</string> + <string>org.libreoffice.cgm-document</string> + <string>org.libreoffice.dxf-document</string> + <string>org.libreoffice.emf-document</string> + <string>org.libreoffice.wmf-document</string> + <string>org.libreoffice.cdr-document</string> + <string>org.libreoffice.visio-document</string> + <string>org.libreoffice.mspub-document</string> + </array> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Alternate</string> + </dict> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>cwk</string> + <string>*</string> + </array> + <key>CFBundleTypeName</key> + <string>AppleWorks Document</string> + <key>CFBundleTypeOSTypes</key> + <array> + <string>CWWP</string> + <string>CWSS</string> + <string>CWDB</string> + <string>CWGR</string> + <string>CWPT</string> + <string>CWPR</string> + </array> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Alternate</string> + </dict> + </array> + <key>CFBundleExecutable</key> + <string>soffice</string> + <key>CFBundleIconFile</key> + <string>main.icns</string> + <key>CFBundleShortVersionString</key> + <string>@LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@.@LIBO_VERSION_MICRO@.@LIBO_VERSION_PATCH@</string> + <key>CFBundleVersion</key> + <string>@LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@.@LIBO_VERSION_MICRO@.@LIBO_VERSION_PATCH@@LIBO_VERSION_SUFFIX@</string> + <key>CFBundleIdentifier</key> + <string>@MACOSX_BUNDLE_IDENTIFIER@</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>@PRODUCTNAME@</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleSignature</key> + <string>LibO</string> + <key>LSRequiresCarbon</key> + <string>1</string> + <key>NSPrincipalClass</key> + <string>VCL_NSApplication</string> + <key>LSApplicationCategoryType</key> + <string>public.app-category.productivity</string> + <key>LSMinimumSystemVersion</key> + <string>@MACOSX_DEPLOYMENT_TARGET@.0</string> + <key>NSHighResolutionCapable</key> + <true/> +</dict> +</plist> +<!-- vim:set shiftwidth=4 softtabstop=4 expandtab: --> diff --git a/sysui/desktop/macosx/gen_strings.pl b/sysui/desktop/macosx/gen_strings.pl new file mode 100644 index 000000000..9c6ffee7d --- /dev/null +++ b/sysui/desktop/macosx/gen_strings.pl @@ -0,0 +1,106 @@ +: +eval 'exec perl -wS $0 ${1+"$@"}' + if 0; + +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This file incorporates work covered by the following license notice: +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.apache.org/licenses/LICENSE-2.0 . +# + +use warnings; +use strict 'vars'; + +my $my_lang = 'en-US'; +my $plist = 'Info.plist'; +my $lines = 0; + +while ($_ = $ARGV[0], /^-/) { + shift; + last if /^--$/; + if (/^-l/) { + $my_lang = $ARGV[0]; + shift; + } elsif (/^-p/) { + $plist = $ARGV[0]; + shift; + } +} + +# open input file (Info.plist) +unless (open(SOURCE, $plist)) { + print STDERR "Can't open $plist file: $!\n"; + return; +} + +# XML::Parser not installed by default on MacOS X +my (%documents,$key,$icon,$name); + +$name = ""; + +while (<SOURCE>) { + if ( /<\/dict>/ ) { + $documents{$icon} = $name if length $name > 0; + $key = $icon = $name = ""; + } elsif ( /<key>(.*)<\/key>/ ) { + $key = $1; + } elsif ( /<string>(.*)<\/string>/ ) { + if ( $key eq 'CFBundleTypeIconFile' ) { + $icon = $1; + $icon =~ s/\.icns$//; + } elsif ( $key eq 'CFBundleTypeName' ) { + $name = $1; + } + } +} + +close (SOURCE); + +print_lang($my_lang); +print_lang('en-US') unless $lines > 0; + +sub print_lang +{ + my ($this_lang) = @_; + + # open input file (documents.ulf) + unless (open(SOURCE, $ARGV[0])) { + print STDERR "Can't open $ARGV[0] file: $!\n"; + return; + } + + my $last_section; + + while (<SOURCE>) { + + if ( /\[(.*)\]/ ) { + $last_section = $1; + } else { + # split locale = "value" into 2 strings + my ($lang, $value) = split ' = '; + + if ( $lang ne $_ && $lang eq $this_lang && exists $documents{$last_section} ) { + # replacing product variable doesn't work inside zip files and also not for UTF-16 + next if /%PRODUCTNAME/; + s/$lang/"$documents{$last_section}"/; + s/\n/;\n/; + print; + $lines += 1; + } + } + } + + close (SOURCE); +} |