aboutsummaryrefslogtreecommitdiffstats
path: root/TableDump.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2008-12-09 01:00:26 +0000
committerrowanbeentje <rowan@beent.je>2008-12-09 01:00:26 +0000
commitcfdfa08afba12c115d8d423ece0ae6d747c3ba0e (patch)
tree2f3307241d12da1b690eaaf632c81f4c1913cd55 /TableDump.h
parenta6c17dfdaa46f413ee8aee6d39904eb89454f813 (diff)
downloadsequelpro-cfdfa08afba12c115d8d423ece0ae6d747c3ba0e.tar.gz
sequelpro-cfdfa08afba12c115d8d423ece0ae6d747c3ba0e.tar.bz2
sequelpro-cfdfa08afba12c115d8d423ece0ae6d747c3ba0e.zip
- Reimplement CSV NULL import using the NULL value as specified in preferences - resolves Issue #67;
- Improve field mapping clarity and allow display of duplicate cell values by appending the column number to the current cell value - Trims blank lines from CSV imports to avoid importing rows filled with defaults - Correctly encodes linebreaks in CSVs for reimport
Diffstat (limited to 'TableDump.h')
-rw-r--r--TableDump.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/TableDump.h b/TableDump.h
index a382e082..22b123af 100644
--- a/TableDump.h
+++ b/TableDump.h
@@ -89,6 +89,7 @@
NSMutableArray *tables;
NSArray *importArray;
NSMutableArray *fieldMappingArray;
+ NSMutableArray *fieldMappingButtonOptions;
int currentRow;
NSString *savePath;
NSString *openPath;
@@ -114,6 +115,7 @@
- (IBAction)changeTable:(id)sender;
- (void)openPanelDidEnd:(NSOpenPanel *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo;
- (void)setupFieldMappingArray;
+- (void)updateFieldMappingButtonCell;
- (NSArray *)arrayForCSV:(NSString *)csv terminatedBy:(NSString *)terminated
enclosedBy:(NSString *)enclosed escapedBy:(NSString *)escaped lineEnds:(NSString *)lineEnds;
- (NSArray *)arrayForString:(NSString *)string enclosed:(NSString *)enclosed