[Previous]
[Up]
[Next]
NSDocument
Authors
- Richard Frith-Macdonald
-
Version: 0.1
Date: 28 February, 2000
Declared in: Gui/NSDocument.h
Inherits from: NSObject
Conforms to: NSObject
+ (BOOL) isNativeType: (NSString*)aType
+ (NSArray*) readableTypes
+ (NSArray*) writableTypes
- (void) addWindowController: (NSWindowController*)aController
- (BOOL) canCloseDocument
- (void) close
- (IBAction) closeDocument: (id)sender
- (NSData*) dataRepresentationOfType: (NSString*)aType
- (NSString*) displayName
- (NSString*) fileName
- (NSString*) fileNameFromRunningSavePanelForSaveOperation: (NSSaveOperationType)saveOperation
- (NSString*) fileType
- (NSFileWrapper*) fileWrapperRepresentationOfType: (NSString*)aType
- (BOOL) hasUndoManager
- (id) init
- (id) initWithContentsOfFile: (NSString*)fileName
- (BOOL) isDocumentEdited
- (BOOL) keepBackupFile
- (BOOL) loadDataRepresentation: (NSData*)docData
- (BOOL) loadFileWrapperRepresentation: (NSFileWrapper*)wrapper
- (NSArray*) makeWindowControllers
- (void) printDocument: (id)sender
- (NSPrintInfo*) printInfo
- (void) printShowingPrintPanel: (BOOL)flag
- (BOOL) readFromFile: (NSString*)fileName
- (void) revertDocumentToSaved: (id)sender
- (BOOL) revertToSavedFromFile: (NSString*)fileName
- (int) runModalPageLayoutWithPrintInfo: (NSPrintInfo*)printInfo
- (int) runModalSavePanel: (NSSavePanel*)savePanel withAccessoryView: (NSView*)accessoryView
- (void) runPageLayout: (id)sender
- (void) saveDocument: (id)sender
- (void) saveDocumentAs: (id)sender
- (void) saveDocumentTo: (id)sender
- (void) setFileName: (NSString*)fileName
- (void) setFileType: (NSString*)docType
- (void) setHasUndoManager: (BOOL)flag
- (void) setPrintInfo: (NSPrintInfo*)printInfo
- (void) setUndoManager: (NSUndoManager*)undoManager
- (BOOL) shouldChangePrintInfo: (NSPrintInfo*)newPrintInfo
- (BOOL) shouldCloseWindowController: (NSWindowController*)windowController
- (BOOL) shouldRunSavePanelWithAccessoryView
- (void) showWindows
- (NSUndoManager*) undoManager
- (void) updateChangeCount: (NSDocumentChangeType)changeType
- (BOOL) validateMenuItem: (NSMenuItem*)anItem
- (void) windowControllerDidLoadNib: (NSWindowController*)windowController
- (void) windowControllerWillLoadNib: (NSWindowController*)windowController
- (NSArray*) windowControllers
- (NSString*) windowNibName
- (BOOL) writeToFile: (NSString*)fileName