mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 09:50:48 +00:00
Complete the implementation of NSDocument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27436 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f68f306f43
commit
aba6776a65
4 changed files with 406 additions and 332 deletions
|
@ -150,7 +150,7 @@ withContentsOfURL:(NSURL *)url
|
|||
- (void)showWindows;
|
||||
- (void)removeWindowController:(NSWindowController *)windowController;
|
||||
- (void)setWindow:(NSWindow *)aWindow;
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_4, GS_API_LATEST)
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_3, GS_API_LATEST)
|
||||
- (NSWindow *)windowForSheet;
|
||||
#endif
|
||||
|
||||
|
@ -249,7 +249,7 @@ originalContentsURL:(NSURL *)orig
|
|||
- (BOOL)shouldRunSavePanelWithAccessoryView;
|
||||
#if OS_API_VERSION(GS_API_MACOSX, MAC_OS_X_VERSION_10_4)
|
||||
- (NSString *)fileNameFromRunningSavePanelForSaveOperation:(NSSaveOperationType)saveOperation;
|
||||
- (int)runModalSavePanel:(NSSavePanel *)savePanel withAccessoryView:(NSView *)accessoryView;
|
||||
- (NSInteger)runModalSavePanel:(NSSavePanel *)savePanel withAccessoryView:(NSView *)accessoryView;
|
||||
#endif
|
||||
- (NSString *)fileTypeFromLastRunSavePanel;
|
||||
- (NSDictionary *)fileAttributesToWriteToFile: (NSString *)fullDocumentPath
|
||||
|
@ -269,15 +269,21 @@ originalContentsURL:(NSURL *)orig
|
|||
forSaveOperation:(NSSaveOperationType)op
|
||||
originalContentsURL:(NSURL *)original
|
||||
error:(NSError **)error;
|
||||
#endif
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_1, GS_API_LATEST)
|
||||
- (BOOL)fileNameExtensionWasHiddenInLastRunSavePanel;
|
||||
#endif
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||
- (NSString *)fileNameExtensionForType:(NSString *)typeName
|
||||
saveOperation:(NSSaveOperationType)saveOperation;
|
||||
#endif
|
||||
|
||||
/*" Printing "*/
|
||||
- (NSPrintInfo *)printInfo;
|
||||
- (void)setPrintInfo:(NSPrintInfo *)printInfo;
|
||||
- (BOOL)shouldChangePrintInfo:(NSPrintInfo *)newPrintInfo;
|
||||
- (IBAction)runPageLayout:(id)sender;
|
||||
- (int)runModalPageLayoutWithPrintInfo:(NSPrintInfo *)printInfo;
|
||||
- (NSInteger)runModalPageLayoutWithPrintInfo:(NSPrintInfo *)printInfo;
|
||||
- (IBAction)printDocument:(id)sender;
|
||||
- (void)printShowingPrintPanel:(BOOL)flag;
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_4, GS_API_LATEST)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue