InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DataUpdaterCSVFileHelper.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Adobe Developer Technologies
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __DataUpdaterCSVFileHelper_h__
25 #define __DataUpdaterCSVFileHelper_h__
26 
27 // Interfaces:
28 #include "IPanelControlData.h"
29 #include "IPMStream.h"
30 
31 // General:
32 #include "WideString.h"
33 #include "K2Vector.h"
34 
70 {
71 public:
75 
78  virtual ~DataUpdaterCSVFileHelper();
79 
80 public:
86  ErrorCode Load(const IDFile& file);
87 
88 public:
93 
98 
102 
107 
111 
112 private:
119  ErrorCode Verify(IPMStream* iPMStream);
120 
126  int32 LoadFields(IPMStream* iPMStream);
127 
134  void LoadKeysAndValues(IPMStream* iPMStream, int32 fieldsPerRecord);
135 
140  void LoadDone(const IDFile& file);
141 
142 };
143 
144 #endif
145 
146 // End, DataUpdaterCSVFileHelper.h
147