From 1e5288e9840e201a00bcb5ca3035d7aa807f1f8d Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Mon, 7 Mar 2011 20:12:52 +0000 Subject: Bring outline view branch up to date with trunk (r3203:r3224). --- Source/SPExportFileUtilities.m | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'Source/SPExportFileUtilities.m') diff --git a/Source/SPExportFileUtilities.m b/Source/SPExportFileUtilities.m index 5a9d16ee..d39aee17 100644 --- a/Source/SPExportFileUtilities.m +++ b/Source/SPExportFileUtilities.m @@ -26,6 +26,9 @@ #import "SPExportFileUtilities.h" #import "SPExporter.h" #import "SPAlertSheets.h" +#import "SPExportFile.h" +#import "SPDatabaseDocument.h" +#import "SPCustomQuery.h" @implementation SPExportController (SPExportFileUtilities) @@ -135,8 +138,17 @@ } } } - - + + // Compare the count of exported files to the count of failed files + NSUInteger totalFilesExported = [exportFiles count]; + + // If all the files failed, show a simplified export dialog + + + // If only some of the files failed, show an export dialog with the option to ignore the failed files. + + + // For single files, show a dialog very close to the OS dialog if (i > 0) { NSAlert *alert = [NSAlert alertWithMessageText:NSLocalizedString(@"Error creating export files", @"export file handle creation error message") -- cgit v1.2.3