From cfdfa08afba12c115d8d423ece0ae6d747c3ba0e Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 9 Dec 2008 01:00:26 +0000 Subject: - 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 --- TableDump.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TableDump.h') 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 -- cgit v1.2.3