discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AntiWordService


From: Dennis Leeuw
Subject: AntiWordService
Date: Sun, 06 Mar 2005 13:51:13 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1

Hi,

I found a MacOSX AntiWord service which is GPL so I thought it would be nice to get this for GNUstep, since it would allow GNUstep to read MS .doc documents.

I however seem to get stuck on the .plist file. The MacOS thing says:
        <key>NSServices</key>
        <array>
                <dict>
                        <key>NSFilter</key>
                        <string></string>
                        <key>NSInputMechanism</key>
                        <string>NSUnixStdio</string>
                        <key>NSReturnTypes</key>
                        <array>
                                <string>NSStringPboardType</string>
                        </array>
                        <key>NSSendTypes</key>
                        <array>

<string>NSTypedFilenamesPboardType:doc</string>

<string>NSTypedFilenamesPboardType:DOC</string>

<string>NSTypedFilenamesPboardType:'WDBN'</strin
g>

<string>NSTypedFilenamesPboardType:'W8BN'</strin
g>
                        </array>
                </dict>
        </array>

So I created a Info-gnustep.plist:
{
  NOTE = "Automatically generated, do not edit!";
  NSExecutable = "AntiWord";
  NSServices = (
    {
      NSInputMechanism = NSUnixStdio;
      NSSendTypes = (NSTypedFilenamesPboardType:doc);
      NSReturnTypes = (NSStringPboardType);
    }
  );
}

But make_services tells me:
2005-03-06 13:48:58.824 make_services[13171] NSServices entry 0 unknown service/filter - /System/Library/Services/AntiWord.service

While there is a:
/System/Library/Services/AntiWord.service

Any idea what I might be doing wrong?

Dennis
that looks like this:


--
You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself.
                        --- Sam Levenson




reply via email to

[Prev in Thread] Current Thread [Next in Thread]