[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #25116] NSDocument should handle loading of "known" types....
From: |
Gregory John Casamento |
Subject: |
[bug #25116] NSDocument should handle loading of "known" types.... |
Date: |
Thu, 18 Dec 2008 01:11:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.14eol) Gecko/20070505 (Debian-1.8.0.15~pre080323b-0etch2) Epiphany/2.14 |
URL:
<http://savannah.gnu.org/bugs/?25116>
Summary: NSDocument should handle loading of "known"
types....
Project: GNUstep
Submitted by: gcasa
Submitted on: Wed 17 Dec 2008 08:11:37 PM EST
Category: Gui/AppKit
Severity: 3 - Normal
Item Group: Change Request
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
It seems as though NSDocument on Mac OS X understands RTF, RTFD, and a few
other formats by default and lets you load those if your NSDocument subclass
doesn't override loadFileWrapperRepresentation:ofType:.
You can see this in Bean.app. (Please see the gap project under
ported-apps/Utils for the code)
Currently it is almost completely working in Gap, but it's unable to open
and save files.... editing a new one, however, is not an issue.
On Mac OS X, this works just fine... it can load and save RTF, RTFD, etc
etc... no problems even though it's MyDocument.m doesn't override
loadFileWrapper..., so, apparently, the implementation of that method on Cocoa
will attempt to read "known" formats.
Please let me know if you think this is correct.
Thanks, GC
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?25116>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #25116] NSDocument should handle loading of "known" types....,
Gregory John Casamento <=