Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question: forcing data format during saveDocumentTo:



Thanks for getting back to me.

I am definitely Exporting; when saving as rtf I am only saving a subset of the data. It is not a file that can be used to continue working in my app. I don't want the user to have the slightest indication that after exporting he can delete the original file.

Save As... I have working correctly, since I can suppress the popup with file types in the save panel. Having the native file format available under the Export... menu item is less bad, but I would rather keep the line between the two operations absolute. It probably wouldn't bother me except that the native format is the default.

Jerry

On Tuesday, September 2, 2003, at 11:21 PM, Scott Anguish wrote:

why not?

You're not exporting, so much as doing a Save as..., and the same format should be acceptable for that.


On Sep 2, 2003, at 4:11 PM, Jerry wrote:

The one thing that is missing is that when the user selects Export, I do _not_ want the native type to be an option. If I hide the popup with the file types, it defaults to the native, even if I call setRequiredFileType: on the NSSavePanel and set the extension to rtf.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Newbie question: forcing data format during saveDocumentTo: (From: Scott Anguish <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.