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