Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

Problems after upgrading to Sierra or High Sierra? Try these steps
Problems after upgrading to NeoOffice 2017? Try these steps
Download or installation problems? Try these steps


Support
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


RSS Feeds
· Announcements Only
· All Posts


  
NeoOffice :: View topic - UTExportedTypeDeclarations
UTExportedTypeDeclarations
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NeoOffice Forum Index -> NeoLight Development
View previous topic :: View next topic  
Author Message
AgentSmith
Blue Pill


Joined: May 21, 2006
Posts: 2

PostPosted: Sun May 21, 2006 1:33 pm    Post subject: UTExportedTypeDeclarations Reply with quote

Hi,

I have seen that the Info.plist file uses UTExportedTypeDeclarations to declare the UTIs for OpenOffice/NeoOffice files. This seems to be in contradiction to this site from apple.com: http://gemma.apple.com/documentation/Carbon/Conceptual/MDImporters/Concepts/WritingAnImp.html#//apple_ref/doc/uid/TP40001275-197081
If I understand this site correctly, NeoLight should be using UTImportedTypeDeclarations, since it's not directly associated with any application (it could be used with OpenOffice and/or NeoOffice). Only OpenOffice or NeoOffice should then use UTExportedTypeDeclarations.

I don't know if this actually has any effect on the system. But when reading about problems of OpenOffice/NeoOffice being installed parallely, I felt that maybe there might be a connection to this.
Back to top
View user's profile Send private message
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Sun May 21, 2006 1:44 pm    Post subject: Reply with quote

The way the importer's Info.plist is declared it provides UTI identifiers for OOo formatted file extensions in the Info.plist of the importer; we don't do UTI types in the application proper. According to the documentation, when adding in UTI types to a standalone importer the ExportedTypeDelarations is the correct key. See Listing 3 of the aforementioned guide for the example of adding UTI type declarations to an importer's Info.plist file.

ed
Back to top
View user's profile Send private message Visit poster's website AIM Address
AgentSmith
Blue Pill


Joined: May 21, 2006
Posts: 2

PostPosted: Sun May 21, 2006 1:50 pm    Post subject: Reply with quote

Ah, I see. I was assuming that NeoOffice and OpenOffice would contain the UTI definitions as well.

Thanks for your answer.
Back to top
View user's profile Send private message
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Sun May 21, 2006 2:08 pm    Post subject: Reply with quote

I don't know what OOo is doing with their Info.plist but, in theory, if both applications provide the same UTI identifier for the extension there shouldn't be any issues. I really don't know what LaunchServices does if the same extension maps to multiple UTI types, but if it caches all the ones it sees then Spotlight indexing should be fine. The mapping of "open with" in the Finder and in LaunchServices is independent of UTI types, IIRC, and they're presently only required by Spotlight in order to search for an importer that can handle a specific file given the file's UTI type.

ed
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NeoOffice Forum Index -> NeoLight Development All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.02 Seconds