From 862a85c6311af3caaef4be340d090eee1dc054cf Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 29 Aug 2009 15:58:04 +0000 Subject: Implement the core CSV export process in the new CSV exporter class. --- Source/SPCSVExporter.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Source/SPCSVExporter.h') diff --git a/Source/SPCSVExporter.h b/Source/SPCSVExporter.h index 48f0c424..31942cd2 100644 --- a/Source/SPCSVExporter.h +++ b/Source/SPCSVExporter.h @@ -43,7 +43,11 @@ NSString *csvEnclosingCharacterString; NSString *csvEscapeString; NSString *csvLineEndingString; + NSString *csvNULLString; NSArray *csvTableColumnNumericStatus; + + // CSV encoding + NSStringEncoding csvOutputEncoding; } @property (readwrite, retain) NSFileHandle *csvFileHandle; @@ -51,13 +55,18 @@ @property (readwrite, retain) NSArray *csvDataArray; @property (readwrite, retain) MCPResult *csvDataResult; -@property (readwrite) BOOL csvOutputFieldNames; +@property (readwrite, assign) BOOL csvOutputFieldNames; @property (readwrite, retain) NSString *csvFieldSeparatorString; @property (readwrite, retain) NSString *csvEnclosingCharacterString; @property (readwrite, retain) NSString *csvEscapeString; @property (readwrite, retain) NSString *csvLineEndingString; +@property (readwrite, retain) NSString *csvNULLString; @property (readwrite, retain) NSArray *csvTableColumnNumericStatus; +@property (readwrite, assign) NSStringEncoding csvOutputEncoding; + - (id)initWithFileHandle:(NSFileHandle *)fileHandle; +- (BOOL)startCSVExport; + @end -- cgit v1.2.3