/Sources/sdk/sccca.h

http://github.com/Nashev/OracleOutsideIn4Delphi · C Header · 779 lines · 619 code · 55 blank · 105 comment · 0 complexity · dad9261e4b4ca76285307ef47de6a401 MD5 · raw file

  1. /* Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. */
  2. /*
  3. | Content Access
  4. | Include File sccca.h
  5. |
  6. | CCC A
  7. | C C A A
  8. | C A A
  9. | C AAAAA
  10. | C C A A
  11. | CCC A A
  12. |
  13. */
  14. #ifndef _SCCCA_H
  15. #define _SCCCA_H
  16. #ifdef WINDOWS
  17. #ifndef SCC_PACK_SET
  18. #define SCC_PACK_SET 1
  19. #define SCC_PACKED_BY_SCCCA_H 1
  20. #pragma pack(push,8)
  21. #endif /* SCC_PACK_SET */
  22. #endif /* WINDOWS */
  23. #include "scctype.h"
  24. #include "sccda.h"
  25. #ifdef __cplusplus
  26. extern "C"
  27. {
  28. #endif
  29. /*
  30. | T Y P E D E F S
  31. */
  32. typedef VTHDOC VTHCONTENT;
  33. typedef VTLPHDOC VTLPHCONTENT;
  34. #define CA_INVALIDITEM ((VTDWORD)-1)
  35. /*
  36. | S T R U C T U R E S
  37. */
  38. typedef struct tagSCCCAGETCONTENT
  39. {
  40. VTDWORD dwStructSize;
  41. VTDWORD dwFlags;
  42. VTDWORD dwMaxBufSize;
  43. VTDWORD dwType;
  44. VTDWORD dwSubType;
  45. VTDWORD dwData1;
  46. VTDWORD dwData2;
  47. VTDWORD dwData3;
  48. VTDWORD dwData4;
  49. VTDWORD dwDataBufSize;
  50. VTVOID *pDataBuf;
  51. } SCCCAGETCONTENT, *PSCCCAGETCONTENT;
  52. /* Possible values for SCCCAGETCONTENT.dwType */
  53. #define SCCCA_TEXT 0x0001
  54. #define SCCCA_BEGINTAG 0x0002
  55. #define SCCCA_ENDTAG 0x0003
  56. #define SCCCA_FILEPROPERTY 0x0004
  57. #define SCCCA_BREAK 0x0005
  58. #define SCCCA_OBJECT 0x0006
  59. #define SCCCA_STYLECHANGE 0x0007
  60. #define SCCCA_GENERATED 0x0008
  61. #define SCCCA_SHEET 0x0009
  62. #define SCCCA_ANNOTATION 0x000a
  63. #define SCCCA_TREENODELOCATOR 0x000b
  64. #define SCCCA_COMMENTREFERENCE 0x000c
  65. /* If dwType equals SCCCA_OBJECT then dwSubType can be ... */
  66. #define SCCCA_EMBEDDEDOBJECT 0x00000000
  67. #define SCCCA_ARCHIVEITEMCONTAINER 0x00010000 /*Used for Folder nodes*/
  68. #define SCCCA_COMPRESSEDFILE 0x00020000 /*Compressed File or the filter does not define node types*/
  69. #define SCCCA_MESSAGE 0x00030000
  70. #define SCCCA_CONTACT 0x00040000
  71. #define SCCCA_CALENDARENTRY 0x00050000
  72. #define SCCCA_NOTE 0x00060000
  73. #define SCCCA_TASK 0x00070000
  74. #define SCCCA_JOURNALENTRY 0x00080000
  75. #define SCCCA_ATTACHMENT 0x00090000
  76. #define SCCCA_FIELDSFILE 0x000A0000
  77. /* If dwType equals SCCCA_TEXT or SCCCA_GENERATED then dwSubType can be ... */
  78. #define SCCCA_DOCUMENTTEXT 0x00000001
  79. #define SCCCA_SPECIALTEXT 0x00000002
  80. #define SCCCA_OCRTEXT 0x00000004 /* Not currently implemented */
  81. /* If dwType equals SCCCA_GENERATED then dwSubType can be ... */
  82. #define SCCCA_XMPMETADATA 0x00000008
  83. #define SCCCA_URLTEXT 0x00000010
  84. /* High Word Masks for dwSubType */
  85. #define SCCCA_REVISIONDELETE 0x00010000
  86. #define SCCCA_BOLD 0x00020000
  87. #define SCCCA_ITALIC 0x00040000
  88. #define SCCCA_UNDERLINE 0x00080000
  89. #define SCCCA_DUNDERLINE 0x00100000
  90. #define SCCCA_OUTLINE 0x00200000
  91. #define SCCCA_HIDDEN 0x00400000
  92. #define SCCCA_STRIKEOUT 0x00800000
  93. #define SCCCA_SMALLCAPS 0x01000000
  94. #define SCCCA_ALLCAPS 0x02000000
  95. #define SCCCA_OCEMASK 0x04000000
  96. #define SCCCA_UNKNOWNMAP 0x08000000
  97. #define SCCCA_REVISIONADD 0x10000000
  98. #define SCCCA_ANYHIDDEN (SCCCA_HIDDEN | SCCCA_REVISIONDELETE)
  99. #define SCCCA_ANYUNDERLINE (SCCCA_UNDERLINE | SCCCA_DUNDERLINE)
  100. #define SCCCA_ALLCHARATTRS (SCCCA_BOLD | SCCCA_ITALIC | SCCCA_UNDERLINE | SCCCA_DUNDERLINE | SCCCA_OUTLINE | SCCCA_HIDDEN | SCCCA_STRIKEOUT | SCCCA_SMALLCAPS | SCCCA_ALLCAPS | SCCCA_OCEMASK | SCCCA_REVISIONDELETE | SCCCA_REVISIONADD)
  101. /* If dwType equals SCCCA_BEGINTAG or SCCCA_ENDTAG then dwSubType can ... */
  102. /*
  103. Anything that gets added here should have a corresponding string added in
  104. exd_ixml.c. TAGNAMETBLSIZE will need to be changed in ex_main.h. The
  105. SearchML schema will also have to change.
  106. */
  107. #define SCCCA_DOCUMENTPROPERTY 0x00010000
  108. #define SCCCA_BOOKMARK 0x00020000
  109. #define SCCCA_HYPERLINK 0x00030000
  110. #define SCCCA_COMPILEDFIELD 0x00040000
  111. #define SCCCA_FOOTNOTEREFERENCE 0x00050000
  112. #define SCCCA_ANNOTATIONREFERENCE 0x00060000
  113. #define SCCCA_ENDNOTEREFERENCE 0x00070000
  114. #define SCCCA_STYLE 0x00080000
  115. #define SCCCA_FRAME 0x00090000
  116. #define SCCCA_SUBDOCTEXT 0x000a0000
  117. #define SCCCA_MERGEENTRY 0x000b0000
  118. #define SCCCA_INDEXENTRY 0x000c0000
  119. #define SCCCA_LISTENTRY 0x000d0000
  120. #define SCCCA_DATEDEFINITION 0x000e0000
  121. #define SCCCA_CUSTOMDATAFORMAT 0x00100000
  122. #define SCCCA_NAMEDCELLRANGE 0x00110000
  123. #define SCCCA_COUNTERFORMAT 0x00120000
  124. #define SCCCA_INLINEDATAFORMAT 0x00130000
  125. #define SCCCA_CAPTIONTEXT 0x00140000
  126. #define SCCCA_VECTORSAVETAG 0x00150000
  127. #define SCCCA_TOCENTRY 0x00160000
  128. #define SCCCA_TOC 0x00170000
  129. #define SCCCA_INDEX 0x00180000
  130. #define SCCCA_TOF 0x00190000
  131. #define SCCCA_TOA 0x001a0000
  132. #define SCCCA_TOAENTRY 0x001b0000
  133. #define SCCCA_DOCUMENTPROPERTYNAME 0x001c0000
  134. #define SCCCA_XREF 0x001d0000
  135. #define SCCCA_GENERATOR 0x001e0000
  136. #define SCCCA_CHARACTER 0x00200000
  137. #define SCCCA_GENERATEDFIELD 0x00210000
  138. #define SCCCA_ALTFONTDATA 0x00220000
  139. #define SCCCA_FONTANDGLYPHDATA 0x00230000
  140. #define SCCCA_REFERENCEDTEXT 0x00240000
  141. #define SCCCA_SSHEADERFOOTER 0x00250000
  142. #define SCCCA_FRAME_EX 0x00260000
  143. #define SCCCA_SLIDENOTES 0x00270000
  144. #define SCCCA_LINKEDOBJECT 0x00280000
  145. #define SCCCA_EMAILFIELD 0x00290000
  146. #define SCCCA_EMAILTABLE 0x002a0000
  147. #define SCCCA_INTERNALLINK 0x002b0000 /* Not currently implemented */
  148. #define SCCCA_DIAGRAM 0x002c0000
  149. #define SCCCA_DIAGRAM_LAYOUT 0x002d0000
  150. #define SCCCA_DIAGRAM_NODE 0x002e0000
  151. #define SCCCA_DIAGRAM_COLORSTYLE 0x00300000
  152. #define SCCCA_DIAGRAM_QUICKSTYLE 0x00310000
  153. #define SCCCA_DIAGRAM_COLORSTYLE_FILL 0x00320000
  154. #define SCCCA_DIAGRAM_COLORSTYLE_LINE 0x00330000
  155. #define SCCCA_DIAGRAM_BULLET 0x00340000
  156. #define SCCCA_DIAGRAM_LAYOUTNODE 0x00350000
  157. #define SCCCA_DIAGRAM_ALGORITHM 0x00360000
  158. #define SCCCA_DIAGRAM_CHOOSE 0x00370000
  159. #define SCCCA_DIAGRAM_IF 0x00380000
  160. #define SCCCA_DIAGRAM_ELSE 0x00390000
  161. #define SCCCA_DIAGRAM_FOREACH 0x003a0000
  162. #define SCCCA_DIAGRAM_CONSTRAINT 0x003b0000
  163. #define SCCCA_DIAGRAM_RULE 0x003c0000
  164. #define SCCCA_DIAGRAM_PRESOF 0x003d0000
  165. #define SCCCA_DIAGRAM_SHAPE 0x003e0000
  166. #define SCCCA_CONDITIONALSTYLE 0x003f0000
  167. #define SCCCA_XMPDATA 0x00400000
  168. #define SCCCA_RENDEREFFECTS 0x00410000
  169. #define SCCCA_EMAILFIELDNAME 0x00420000
  170. #define SCCCA_SUBDOCPROPERTY 0x00430000
  171. #define SCCCA_HEADER 0x00440000
  172. #define SCCCA_FOOTER 0x00450000
  173. /* If dwType equals SCCCA_FILEPROPERTY then dwSubType can ... */
  174. #define SCCCA_FILEID 0x0001
  175. /* Possible values for dwData1 element of SCCCAGETCONTENT */
  176. /*
  177. | If dwType equals SCCCA_TEXT
  178. | then dwData1 is the number of characters represented by the data
  179. | returned in pDataBuf (this may be different than the size of the
  180. | data returned in pDataBuf since DBCS and UNICODE output are not
  181. | one for one with the character count).
  182. */
  183. /*
  184. | If dwType equals SCCCA_BEGINTAG or SCCCA_ENDTAG
  185. | and dwSubType equals SCCCA_DOCUMENTPROPERTY
  186. | then dwData1 can be:
  187. */
  188. /* Document properties */
  189. #define SCCCA_DOCCOMMENT 1
  190. #define SCCCA_KEYWORD 2
  191. #define SCCCA_LASTSAVEDBY 3
  192. #define SCCCA_PRIMARYAUTHOR 4
  193. #define SCCCA_SUBJECT 5
  194. #define SCCCA_TITLE 6
  195. #define SCCCA_ABSTRACT 7
  196. #define SCCCA_ACCOUNT 8
  197. #define SCCCA_ADDRESS 9
  198. #define SCCCA_ATTACHMENTS 10
  199. #define SCCCA_AUTHORIZATION 11
  200. #define SCCCA_BACKUPDATE 12
  201. #define SCCCA_BILLTO 13
  202. #define SCCCA_BLINDCOPY 14
  203. #define SCCCA_CARBONCOPY 15
  204. #define SCCCA_CATEGORY 16
  205. #define SCCCA_CHECKEDBY 17
  206. #define SCCCA_CLIENT 18
  207. #define SCCCA_COMPLETEDDATE 19
  208. #define SCCCA_COUNTCHARS 20
  209. #define SCCCA_COUNTPAGES 21
  210. #define SCCCA_COUNTWORDS 22
  211. #define SCCCA_CREATIONDATE 23
  212. #define SCCCA_DEPARTMENT 24
  213. #define SCCCA_DESTINATION 25
  214. #define SCCCA_DISPOSITION 26
  215. #define SCCCA_DIVISION 27
  216. #define SCCCA_EDITMINUTES 28
  217. #define SCCCA_EDITOR 29
  218. #define SCCCA_FORWARDTO 30
  219. #define SCCCA_GROUP 31
  220. #define SCCCA_LANGUAGE 32
  221. #define SCCCA_LASTPRINTDATE 33
  222. #define SCCCA_MAILSTOP 34
  223. #define SCCCA_MATTER 35
  224. #define SCCCA_OFFICE 36
  225. #define SCCCA_OPERATOR 37
  226. #define SCCCA_OWNER 38
  227. #define SCCCA_PROJECT 39
  228. #define SCCCA_PUBLISHER 40
  229. #define SCCCA_PURPOSE 41
  230. #define SCCCA_RECEIVEDFROM 42
  231. #define SCCCA_RECORDEDBY 43
  232. #define SCCCA_RECORDEDDATE 44
  233. #define SCCCA_REFERENCE 45
  234. #define SCCCA_REVISIONDATE 46
  235. #define SCCCA_REVISIONNOTES 47
  236. #define SCCCA_REVISIONNUMBER 48
  237. #define SCCCA_SECONDARYAUTHOR 49
  238. #define SCCCA_SECTION 50
  239. #define SCCCA_SECURITY 51
  240. #define SCCCA_SOURCE 52
  241. #define SCCCA_STATUS 53
  242. #define SCCCA_DOCTYPE 54
  243. #define SCCCA_TYPIST 55
  244. #define SCCCA_VERSIONDATE 56
  245. #define SCCCA_VERSIONNOTES 57
  246. #define SCCCA_VERSIONNUMBER 58
  247. #define SCCCA_BASEFILELOCATION 59
  248. #define SCCCA_MANAGER 60
  249. #define SCCCA_COMPANY 61
  250. #define SCCCA_LASTSAVEDATE 62
  251. #define SCCCA_PRESENTATIONFORMAT 63
  252. #define SCCCA_COUNTBYTES 64
  253. #define SCCCA_COUNTLINES 65
  254. #define SCCCA_COUNTPARAS 66
  255. #define SCCCA_COUNTSLIDES 67
  256. #define SCCCA_COUNTSLIDESHIDDEN 68
  257. #define SCCCA_COUNTNOTES 69
  258. #define SCCCA_COUNTMMCLIPS 70
  259. #define SCCCA_COUNTCHARSWITHSPACES 71
  260. #define SCCCA_SCALECROP 72
  261. #define SCCCA_LINKSDIRTY 73
  262. #define SCCCA_TITLEOFPARTS 74
  263. #define SCCCA_HEADINGPAIRS 75
  264. #define SCCCA_DOCNUMBER 76
  265. /* ID3 Document Properties */
  266. #define SCCCA_ID3_AENC 77
  267. #define SCCCA_ID3_APIC 78
  268. #define SCCCA_ID3_ASPI 79
  269. #define SCCCA_ID3_COMM 80
  270. #define SCCCA_ID3_COMR 81
  271. #define SCCCA_ID3_ENCR 82
  272. #define SCCCA_ID3_EQUA 83
  273. #define SCCCA_ID3_EQU2 84
  274. #define SCCCA_ID3_ETCO 85
  275. #define SCCCA_ID3_GEOB 86
  276. #define SCCCA_ID3_GRID 87
  277. #define SCCCA_ID3_IPLS 88
  278. #define SCCCA_ID3_LINK 89
  279. #define SCCCA_ID3_MCDI 90
  280. #define SCCCA_ID3_MLLT 91
  281. #define SCCCA_ID3_OWNE 92
  282. #define SCCCA_ID3_PRIV 93
  283. #define SCCCA_ID3_PCNT 94
  284. #define SCCCA_ID3_POPM 95
  285. #define SCCCA_ID3_POSS 96
  286. #define SCCCA_ID3_RBUF 97
  287. #define SCCCA_ID3_RVAD 98
  288. #define SCCCA_ID3_RVA2 99
  289. #define SCCCA_ID3_RVRB 100
  290. #define SCCCA_ID3_SEEK 101
  291. #define SCCCA_ID3_SIGN 102
  292. #define SCCCA_ID3_SYLT 103
  293. #define SCCCA_ID3_SYTC 104
  294. #define SCCCA_ID3_TALB 105
  295. #define SCCCA_ID3_TBPM 106
  296. #define SCCCA_ID3_TCOM 107
  297. #define SCCCA_ID3_TCON 108
  298. #define SCCCA_ID3_TCOP 109
  299. #define SCCCA_ID3_TDAT 110
  300. #define SCCCA_ID3_TDLY 111
  301. #define SCCCA_ID3_TENC 112
  302. #define SCCCA_ID3_TEXT 113
  303. #define SCCCA_ID3_TFLT 114
  304. #define SCCCA_ID3_TIME 115
  305. #define SCCCA_ID3_TIPL 116
  306. #define SCCCA_ID3_TIT1 117
  307. #define SCCCA_ID3_TIT2 118
  308. #define SCCCA_ID3_TIT3 119
  309. #define SCCCA_ID3_TKEY 120
  310. #define SCCCA_ID3_TLAN 121
  311. #define SCCCA_ID3_TLEN 122
  312. #define SCCCA_ID3_TMCL 123
  313. #define SCCCA_ID3_TMOO 124
  314. #define SCCCA_ID3_TMED 125
  315. #define SCCCA_ID3_TOAL 126
  316. #define SCCCA_ID3_TOFN 127
  317. #define SCCCA_ID3_TOLY 128
  318. #define SCCCA_ID3_TOPE 129
  319. #define SCCCA_ID3_TORY 130
  320. #define SCCCA_ID3_TOWN 131
  321. #define SCCCA_ID3_TPE1 132
  322. #define SCCCA_ID3_TPE2 133
  323. #define SCCCA_ID3_TPE3 134
  324. #define SCCCA_ID3_TPE4 135
  325. #define SCCCA_ID3_TPOS 136
  326. #define SCCCA_ID3_TPRO 137
  327. #define SCCCA_ID3_TPUB 138
  328. #define SCCCA_ID3_TRCK 139
  329. #define SCCCA_ID3_TRDA 140
  330. #define SCCCA_ID3_TRSN 141
  331. #define SCCCA_ID3_TRSO 142
  332. #define SCCCA_ID3_TSIZ 143
  333. #define SCCCA_ID3_TSRC 144
  334. #define SCCCA_ID3_TSOA 145
  335. #define SCCCA_ID3_TSOP 146
  336. #define SCCCA_ID3_TSOT 147
  337. #define SCCCA_ID3_TSSE 148
  338. #define SCCCA_ID3_TSST 149
  339. #define SCCCA_ID3_TYER 150
  340. #define SCCCA_ID3_UFID 151
  341. #define SCCCA_ID3_USER 152
  342. #define SCCCA_ID3_USLT 153
  343. #define SCCCA_ID3_WCOM 154
  344. #define SCCCA_ID3_WCOP 155
  345. #define SCCCA_ID3_WOAF 156
  346. #define SCCCA_ID3_WOAR 157
  347. #define SCCCA_ID3_WOAS 158
  348. #define SCCCA_ID3_WORS 159
  349. #define SCCCA_ID3_WPAY 160
  350. #define SCCCA_ID3_WPUB 161
  351. #define SCCCA_APPVERSION 162
  352. /* Multimedia document properties */
  353. #define SCCCA_MULTIMEDIA_ALBUM 163
  354. #define SCCCA_MULTIMEDIA_ARRANGER 164
  355. #define SCCCA_MULTIMEDIA_ARTIST 165
  356. #define SCCCA_MULTIMEDIA_AUTHOR 166
  357. #define SCCCA_MULTIMEDIA_CHAPTER 167
  358. #define SCCCA_MULTIMEDIA_COMMENT 168
  359. #define SCCCA_MULTIMEDIA_COMPOSER 169
  360. #define SCCCA_MULTIMEDIA_COPYRIGHT 170
  361. #define SCCCA_MULTIMEDIA_CREATIONDATE 171
  362. #define SCCCA_MULTIMEDIA_DESCRIPTION 172
  363. #define SCCCA_MULTIMEDIA_DIRECTOR 173
  364. #define SCCCA_MULTIMEDIA_DISCLAIMER 174
  365. #define SCCCA_MULTIMEDIA_EDITDATEDESCRIPTION 175
  366. #define SCCCA_MULTIMEDIA_ENCODER 176
  367. #define SCCCA_MULTIMEDIA_FORMAT 177
  368. #define SCCCA_MULTIMEDIA_GENRE 178
  369. #define SCCCA_MULTIMEDIA_HOSTCOMPUTER 179
  370. #define SCCCA_MULTIMEDIA_INFO 180
  371. #define SCCCA_MULTIMEDIA_ISRC 181
  372. #define SCCCA_MULTIMEDIA_RECORDLABEL 182
  373. #define SCCCA_MULTIMEDIA_RECORDLABELURL 183
  374. #define SCCCA_MULTIMEDIA_FILECREATOR 184
  375. #define SCCCA_MULTIMEDIA_FILECREATORURL 185
  376. #define SCCCA_MULTIMEDIA_MODEL 186
  377. #define SCCCA_MULTIMEDIA_TITLE 187
  378. #define SCCCA_MULTIMEDIA_ORIGINALARTIST 188
  379. #define SCCCA_MULTIMEDIA_RECORDINGCOPYRIGHT 189
  380. #define SCCCA_MULTIMEDIA_PRODUCER 190
  381. #define SCCCA_MULTIMEDIA_PERFORMER 191
  382. #define SCCCA_MULTIMEDIA_PERFORMERURL 192
  383. #define SCCCA_MULTIMEDIA_PRODUCT 193
  384. #define SCCCA_MULTIMEDIA_HWSWREQS 194
  385. #define SCCCA_MULTIMEDIA_SUBTITLE 195
  386. #define SCCCA_MULTIMEDIA_SOURCECREDITS 196
  387. #define SCCCA_MULTIMEDIA_SONGWRITER 197
  388. #define SCCCA_MULTIMEDIA_SOFTWARE 198
  389. #define SCCCA_MULTIMEDIA_TRACK 199
  390. #define SCCCA_MULTIMEDIA_WARNING 200
  391. #define SCCCA_MULTIMEDIA_WRITER 201
  392. #define SCCCA_MULTIMEDIA_URL 202
  393. #define SCCCA_MULTIMEDIA_WIDTH 203
  394. #define SCCCA_MULTIMEDIA_HEIGHT 204
  395. #define SCCCA_MULTIMEDIA_RATING 205
  396. #define SCCCA_MULTIMEDIA_ENCODERDESCRIPTION 206
  397. #define SCCCA_MULTIMEDIA_KEYWORDS 207
  398. #define SCCCA_MULTIMEDIA_RELATED 208
  399. #define SCCCA_MULTIMEDIA_CREATIONTIME 209
  400. #define SCCCA_MULTIMEDIA_MANUFACTURER 210
  401. #define SCCCA_MULTIMEDIA_ARCHIVE 211
  402. #define SCCCA_MULTIMEDIA_COMMISSIONEDBY 212
  403. #define SCCCA_MULTIMEDIA_CROPPED 213
  404. #define SCCCA_MULTIMEDIA_DIMENSIONS 214
  405. #define SCCCA_MULTIMEDIA_RESOLUTION 215
  406. #define SCCCA_MULTIMEDIA_ENGINEER 216
  407. #define SCCCA_MULTIMEDIA_LIGHTNESS 217
  408. #define SCCCA_MULTIMEDIA_MEDIUM 218
  409. #define SCCCA_MULTIMEDIA_PALETTE 219
  410. #define SCCCA_MULTIMEDIA_SUBJECT 220
  411. #define SCCCA_MULTIMEDIA_SHARPNESS 221
  412. #define SCCCA_MULTIMEDIA_SOURCEFORM 222
  413. #define SCCCA_MULTIMEDIA_TECHNICIAN 223
  414. #define SCCCA_MULTIMEDIA_NUMBEROFCHANNELS 224
  415. #define SCCCA_MULTIMEDIA_SAMPLINGRATE 225
  416. #define SCCCA_MULTIMEDIA_GROUPING 226
  417. #define SCCCA_MULTIMEDIA_CATEGORY 227
  418. #define SCCCA_MULTIMEDIA_LYRICS 228
  419. #define SCCCA_MULTIMEDIA_TVNETWORK 229
  420. #define SCCCA_MULTIMEDIA_TVSHOW 230
  421. #define SCCCA_MULTIMEDIA_EPISODE 231
  422. #define SCCCA_MULTIMEDIA_PURCHASEDATE 232
  423. #define SCCCA_XMPNAMESPACE 233
  424. /* system metadata as the document property */
  425. #define SCCCA_SYSTEM_FILESIZE 250
  426. #define SCCCA_SYSTEM_FILECREATED 251
  427. #define SCCCA_SYSTEM_FILEMODIFIED 252
  428. #define SCCCA_USERDEFINEDPROP 500
  429. /*
  430. | If dwType equals SCCCA_BEGINTAG or SCCCA_ENDTAG
  431. | and dwSubType equals SCCCA_EMAILFIELD
  432. | then dwData1 can be:
  433. */
  434. /* Base must equal the first e-mail related field. */
  435. #define SCCCA_MAIL_BASE 0x0001366A
  436. #define SCCCA_MAIL_TO 0x0001366A
  437. #define SCCCA_MAIL_CC 0x0001366B
  438. #define SCCCA_MAIL_BCC 0x0001366C
  439. #define SCCCA_MAIL_SUBJECT 0x0001366D
  440. #define SCCCA_MAIL_MSGFLAG 0x0001366E
  441. #define SCCCA_MAIL_FLAGSTS 0x0001366F
  442. #define SCCCA_MAIL_EXPIRES 0x00013670
  443. #define SCCCA_MAIL_CATEGORIES 0x00013671
  444. #define SCCCA_MAIL_IMPORTANCE 0x00013672
  445. #define SCCCA_MAIL_SENSITIVITY 0x00013673
  446. #define SCCCA_MAIL_LOCATION 0x00013674
  447. #define SCCCA_MAIL_FULLNAME 0x00013675
  448. #define SCCCA_MAIL_JOBTITLE 0x00013676
  449. #define SCCCA_MAIL_COMPANY 0x00013677
  450. #define SCCCA_MAIL_EMAIL 0x00013678
  451. #define SCCCA_MAIL_WEBPAGE 0x00013679
  452. #define SCCCA_MAIL_WORKPHONE 0x0001367A
  453. #define SCCCA_MAIL_HOMEPHONE 0x0001367B
  454. #define SCCCA_MAIL_FROM 0x0001367C
  455. #define SCCCA_MAIL_ATTACHMENT 0x0001367D
  456. #define SCCCA_MAIL_RTFBODY 0x0001367E
  457. #define SCCCA_MAIL_RECEIVED 0x0001367F
  458. #define SCCCA_MAIL_SIZE 0x00013680
  459. #define SCCCA_MAIL_LASTMODIFIED 0x00013681
  460. #define SCCCA_MAIL_NEWSGROUPS 0x00013682
  461. #define SCCCA_MAIL_SUBMITTIME 0x00013683
  462. #define SCCCA_MAIL_CCME 0x00013684
  463. /*These following fields were specifically added for extracting the fields from a PST message*/
  464. #define SCCCA_MAIL_ALTERNATE_RECIPIENT_ALLOWED 0x00013685
  465. #define SCCCA_MAIL_CLIENT_SUBMIT_TIME 0x00013686
  466. #define SCCCA_MAIL_CREATION_TIME 0x00013687
  467. #define SCCCA_MAIL_CONVERSATION_INDEX 0x00013688
  468. #define SCCCA_MAIL_CONVERSATION_TOPIC 0x00013689
  469. #define SCCCA_MAIL_MESSAGE_SUBMISSION_ID 0x0001368A
  470. #define SCCCA_MAIL_MESSAGE_CLASS 0x0001368B
  471. #define SCCCA_MAIL_ORIGINATOR_DELIVERY_REPORT_REQUESTED 0x0001368C
  472. #define SCCCA_MAIL_READ_RECEIPT_REQUESTED 0x0001368D
  473. #define SCCCA_MAIL_RCVD_REPRESENTING_ADDRTYPE 0x0001368E
  474. #define SCCCA_MAIL_RCVD_REPRESENTING_EMAIL_ADDRESS 0x0001368F
  475. #define SCCCA_MAIL_RCVD_REPRESENTING_ENTRYID 0x00013690
  476. #define SCCCA_MAIL_RCVD_REPRESENTING_NAME 0x00013691
  477. #define SCCCA_MAIL_RCVD_REPRESENTING_SEARCH_KEY 0x00013692
  478. #define SCCCA_MAIL_RECEIVED_BY_ADDRTYPE 0x00013693
  479. #define SCCCA_MAIL_RECEIVED_BY_EMAIL_ADDRESS 0x00013694
  480. #define SCCCA_MAIL_RECEIVED_BY_ENTRYID 0x00013695
  481. #define SCCCA_MAIL_RECEIVED_BY_NAME 0x00013696
  482. #define SCCCA_MAIL_RECEIVED_BY_SEARCH_KEY 0x00013697
  483. #define SCCCA_MAIL_RTF_IN_SYNC 0x00013698
  484. #define SCCCA_MAIL_RTF_SYNC_BODY_COUNT 0x00013699
  485. #define SCCCA_MAIL_RTF_SYNC_BODY_CRC 0x0001369A
  486. #define SCCCA_MAIL_RTF_SYNC_BODY_TAG 0x0001369B
  487. #define SCCCA_MAIL_RTF_SYNC_PREFIX_COUNT 0x0001369C
  488. #define SCCCA_MAIL_RTF_SYNC_TRAILING_COUNT 0x0001369D
  489. #define SCCCA_MAIL_SEARCH_KEY 0x0001369E
  490. #define SCCCA_MAIL_SENDER_ADDRTYPE 0x0001369F
  491. #define SCCCA_MAIL_SENDER_EMAIL_ADDRESS 0x000136A0
  492. #define SCCCA_MAIL_SENDER_ENTRYID 0x000136A1
  493. #define SCCCA_MAIL_SENDER_NAME 0x000136A2
  494. #define SCCCA_MAIL_SENDER_SEARCH_KEY 0x000136A3
  495. #define SCCCA_MAIL_SENT_REPRESENTING_ADDRTYPE 0x000136A4
  496. #define SCCCA_MAIL_SENT_REPRESENTING_EMAIL_ADDRESS 0x000136A5
  497. #define SCCCA_MAIL_SENT_REPRESENTING_ENTRYID 0x000136A6
  498. #define SCCCA_MAIL_SENT_REPRESENTING_SEARCH_KEY 0x000136A7
  499. #define SCCCA_MAIL_TRANSPORT_MESSAGE_HEADERS 0x000136A8
  500. #define SCCCA_MAIL_PRIORITY 0x000136A9
  501. #define SCCCA_MAIL_AUTO_FORWARDED 0x000136AA
  502. #define SCCCA_MAIL_DEFERRED_DELIVERY_TIME 0x000136AB
  503. #define SCCCA_MAIL_EXPIRY_TIME 0x000136AC
  504. #define SCCCA_MAIL_LATEST_DELIVERY_TIME 0x000136AD
  505. #define SCCCA_MAIL_RECIPIENT_REASSIGNMENT_PROHIBITED 0x000136AE
  506. #define SCCCA_MAIL_REPLY_TIME 0x000136AF
  507. #define SCCCA_MAIL_REPORT_TAG 0x000136B0
  508. #define SCCCA_MAIL_RESPONSE_REQUESTED 0x000136B1
  509. #define SCCCA_MAIL_REPLY_REQUESTED 0x000136B2
  510. #define SCCCA_MAIL_DELETE_AFTER_SUBMIT 0x000136B3
  511. #define SCCCA_MAIL_MESSAGE_LOCALE_ID 0x000136B4
  512. #define SCCCA_MAIL_CREATOR_NAME 0x000136B5
  513. #define SCCCA_MAIL_CREATOR_ENTRYID 0x000136B6
  514. #define SCCCA_MAIL_LAST_MODIFIER_NAME 0x000136B7
  515. #define SCCCA_MAIL_LAST_MODIFIER_ENTRYID 0x000136B8
  516. #define SCCCA_MAIL_INTERNET_ARTICLE_NUMBER 0x000136B9
  517. #define SCCCA_MAIL_NT_SECURITY_DESCRIPTOR 0x000136BA
  518. #define SCCCA_MAIL_TRUST_SENDER 0x000136BB
  519. #define SCCCA_MAIL_INTERNET_MESSAGE_ID 0x000136BC
  520. #define SCCCA_MAIL_ATTR_HIDDEN 0x000136BD
  521. #define SCCCA_MAIL_ATTR_SYSTEM 0x000136BE
  522. #define SCCCA_MAIL_ATTR_READONLY 0x000136BF
  523. #define SCCCA_MAIL_INTERNET_CPID 0x000136C0
  524. #define SCCCA_MAIL_MESSAGE_CODEPAGE 0x000136C1
  525. #define SCCCA_MAIL_SENDER_FLAGS 0x000136C2
  526. #define SCCCA_MAIL_SENT_REPRESENTING_FLAGS 0x000136C3
  527. #define SCCCA_MAIL_RCVD_BY_FLAGS 0x000136C4
  528. #define SCCCA_MAIL_RCVD_REPRESENTING_FLAGS 0x000136C5
  529. #define SCCCA_MAIL_INET_MAIL_OVERRIDE_FORMAT 0x000136C6
  530. #define SCCCA_MAIL_MSG_EDITOR_FORMAT 0x000136C7
  531. #define SCCCA_MAIL_PROFILE_CONNECT_FLAGS 0x000136C8
  532. #define SCCCA_MAIL_SENT_REPRESENTING_NAME 0x000136C9
  533. #define SCCCA_MAIL_ENTRYID 0x000136CA
  534. #define SCCCA_MAIL_NORMALIZED_SUBJECT 0x000136CB
  535. #define SCCCA_MAIL_ATTENDEES 0x000136CC
  536. #define SCCCA_MAIL_REQATTENDEE 0x000136CD
  537. #define SCCCA_MAIL_OPTATTENDEE 0x000136CE
  538. #define SCCCA_MAIL_FILEAS 0x000136CF
  539. #define SCCCA_MAIL_DISPLAYAS 0x000136D0
  540. #define SCCCA_MAIL_TITLE 0x000136D1
  541. #define SCCCA_MAIL_SUFFIX 0x000136D2
  542. #define SCCCA_MAIL_NICKNAME 0x000136D3
  543. #define SCCCA_MAIL_PROFESSION 0x000136D4
  544. #define SCCCA_MAIL_DEPARTMENT 0x000136D5
  545. #define SCCCA_MAIL_OFFICE 0x000136D6
  546. #define SCCCA_MAIL_ANNIVERSARY 0x000136D7
  547. #define SCCCA_MAIL_BIRTHDATE 0x000136D8
  548. #define SCCCA_MAIL_ASSISTANTSNAME 0x000136D9
  549. #define SCCCA_MAIL_SPOUSESNAME 0x000136DA
  550. #define SCCCA_MAIL_MANAGERSNAME 0x000136DB
  551. #define SCCCA_MAIL_BUSINESSADDRESS 0x000136DC
  552. #define SCCCA_MAIL_BUSINESSPHONE 0x000136DD
  553. #define SCCCA_MAIL_HOMEADDRESS 0x000136DE
  554. #define SCCCA_MAIL_OTHERADDRESS 0x000136DF
  555. #define SCCCA_MAIL_MOBILEPHONE 0x000136E0
  556. #define SCCCA_MAIL_BUSINESSFAX 0x000136E1
  557. #define SCCCA_MAIL_IMADDRESS 0x000136E2
  558. #define SCCCA_MAIL_INTERNETFREEBUSYADDR 0x000136E3
  559. #define SCCCA_MAIL_REMINDERTOPIC 0x000136E4
  560. #define SCCCA_MAIL_CONTACTS 0x000136E5
  561. #define SCCCA_MAIL_CALLBACKPHONE 0x000136E6
  562. #define SCCCA_MAIL_FIRST 0x000136E7
  563. #define SCCCA_MAIL_FAMILY 0x000136E8
  564. #define SCCCA_MAIL_TELENUMBER 0x000136E9
  565. #define SCCCA_MAIL_BUSINESSPHONE2 0x000136EA
  566. #define SCCCA_MAIL_RADIOPHONE 0x000136EB
  567. #define SCCCA_MAIL_CARPHONE 0x000136EC
  568. #define SCCCA_MAIL_OTHERPHONE 0x000136ED
  569. #define SCCCA_MAIL_PAGERPHONE 0x000136EE
  570. #define SCCCA_MAIL_OTHERFAX 0x000136EF
  571. #define SCCCA_MAIL_HOMEFAX 0x000136F0
  572. #define SCCCA_MAIL_TELEXPHONE 0x000136F1
  573. #define SCCCA_MAIL_ISDN 0x000136F2
  574. #define SCCCA_MAIL_ASSISTANTPHONE 0x000136F3
  575. #define SCCCA_MAIL_HOMEPHONE2 0x000136F4
  576. #define SCCCA_MAIL_MIDDLE 0x000136F5
  577. #define SCCCA_MAIL_TTYTTDPHONE 0x000136F6
  578. #define SCCCA_MAIL_GENDER 0x000136F7
  579. #define SCCCA_MAIL_PERSONALHOMEPAGE 0x000136F8
  580. #define SCCCA_MAIL_COMPANYPHONE 0x000136F9
  581. #define SCCCA_MAIL_HOMECITY 0x000136FA
  582. #define SCCCA_MAIL_HOMECOUNTRY 0x000136FB
  583. #define SCCCA_MAIL_POSTALCODE 0x000136FC
  584. #define SCCCA_MAIL_HOMESTATE 0x000136FD
  585. #define SCCCA_MAIL_HOMESTREET 0x000136FE
  586. #define SCCCA_MAIL_HOMEPOBOX 0x000136FF
  587. #define SCCCA_MAIL_OTHERCITY 0x00013700
  588. #define SCCCA_MAIL_OTHERCOUNTRY 0x00013701
  589. #define SCCCA_MAIL_OTHERPOSTALCODE 0x00013702
  590. #define SCCCA_MAIL_OTHERSTATE 0x00013703
  591. #define SCCCA_MAIL_OTHERSTREET 0x00013704
  592. #define SCCCA_MAIL_OTHERPOBOX 0x00013705
  593. #define SCCCA_MAIL_BUSINESSSTREET 0x00013706
  594. #define SCCCA_MAIL_BUSINESSCITY 0x00013707
  595. #define SCCCA_MAIL_BUSINESSSTATE 0x00013708
  596. #define SCCCA_MAIL_BUSINESSPOSTALCODE 0x00013709
  597. #define SCCCA_MAIL_BUSINESSCOUNTRY 0x0001370A
  598. #define SCCCA_MAIL_BUSINESSPOBOX 0x0001370B
  599. #define SCCCA_MAIL_DISPLAYAS2 0x0001370C
  600. #define SCCCA_MAIL_EMAIL2 0x0001370D
  601. #define SCCCA_MAIL_DISPLAYAS3 0x0001370E
  602. #define SCCCA_MAIL_EMAIL3 0x0001370F
  603. #define SCCCA_MAIL_DTSTART 0x00013710
  604. #define SCCCA_MAIL_DTEND 0x00013711
  605. #define SCCCA_MAIL_START 0x00013712
  606. #define SCCCA_MAIL_DURATION 0x00013713
  607. #define SCCCA_MAIL_ACCUREATTYPE1 0x00013714
  608. #define SCCCA_MAIL_ENTRY_TYPE 0x00013715
  609. #define SCCCA_MAIL_STATUS 0x00013716
  610. #define SCCCA_MAIL_PERCENT_COMPLETE 0x00013717
  611. #define SCCCA_MAIL_START_DATE 0x00013718
  612. #define SCCCA_MAIL_DUE_DATE 0x00013719
  613. #define SCCCA_MAIL_COMPLETED 0x0001371A
  614. #define SCCCA_MAIL_ACTUALWORK 0x0001371B
  615. #define SCCCA_MAIL_TOTAL_WORK 0x0001371C
  616. #define SCCCA_MAIL_OWNER 0x0001371D
  617. #define SCCCA_MAIL_BILLING 0x0001371E
  618. #define SCCCA_MAIL_MILEAGE 0x0001371F
  619. /* Default used if we can not retrieve the e-mail field id for any reason. */
  620. #define SCCCA_MAIL_UNKNOWN 0x00013720
  621. /* End must equal the last e-mail related field. */
  622. #define SCCCA_MAIL_END 0x00013720
  623. #define SCCCA_MAIL_USERDEFINED 0x00014000
  624. /*
  625. | If dwType equals SCCCA_BEGINTAG and dwSubType equals SCCCA_DOCUMENTPROPERTY
  626. | then dwData1 can be:
  627. */
  628. #define SCCCA_MAILTYPE_EMAIL 0
  629. #define SCCCA_MAILTYPE_JOURNAL 1
  630. #define SCCCA_MAILTYPE_CONTACT 2
  631. #define SCCCA_MAILTYPE_NOTE 3
  632. #define SCCCA_MAILTYPE_APPOINTMENT 4
  633. #define SCCCA_MAILTYPE_TASK 5
  634. /* values for SCCCA_SUBDOCPROPERTY */
  635. #define SCCCA_SUBDOC_AUTHOR 1
  636. #define SCCCA_SUBDOC_CREATEDATE 2
  637. #define SCCCA_SUBDOC_LASTSAVEDATE 3
  638. #define SCCCA_SUBDOC_TITLE 4
  639. #define SCCCA_SUBDOC_NOTES 5
  640. #define SCCCA_SUBDOC_AUTHORSHORT 6 /* either initials or short version of name */
  641. /* values for SCCCA_COMMENTREFERENCE */
  642. #define SCCCA_COMMENT_PARAGRAPH 0
  643. #define SCCCA_COMMENT_CELL 1
  644. #define SCCCA_COMMENT_SLIDE 2
  645. #define SCCCA_COMMENT_VECTORPAGE 3
  646. /*
  647. | If dwType equals SCCCA_ENDTAG
  648. | and dwSubType equals SCCCA_DOCUMENTPROPERTY
  649. | then dwData1 can be:
  650. */
  651. #define SCCCA_NOGENERATEDTEXT 0
  652. #define SCCCA_GENERATEDTEXT 1
  653. #define SCCCA_COULDNOTGENERATE 0xffffffff
  654. /*
  655. | If dwType equals SCCCA_FILEPROPERTY
  656. | and dwSubType equals SCCCA_FILEID
  657. | then dwData1 can be one of the file id values found in sccfi.h
  658. */
  659. /* Possible values for dwData2 element of SCCCAGETCONTENT */
  660. /*
  661. | If dwType equals SCCCA_TEXT
  662. | then dwData2 is the character set of the data provided in pDataBuf.
  663. */
  664. /* dwData3 and dwData4 are reserved */
  665. /* Possible values of SCCCAGETCONTENT.dwSubType: */
  666. /* If dwType equals SCCCA_STYLECHANGE then dwSubType can be ... */
  667. #define SCCCA_PARASTYLE 0x00000001
  668. #define SCCCA_CHARSTYLE 0x00000002
  669. /*
  670. Height and spacing are specified together because spacing can be relative
  671. to height.
  672. */
  673. #define SCCCA_HEIGHTANDSPACING 0x00000003
  674. /*
  675. Indents are specified together because they can all be specified at once and
  676. because first line indent can be relative to left indent.
  677. */
  678. #define SCCCA_INDENTS 0x00000004
  679. #define SCCCA_OCE 0x00000005 /* Original character encoding. */
  680. #define SCCCA_TEXTCONT 0x00000006 /* Continuation for text. */
  681. #define SCCCA_HYPERLINKCONT 0x00000007 /* Continuation for hyperlink. */
  682. /*
  683. Possible values of dwData1 when dwType = SCCCA_STYLECHANGE and
  684. dwSubType = SCCCA_PARASTYLE.
  685. */
  686. #define SCCCA_PARASTYLENAME 0x00000001
  687. /*
  688. Possible values of dwData1 when dwType = SCCCA_STYLECHANGE and
  689. dwSubType = SCCCA_HEIGHTANDSPACING. One or more orred together.
  690. */
  691. #define SCCCA_HEIGHT 0x00010000
  692. #define SCCCA_SPACING 0x00020000
  693. /*
  694. Possible values of dwData1 when dwType = SCCCA_STYLECHANGE and
  695. dwSubType = SCCCA_INDENTS. One or more orred together.
  696. */
  697. #define SCCCA_LEFTINDENT 0x00010000
  698. #define SCCCA_RIGHTINDENT 0x00020000
  699. #define SCCCA_FIRSTINDENT 0x00040000
  700. /* Possible values of dwSubType when dwType equals SCCCA_ANNOTATION. */
  701. #define SCCCA_ANNOTATION_FOOTNOTE 1
  702. #define SCCCA_ANNOTATION_ENDNOTE 2
  703. #define SCCCA_ANNOTATION_ANNOTATION 3
  704. #define SCCCA_ANNOTATION_NOTE 4
  705. #define SCCCA_ANNOTATION_COMMENT 5
  706. #define SCCCA_ANNOTATION_SLIDENOTE 6
  707. /*
  708. | P R O T O T Y P E S
  709. */
  710. DA_ENTRYSC DAERR DA_ENTRYMOD CAOpenContent(VTHDOC hDoc, VTLPHCONTENT phContent );
  711. DA_ENTRYSC DAERR DA_ENTRYMOD CACloseContent(VTHCONTENT hContent);
  712. DA_ENTRYSC DAERR DA_ENTRYMOD CAReadFirst(VTHCONTENT hContent, PSCCCAGETCONTENT pGetContent);
  713. DA_ENTRYSC DAERR DA_ENTRYMOD CAReadNext(VTHCONTENT hContent, PSCCCAGETCONTENT pGetContent);
  714. DA_ENTRYSC DAERR DA_ENTRYMOD CATell(VTHCONTENT hContent, PSCCDAPOS pPos );
  715. DA_ENTRYSC DAERR DA_ENTRYMOD CASeek(VTHCONTENT hContent,PSCCDAPOS pPos );
  716. #ifdef __cplusplus
  717. }
  718. #endif
  719. #ifdef SCC_PACKED_BY_SCCCA_H
  720. #pragma pack(pop)
  721. #undef SCC_PACKED_BY_SCCCA_H
  722. #undef SCC_PACK_SET
  723. #endif /* SCC_PACKED_BY_SCCCA_H */
  724. #endif /* SCCCA_H */