InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DataUpdaterConst.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 __DataUpdaterConst_h__
25 #define __DataUpdaterConst_h__
26 
27 // General:
28 #include "WideString.h"
29 
30 const WideString kDataUpdaterTagNamePrefix ("_DataUpdater_");
31 const WideString kDataUpdaterTableTag("_DataUpdater_TABLE_");
32 const WideString kDataUpdaterKeyTag ("_DataUpdater_RECORD_");
33 const WideString kDataUpdaterFieldTag ("_DataUpdater_FIELD_");
34 const WideString kDataUpdaterValueTag ("_DataUpdater_VALUE_");
35 
36 const WideString kDataUpdaterTableNameAttribute("table");
37 const WideString kDataUpdaterRecordKeyAttribute ("key");
38 const WideString kDataUpdaterFieldNameAttribute ("field");
39 
40 const WideString kWideString_DataUpdaterSeparatorSpace("_");
41 const WideString kWideString_DataUpdaterCarriageReturn ("\r");
42 const WideString kWideString_DataUpdaterNull ("");
43 const WideString kWideString_DataUpdaterValueNotFound("####");
44 
45 // Number of zero width character added when tag text with XML
46 const int32 numZWCharsAdded = 2;
47 
48 // File control characters
49 const uchar kuchar_Separator = ',';
50 const uchar kuchar_CR = 0x0d;
51 const uchar kuchar_LF = 0x0a;
52 
53 const WideString k_DataUpdatekeyString ("SKU");
54 const WideString k_DataUpdatepriceString ("Price");
55 const WideString k_DataUpdatedescriptionString ("Description");
56 
57 #endif
58 
59 // End, DataUpdaterConst.h
60 
61