From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- sysui/desktop/macosx/.gitignore | 9 + sysui/desktop/macosx/Info.plist.in | 1970 +++++++++++++++++++++++++++++++++++ sysui/desktop/macosx/gen_strings.pl | 106 ++ 3 files changed, 2085 insertions(+) create mode 100644 sysui/desktop/macosx/.gitignore create mode 100644 sysui/desktop/macosx/Info.plist.in create mode 100644 sysui/desktop/macosx/gen_strings.pl (limited to 'sysui/desktop/macosx') 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..540168702 --- /dev/null +++ b/sysui/desktop/macosx/Info.plist.in @@ -0,0 +1,1970 @@ + + + + + + CFBundleDevelopmentRegion + English + UTExportedTypeDeclarations + + + + UTTypeIdentifier + org.openoffice.text + UTTypeDescription + OpenOffice.org 1.0 Text + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + sxw + + public.mime-type + + application/vnd.sun.xml.writer + + + UTTypeIconFile + text.icns + + + UTTypeIdentifier + org.oasis-open.opendocument.text + UTTypeDescription + OpenDocument Text + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + odt + + public.mime-type + + application/vnd.oasis.opendocument.text + + + UTTypeIconFile + oasis-text.icns + + + UTTypeIdentifier + vnd.oasis.opendocument.text-flat-xml + UTTypeDescription + OpenDocument Text (Flat XML) + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + fodt + + public.mime-type + + application/vnd.oasis.opendocument.text-flat-xml + + + UTTypeIconFile + oasis-text.icns + + + + + UTTypeIdentifier + org.openoffice.spreadsheet + UTTypeDescription + OpenOffice.org 1.0 Spreadsheet + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + sxc + + public.mime-type + + application/vnd.sun.xml.calc + + + UTTypeIconFile + spreadsheet.icns + + + UTTypeIdentifier + org.oasis-open.opendocument.spreadsheet + UTTypeDescription + OpenDocument Spreadsheet + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + ods + + public.mime-type + + application/vnd.oasis.opendocument.spreadsheet + + + UTTypeIconFile + oasis-spreadsheet.icns + + + UTTypeIdentifier + vnd.oasis.opendocument.spreadsheet-flat-xml + UTTypeDescription + OpenDocument Spreadsheet (Flat XML) + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + fods + + public.mime-type + + application/vnd.oasis.opendocument.spreadsheet-flat-xml + + + UTTypeIconFile + oasis-spreadsheet.icns + + + + + UTTypeIdentifier + org.openoffice.presentation + UTTypeDescription + OpenOffice.org 1.0 Presentation + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + sxi + + public.mime-type + + application/vnd.sun.xml.impress + + + UTTypeIconFile + presentation.icns + + + UTTypeIdentifier + org.oasis-open.opendocument.presentation + UTTypeDescription + OpenDocument Presentation + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + odp + + public.mime-type + + application/vnd.oasis.opendocument.presentation + + + UTTypeIconFile + oasis-presentation.icns + + + UTTypeIdentifier + vnd.oasis.opendocument.presentation-flat-xml + UTTypeDescription + OpenDocument Presentation + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + fodp + + public.mime-type + + application/vnd.oasis.opendocument.presentation-flat-xml + + + UTTypeIconFile + oasis-presentation.icns + + + + + UTTypeIdentifier + org.openoffice.graphics + UTTypeDescription + OpenOffice.org 1.0 Drawing + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + sxd + + public.mime-type + + application/vnd.sun.xml.draw + + + UTTypeIconFile + drawing.icns + + + UTTypeIdentifier + org.oasis-open.opendocument.graphics + UTTypeDescription + OpenDocument Drawing + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + odg + + public.mime-type + + application/vnd.oasis.opendocument.graphics + + + UTTypeIconFile + oasis-drawing.icns + + + UTTypeIdentifier + vnd.oasis.opendocument.graphics-flat-xml + UTTypeDescription + OpenDocument Drawing (Flat XML) + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + fodg + + public.mime-type + + application/vnd.oasis.opendocument.graphics-flat-xml + + + UTTypeIconFile + oasis-drawing.icns + + + + + UTTypeIdentifier + org.oasis-open.opendocument.chart + UTTypeDescription + OpenDocument Chart + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + odc + + public.mime-type + + application/vnd.oasis.opendocument.chart + + + + + + + UTTypeIdentifier + org.openoffice.text-master + UTTypeDescription + OpenOffice.org 1.0 Master + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + sxg + + public.mime-type + + application/vnd.sun.xml.writer.global + + + UTTypeIconFile + master-document.icns + + + UTTypeIdentifier + org.oasis-open.opendocument.text-master + UTTypeDescription + OpenDocument Master + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + odm + + public.mime-type + + application/vnd.oasis.opendocument.text-master + + + UTTypeIconFile + oasis-master-document.icns + + + + + UTTypeIdentifier + org.openoffice.formula + UTTypeDescription + OpenOffice.org 1.0 Formula + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + sxm + + public.mime-type + + application/vnd.sun.xml.math + + + UTTypeIconFile + formula.icns + + + UTTypeIdentifier + org.oasis-open.opendocument.formula + UTTypeDescription + OpenDocument Formula + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + odf + + public.mime-type + + application/vnd.oasis.opendocument.formula + + + UTTypeIconFile + oasis-formula.icns + + + + + UTTypeIdentifier + org.openoffice.text-template + UTTypeDescription + OpenOffice.org 1.0 Text Template + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + stw + + public.mime-type + + application/vnd.sun.xml.writer.template + + + UTTypeIconFile + text-template.icns + + + UTTypeIdentifier + org.oasis-open.opendocument.text-template + UTTypeDescription + OpenDocument Text Template + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + ott + + public.mime-type + + application/vnd.oasis.opendocument.text-template + + + UTTypeIconFile + oasis-text-template.icns + + + + + UTTypeIdentifier + org.oasis-open.opendocument.text-master-template + UTTypeDescription + OpenDocument Text Master Template + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + otm + + public.mime-type + + application/vnd.oasis.opendocument.text-master-template + + + UTTypeIconFile + oasis-master-document-template.icns + + + + + UTTypeIdentifier + org.openoffice.spreadsheet-template + UTTypeDescription + OpenOffice.org 1.0 Spreadsheet Template + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + stc + + public.mime-type + + application/vnd.sun.xml.calc.template + + + UTTypeIconFile + spreadsheet-template.icns + + + UTTypeIdentifier + org.oasis-open.opendocument.spreadsheet-template + UTTypeDescription + OpenDocument Spreadsheet Template + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + ots + + public.mime-type + + application/vnd.oasis.opendocument.spreadsheet-template + + + UTTypeIconFile + oasis-spreadsheet-template.icns + + + + + UTTypeIdentifier + org.openoffice.presentation-template + UTTypeDescription + OpenOffice.org 1.0 Presentation Template + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + sti + + public.mime-type + + application/vnd.sun.xml.impress.template + + + UTTypeIconFile + presentation-template.icns + + + UTTypeIdentifier + org.oasis-open.opendocument.presentation-template + UTTypeDescription + OpenDocument Presentation Template + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + otp + + public.mime-type + + application/vnd.oasis.opendocument.presentation-template + + + UTTypeIconFile + oasis-presentation-template.icns + + + + + UTTypeIdentifier + org.openoffice.graphics-template + UTTypeDescription + OpenOffice.org 1.0 Drawing Template + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + std + + public.mime-type + + application/vnd.sun.xml.draw.template + + + UTTypeIconFile + drawing-template.icns + + + UTTypeIdentifier + org.oasis-open.opendocument.graphics-template + UTTypeDescription + OpenDocument Drawing Template + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + otg + + public.mime-type + + application/vnd.oasis.opendocument.graphics-template + + + UTTypeIconFile + oasis-drawing-template.icns + + + + + UTTypeIdentifier + org.oasis-open.opendocument.database + UTTypeDescription + OpenDocument Database + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + odb + + public.mime-type + + application/vnd.oasis.opendocument.database + + + UTTypeIconFile + oasis-database.icns + + + + + UTTypeIdentifier + org.openoffice.extension + UTTypeDescription + @PRODUCTNAME@ Extension + UTTypeConformsTo + + public.data + public.content + + UTTypeTagSpecification + + public.filename-extension + + oxt + + public.mime-type + + application/vnd.openofficeorg.extension + + + UTTypeIconFile + extension.icns + + + + UTImportedTypeDeclarations + + + + UTTypeConformsTo + + public.composite-content + + UTTypeDescription + Microsoft Word Template + UTTypeIdentifier + com.microsoft.word.dot + UTTypeTagSpecification + + public.filename-extension + + dot + + public.mime-type + + application/msword + + + UTTypeIconFile + text-template.icns + + + + UTTypeConformsTo + + org.openxmlformats.openxml + public.composite-content + + UTTypeDescription + Office Open XML word processing document + UTTypeIdentifier + org.openxmlformats.wordprocessingml.document + UTTypeTagSpecification + + public.filename-extension + + docx + + public.mime-type + + application/vnd.openxmlformats-officedocument.wordprocessingml.document + + + UTTypeIconFile + text.icns + + + UTTypeConformsTo + + org.openxmlformats.openxml + public.composite-content + public.executable + + UTTypeDescription + Office Open XML word processing document (macros enabled) + UTTypeIdentifier + org.openxmlformats.wordprocessingml.document.macroEnabled + UTTypeTagSpecification + + public.filename-extension + + docm + + public.mime-type + + application/vnd.ms-word.document.macroEnabled.12 + + + UTTypeIconFile + text.icns + + + UTTypeConformsTo + + org.openxmlformats.openxml + public.composite-content + + UTTypeDescription + Office Open XML word processing template + UTTypeIdentifier + org.openxmlformats.wordprocessingml.template + UTTypeTagSpecification + + public.filename-extension + + dotx + + public.mime-type + + application/vnd.openxmlformats-officedocument.wordprocessingml.template + + + UTTypeIconFile + text-template.icns + + + UTTypeConformsTo + + org.openxmlformats.openxml + public.composite-content + public.executable + + UTTypeDescription + Office Open XML word processing template (macros enabled) + UTTypeIdentifier + org.openxmlformats.wordprocessingml.template.macroEnabled + UTTypeTagSpecification + + public.filename-extension + + dotm + + public.mime-type + + application/vnd.ms-word.template.macroEnabled.12 + + + UTTypeIconFile + text-template.icns + + + + + UTTypeConformsTo + + org.openxmlformats.openxml + public.composite-content + + UTTypeDescription + Office Open XML spreadsheet template + UTTypeIdentifier + org.openxmlformats.spreadsheetml.template + UTTypeTagSpecification + + public.filename-extension + + xltx + + public.mime-type + + application/vnd.openxmlformats-officedocument.spreadsheetml.template + + + UTTypeIconFile + spreadsheet-template.icns + + + UTTypeConformsTo + + org.openxmlformats.openxml + public.composite-content + public.executable + + UTTypeDescription + Office Open XML spreadsheet template (macros enabled) + UTTypeIdentifier + org.openxmlformats.spreadsheetml.template.macroEnabled + UTTypeTagSpecification + + public.filename-extension + + xltm + + public.mime-type + + application/vnd.ms-excel.template.macroEnabled.12 + + + UTTypeIconFile + spreadsheet-template.icns + + + UTTypeConformsTo + + org.openxmlformats.openxml + public.composite-content + + UTTypeDescription + Office Open XML spreadsheet + UTTypeIdentifier + org.openxmlformats.spreadsheetml.sheet + UTTypeTagSpecification + + public.filename-extension + + xlsx + + public.mime-type + + application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + + + UTTypeIconFile + spreadsheet.icns + + + UTTypeConformsTo + + public.zip-archive + public.composite-content + public.executable + + UTTypeDescription + Microsoft Excel 2007 spreadsheet (macros enabled) + UTTypeIdentifier + com.microsoft.excel.sheet.binary.macroEnabled + UTTypeTagSpecification + + public.filename-extension + + xlsb + + public.mime-type + + application/vnd.ms-excel.sheet.binary.macroEnabled.12 + + + UTTypeIconFile + spreadsheet.icns + + + UTTypeConformsTo + + org.openxmlformats.openxml + public.composite-content + public.executable + + UTTypeDescription + Office Open XML spreadsheet (macros enabled) + UTTypeIdentifier + org.openxmlformats.spreadsheetml.sheet.macroEnabled + UTTypeTagSpecification + + public.filename-extension + + xlsm + + public.mime-type + + application/vnd.ms-excel.sheet.macroEnabled.12 + + + UTTypeIconFile + spreadsheet.icns + + + + + UTTypeConformsTo + + org.openxmlformats.openxml + public.presentation + + UTTypeDescription + Office Open XML presentation + UTTypeIdentifier + org.openxmlformats.presentationml.presentation + UTTypeTagSpecification + + public.filename-extension + + pptx + + public.mime-type + + application/vnd.openxmlformats-officedocument.presentationml.presentation + + + UTTypeIconFile + presentation.icns + + + UTTypeConformsTo + + org.openxmlformats.openxml + public.presentation + public.executable + + UTTypeDescription + Office Open XML presentation (macros enabled) + UTTypeIdentifier + org.openxmlformats.presentationml.presentation.macroEnabled + UTTypeTagSpecification + + public.filename-extension + + pptm + + public.mime-type + + application/vnd.ms-powerpoint.presentation.macroEnabled.12 + + + UTTypeIconFile + presentation.icns + + + UTTypeConformsTo + + org.openxmlformats.openxml + public.presentation + public.executable + + UTTypeDescription + Office Open XML presentation template + UTTypeIdentifier + org.openxmlformats.presentationml.template + UTTypeTagSpecification + + public.filename-extension + + potx + + public.mime-type + + application/vnd.openxmlformats-officedocument.presentationml.template + + + UTTypeIconFile + presentation-template.icns + + + UTTypeConformsTo + + org.openxmlformats.openxml + public.presentation + public.executable + + UTTypeDescription + Office Open XML presentation template (macros enabled) + UTTypeIdentifier + org.openxmlformats.presentationml.template.macroEnabled + UTTypeTagSpecification + + public.filename-extension + + potm + + public.mime-type + + application/vnd.ms-powerpoint.template.macroEnabled.12 + + + UTTypeIconFile + presentation-template.icns + + + + + UTTypeConformsTo + + public.data + public.content + + UTTypeDescription + WordPerfect Document + UTTypeIdentifier + org.libreoffice.wpd-document + UTTypeTagSpecification + + public.filename-extension + + wpd + + public.mime-type + + application/vnd.wordperfect + + + UTTypeIconFile + text.icns + + + UTTypeConformsTo + + public.data + public.content + + UTTypeDescription + PalmDoc eBook + UTTypeIdentifier + org.libreoffice.pdb-document + UTTypeTagSpecification + + public.filename-extension + + pdb + + public.mime-type + + application/x-aportisdoc + + + UTTypeIconFile + text.icns + + + UTTypeConformsTo + + public.data + public.content + + UTTypeDescription + Hangul WP 97 Document + UTTypeIdentifier + org.libreoffice.hwp-document + UTTypeTagSpecification + + public.filename-extension + + hwp + + public.mime-type + + application/x-hwp + + + UTTypeIconFile + text.icns + + + UTTypeConformsTo + + public.data + public.content + + UTTypeDescription + Microsoft Works for Mac Document (v1 - v4) + UTTypeIdentifier + org.libreoffice.wks-document + UTTypeTagSpecification + + public.filename-extension + + wps + + public.mime-type + + application/vnd.ms-works + + + UTTypeIconFile + text.icns + + + UTTypeConformsTo + + public.data + public.content + + UTTypeDescription + Microsoft Write + UTTypeIdentifier + org.libreoffice.wri-document + UTTypeTagSpecification + + public.filename-extension + + wri + + public.mime-type + + application/x-mswrite + + + UTTypeIconFile + text.icns + + + + UTTypeConformsTo + + public.data + public.content + + UTTypeDescription + Data Interchange Format + UTTypeIdentifier + org.libreoffice.dif-document + UTTypeTagSpecification + + public.filename-extension + + dif + + public.mime-type + + application/x-dif-document + + + UTTypeIconFile + spreadsheet.icns + + + UTTypeConformsTo + + public.text + public.data + public.content + + UTTypeDescription + SYLK Document + UTTypeIdentifier + org.libreoffice.slk-document + UTTypeTagSpecification + + public.filename-extension + + slk + + public.mime-type + + text/spreadsheet + + + UTTypeIconFile + spreadsheet.icns + + + UTTypeConformsTo + + public.text + public.data + public.content + + UTTypeDescription + Comma-Separated Value Document + UTTypeIdentifier + org.libreoffice.csv-document + UTTypeTagSpecification + + public.filename-extension + + csv + + public.mime-type + + text/csv + + + UTTypeIconFile + spreadsheet.icns + + + UTTypeConformsTo + + public.data + public.content + + UTTypeDescription + dBASE Document + UTTypeIdentifier + org.libreoffice.dbf-document + UTTypeTagSpecification + + public.filename-extension + + dbf + + public.mime-type + + application/x-dbase + + + UTTypeIconFile + database.icns + + + UTTypeConformsTo + + public.data + public.content + + UTTypeDescription + Lotus 1-2-3 Spreadsheet + UTTypeIdentifier + org.libreoffice.123-document + UTTypeTagSpecification + + public.filename-extension + + wk1 + wks + 123 + + public.mime-type + + application/vnd.lotus-1-2-3 + application/vnd.lotus-1-2-3 + application/vnd.lotus-1-2-3 + + + UTTypeIconFile + spreadsheet.icns + + + UTTypeConformsTo + + public.data + public.content + public.image + + UTTypeDescription + Computer Graphics Metafile + UTTypeIdentifier + org.libreoffice.cgm-document + UTTypeTagSpecification + + public.filename-extension + + cgm + + public.mime-type + + image/cgm + + + UTTypeIconFile + drawing.icns + + + UTTypeConformsTo + + public.data + public.content + public.image + + UTTypeDescription + AutoCAD Interchange Format + UTTypeIdentifier + org.libreoffice.dxf-document + UTTypeTagSpecification + + public.filename-extension + + dxf + + public.mime-type + + image/vnd.dxf + + + UTTypeIconFile + drawing.icns + + + UTTypeConformsTo + + public.data + public.content + public.image + + UTTypeDescription + Windows Enhanced Metafile + UTTypeIdentifier + org.libreoffice.emf-document + UTTypeTagSpecification + + public.filename-extension + + emf + + public.mime-type + + image/x-emf + + + UTTypeIconFile + drawing.icns + + + UTTypeConformsTo + + public.data + public.content + public.image + + UTTypeDescription + Windows Metafile + UTTypeIdentifier + org.libreoffice.wmf-document + UTTypeTagSpecification + + public.filename-extension + + wmf + + public.mime-type + + image/x-wmf + + + UTTypeIconFile + drawing.icns + + + UTTypeConformsTo + + public.data + public.content + public.image + + UTTypeDescription + CorelDRAW Image + UTTypeIdentifier + org.libreoffice.cdr-document + UTTypeTagSpecification + + public.filename-extension + + cdr + + public.mime-type + + application/cdr + application/coreldraw + application/vnd.corel-draw + application/x-cdr + application/x-coreldraw + image/cdr + image/x-cdr + + + UTTypeIconFile + drawing.icns + + + UTTypeConformsTo + + public.data + public.content + + UTTypeDescription + Microsoft Visio Document + UTTypeIdentifier + org.libreoffice.visio-document + UTTypeTagSpecification + + public.filename-extension + + vsd + vss + vst + vdx + vsx + vtx + vsdx + vsdm + vssx + vssm + vstx + vstm + + public.mime-type + + application/vnd.visio2013 + application/vnd.visio + + + UTTypeIconFile + drawing.icns + + + UTTypeConformsTo + + public.data + public.content + + UTTypeDescription + Microsoft Publisher Document + UTTypeIdentifier + org.libreoffice.mspub-document + UTTypeTagSpecification + + public.filename-extension + + pub + + public.mime-type + + application/x-mspublisher + + + UTTypeIconFile + drawing.icns + + + + CFBundleURLTypes + + + CFBundleURLName + @PRODUCTNAME@ CMIS + CFBundleURLSchemes + + vnd.libreoffice.cmis + + + + CFBundleURLName + @PRODUCTNAME@ + CFBundleURLSchemes + + vnd.libreoffice.command + ms-word + ms-powerpoint + ms-excel + ms-visio + ms-access + + + + CFBundleURLName + @PRODUCTNAME@ WebDav + CFBundleURLSchemes + + vnd.sun.star.webdav + vnd.sun.star.webdavs + + + + + CFBundleDocumentTypes + + + CFBundleTypeName + OpenOffice.org 1.0 Text + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.openoffice.text + + + + CFBundleTypeName + OpenDocument Text + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.oasis-open.opendocument.text + + + + CFBundleTypeName + OpenOffice.org 1.0 Spreadsheet + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.openoffice.spreadsheet + + + + CFBundleTypeName + OpenDocument Spreadsheet + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.oasis-open.opendocument.spreadsheet + + + + CFBundleTypeName + OpenOffice.org 1.0 Presentation + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.openoffice.presentation + + + + CFBundleTypeName + OpenDocument Presentation + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.oasis-open.opendocument.presentation + + + + CFBundleTypeName + OpenOffice.org 1.0 Drawing + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.openoffice.graphics + + + + CFBundleTypeName + OpenDocument Drawing + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.oasis-open.opendocument.graphics + + + + CFBundleTypeName + OpenDocument Chart + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.oasis-open.opendocument.chart + + + + CFBundleTypeName + OpenOffice.org 1.0 Master + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.openoffice.text-master + + + + CFBundleTypeName + OpenDocument Master + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.oasis-open.opendocument.text-master + + + + CFBundleTypeName + OpenOffice.org 1.0 Formula + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.openoffice.formula + + + + CFBundleTypeName + OpenDocument Formula + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.oasis-open.opendocument.formula + + + + CFBundleTypeName + OpenOffice.org 1.0 Text Template + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.openoffice.text-template + + + + CFBundleTypeName + OpenDocument Text Template + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.oasis-open.opendocument.text-template + + + + CFBundleTypeName + OpenDocument Master Template + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.oasis-open.opendocument.text-master-template + + + + CFBundleTypeName + OpenOffice.org 1.0 Spreadsheet Template + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.openoffice.spreadsheet-template + + + + CFBundleTypeName + OpenDocument Spreadsheet Template + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.oasis-open.opendocument.spreadsheet-template + + + + CFBundleTypeName + OpenOffice.org 1.0 Presentation Template + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.openoffice.presentation-template + + + + CFBundleTypeName + OpenDocument Presentation Template + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.oasis-open.opendocument.presentation-template + + + + CFBundleTypeName + OpenOffice.org 1.0 Drawing Template + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.openoffice.graphics-template + + + + CFBundleTypeName + OpenDocument Drawing Template + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.oasis-open.opendocument.graphics-template + + + + CFBundleTypeName + OpenDocument Database + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.oasis-open.opendocument.database + + + + CFBundleTypeName + @PRODUCTNAME@ Extension + CFBundleTypeRole + Editor + LSHandlerRank + Owner + LSItemContentTypes + + org.openoffice.extension + + + + CFBundleTypeName + Flat ODF + LSItemContentTypes + + vnd.oasis.opendocument.text-flat-xml + vnd.oasis.opendocument.spreadsheet-flat-xml + vnd.oasis.opendocument.presentation-flat-xml + vnd.oasis.opendocument.graphics-flat-xml + + CFBundleTypeRole + Editor + LSHandlerRank + Owner + + + CFBundleTypeName + 3rd party formats + LSItemContentTypes + + public.plain-text + public.rtf + public.html + public.jpeg + public.tiff + public.png + public.xbitmap-image + com.adobe.encapsulated-postscript + com.microsoft.bmp + com.microsoft.word.doc + com.microsoft.word.dot + com.microsoft.excel.xls + com.microsoft.powerpoint.ppt + org.openxmlformats.wordprocessingml.document + org.openxmlformats.wordprocessingml.document.macroEnabled + org.openxmlformats.wordprocessingml.template + org.openxmlformats.wordprocessingml.template.macroEnabled + org.openxmlformats.spreadsheetml.sheet + org.openxmlformats.spreadsheetml.sheet.macroEnabled + com.microsoft.excel.sheet.binary.macroEnabled + org.openxmlformats.spreadsheetml.template + org.openxmlformats.spreadsheetml.template.macroEnabled + org.openxmlformats.presentationml.presentation + org.openxmlformats.presentationml.presentation.macroEnabled + org.openxmlformats.presentationml.template + org.openxmlformats.presentationml.template.macroEnabled + org.libreoffice.pdb-document + org.libreoffice.wpd-document + org.libreoffice.hwp-document + org.libreoffice.wks-document + org.libreoffice.wri-document + org.libreoffice.dif-document + org.libreoffice.slk-document + org.libreoffice.csv-document + org.libreoffice.dbf-document + org.libreoffice.123-document + org.libreoffice.cgm-document + org.libreoffice.dxf-document + org.libreoffice.emf-document + org.libreoffice.wmf-document + org.libreoffice.cdr-document + org.libreoffice.visio-document + org.libreoffice.mspub-document + + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + + + CFBundleTypeExtensions + + cwk + * + + CFBundleTypeName + AppleWorks Document + CFBundleTypeOSTypes + + CWWP + CWSS + CWDB + CWGR + CWPT + CWPR + + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + + + CFBundleExecutable + soffice + CFBundleIconFile + main.icns + CFBundleShortVersionString + @MACOSX_BUNDLE_SHORTVERSION@ + CFBundleVersion + @MACOSX_BUNDLE_VERSION@ + CFBundleIdentifier + @MACOSX_BUNDLE_IDENTIFIER@ + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + @PRODUCTNAME@ + CFBundlePackageType + APPL + CFBundleSignature + LibO + LSRequiresCarbon + 1 + NSPrincipalClass + VCL_NSApplication + LSApplicationCategoryType + public.app-category.productivity + LSMinimumSystemVersion + @MACOSX_DEPLOYMENT_TARGET@.0 + NSHighResolutionCapable + + NSContactsUsageDescription + You can add your contacts as a data source for mail merge or similar operations. + DTXcodeBuild + @MACOSX_XCODE_BUILD_VERSION@ + DTSDKBuild + @MACOSX_SDK_BUILD_VERSION@ + + + 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 () { + if ( /<\/dict>/ ) { + $documents{$icon} = $name if length $name > 0; + $key = $icon = $name = ""; + } elsif ( /(.*)<\/key>/ ) { + $key = $1; + } elsif ( /(.*)<\/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 () { + + 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); +} -- cgit v1.2.3