20#include <CoreFoundation/CoreFoundation.h>
21#include <CoreServices/CoreServices.h>
22#include <Foundation/Foundation.h>
35 CFMutableDictionaryRef attributes,
36 CFStringRef contentTypeUTI,
37 CFStringRef pathToFile)
43 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
53 @catch (NSException *exception) {
54 NSLog(
@"main: Caught %@: %@", [exception
name], [exception reason]);
BOOL importDocument:contentType:attributes:(NSString *pathToFile,[contentType] NSString *contentTypeUTI,[attributes] NSMutableDictionary *attributes)