InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
INXFormatDefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Steve Pellegrin
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 __INXFORMATDEFS__
25 #define __INXFORMATDEFS__
26 
27 namespace INXCore
28 {
29  // Used to construct serialized attribute values.
30  extern const char* kDOMInt64Separator;
31  extern const char* kDOMDateSeparator;
32  extern const char* kDOMDateTimeSeparator;
33  extern const char* kDOMTimeSeparator;
34 
35  extern const wchar_t* kDOMTrue;
36  extern const wchar_t* kDOMFalse;
37  extern const wchar_t* kDOMTypeValueSeparator;
38  extern const wchar_t* kDOMTypeValueSeparatorEntity;
39  extern const wchar_t* kDOMNilPointer;
40 
41  // All of these are unique single characters
42  static const wchar_t kDOMReadOnly = 'r';
43  static const wchar_t kEmptyType = '0';
44  static const wchar_t kBooleanType = 'b';
45  static const wchar_t kStringType = 'c';
46  static const wchar_t kKeyType = 'k';
47  static const wchar_t kShortType = 's';
48  static const wchar_t kLongType = 'l';
49  static const wchar_t kLongLongType = 'L';
50  static const wchar_t kDoubleType = 'd';
51  static const wchar_t kReadableDoubleType = 'D';
52  static const wchar_t kObjectType = 'o';
53  static const wchar_t kDateType = 't';
54  static const wchar_t kReadableDateType = 'T';
55  static const wchar_t kFileType = 'f';
56  static const wchar_t kEnumType = 'e';
57  static const wchar_t kUnitType = 'u';
58  static const wchar_t kReadableUnitType = 'U';
59  static const wchar_t kListType = 'x';
60  static const wchar_t kObjectListType = 'y';
61  static const wchar_t kRecordType = 'z';
62  static const wchar_t kLeadingSpace = ' ';
63  static const wchar_t kStreamType = 'm';
64 
65  // Element and attribute names for Expanded INX
66  extern const wchar_t* kPropertiesElement;
67  extern const wchar_t* kPropertyElement;
68  extern const wchar_t* kTypeAttribute;
69 
70  // All of these are unique strings
71  extern const wchar_t* kDOMTrueExpanded;
72  extern const wchar_t* kDOMFalseExpanded;
73 
74  extern const wchar_t* kEmptyTypeExpanded;
75  extern const wchar_t* kBooleanTypeExpanded;
76  extern const wchar_t* kStringTypeExpanded;
77  extern const wchar_t* kShortTypeExpanded;
78  extern const wchar_t* kLongTypeExpanded;
79  extern const wchar_t* kLongLongTypeExpanded;
80  extern const wchar_t* kDoubleTypeExpanded;
81  extern const wchar_t* kObjectTypeExpanded;
82  extern const wchar_t* kDateTypeExpanded;
83  extern const wchar_t* kFileTypeExpanded;
84  extern const wchar_t* kEnumTypeExpanded;
85  extern const wchar_t* kUnitTypeExpanded;
86  extern const wchar_t* kStreamTypeExpanded;
87  extern const wchar_t* kListTypeExpanded;
88  extern const wchar_t* kRecordTypeExpanded;
89 }
90 
91 #endif //#ifndef __INXFORMATDEFS__
92