https://bugs.documentfoundation.org/show_bug.cgi?id=96725

            Bug ID: 96725
           Summary: CONFIGURATION: "Open With > LibreOffice" missing for
                    AppleWorks (.cwk) files on Mac
           Product: LibreOffice
           Version: 4.3.7.2 release
          Hardware: x86 (IA32)
                OS: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Installation
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: markuskel...@fastmail.fm

The "Open With > ..." context menu in the Mac OS X Finder is missing
"LibreOffice" for legacy AppleWorks documents. The converter works very well
when I drop a file on the LibreOffice.app. But sometimes, the context menu is
just more convenient.

I'm on an old Mac and can't use the latest LibreOffice to verify if this is
still an issue, but
http://cgit.freedesktop.org/libreoffice/core/tree/sysui/desktop/macosx/Info.plist.in
looks like AppleWorks is still missing.

I've fixed the issue in my install by adding this to my
LibreOffice.app/Contents/Info.plist:

        <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>
        </dict>

(After that, you need to rename/move the LibreOffice.app around to get the
Finder to replace its caches, or maybe also restart the Finder.)

Apple Works documents of the latest versions often have a .cwk extension, but
older documents can only be identified by their legacy Creator/Type
information.

I don't know whether LibreOffice really supports all 6 file types. CWWP, CWSS,
and CWGR are definitely supported. I took the whole set from here:
https://code.google.com/p/understand/wiki/AppleWorks

If you know more about the Info.plist format, you may also want to add this
one:
> Common Mac OS X UTI: com.apple.appleworks.document

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to