• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.5 API Reference
  • KDE Home
  • Contact Us
 

KTNEF Library

ktnefdefs.h
Go to the documentation of this file.
00001 /*
00002     ktnefdefs.h
00003 
00004     Copyright (C) 2002 Michael Goffioul <kdeprint@swing.be>
00005 
00006     This file is part of KTNEF, the KDE TNEF support library/program.
00007 
00008     This library is free software; you can redistribute it and/or
00009     modify it under the terms of the GNU Library General Public
00010     License as published by the Free Software Foundation; either
00011     version 2 of the License, or (at your option) any later version.
00012 
00013     This library is distributed in the hope that it will be useful,
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016     Library General Public License for more details.
00017 
00018     You should have received a copy of the GNU Library General Public License
00019     along with this library; see the file COPYING.LIB.  If not, write to
00020     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00021     Boston, MA 02110-1301, USA.
00022  */
00031 #ifndef KTNEFDEFS_H
00032 #define KTNEFDEFS_H
00033 //@cond IGNORE
00034 #define TNEF_SIGNATURE   0x223e9f78
00035 #define LVL_MESSAGE      0x01
00036 #define LVL_ATTACHMENT   0x02
00037 
00038 #define atpSTRING   0x0001
00039 #define atpTEXT     0x0002
00040 #define atpDATE     0x0003
00041 #define atpSHORT    0x0004
00042 #define atpLONG     0x0005
00043 #define atpBYTE     0x0006
00044 #define atpWORD     0x0007
00045 #define atpDWORD    0x0008
00046 
00047 #define attDATESTART      0x0006
00048 #define attDATEEND        0x0007
00049 #define attAIDOWNER       0x0008
00050 #define attREQUESTRES     0x0009
00051 #define attFROM           0x8000
00052 #define attSUBJECT        0x8004
00053 #define attDATESENT       0x8005
00054 #define attDATERECD       0x8006
00055 #define attMSGSTATUS      0x8007
00056 #define attMSGCLASS       0x8008
00057 #define attMSGID          0x8009
00058 #define attBODY           0x800c
00059 #define attMSGPRIORITY    0x800d
00060 #define attATTACHDATA     0x800f    /* Attachment Data */
00061 #define attATTACHTITLE    0x8010    /* Attachment File Name */
00062 #define attATTACHMETAFILE 0x8011
00063 #define attATTACHCREATEDATE 0x8012
00064 #define attATTACHMODDATE  0x8013
00065 #define attDATEMODIFIED   0x8020
00066 #define attATTACHRENDDATA 0x9002
00067 #define attMAPIPROPS      0x9003
00068 #define attRECIPTABLE     0x9004
00069 #define attATTACHMENT     0x9005    /* Attachment properties (?) */
00070 #define attTNEFVERSION    0x9006
00071 #define attOEMCODEPAGE    0x9007
00072 
00073 /* These are found in TNEF documentation, but have so far not been implemented
00074 #define attATTACHCREATEDATE        0x0000
00075 #define attATTACHTRANSPORTFILENAME 0x0000
00076 #define attCONVERSATIONID          0x0000
00077 #define attORIGINALMSGCLASS        0x0000
00078 #define attOWNER                   0x0000
00079 #define attPARENTID                0x0000
00080 #define attNULL                    0x0000
00081 #define attDELEGATE                0x0000
00082 #define attSENTFOR                 0x0000
00083 */
00084 
00085 #define fmsModified   0x01
00086 #define fmsLocal      0x02
00087 #define fmsSubmitted  0x04
00088 #define fmsRead       0x20
00089 #define fmsHasAttach  0x80
00090 #define MSGFLAG_READ       0x00000001
00091 #define MSGFLAG_UNMODIFIED 0x00000002
00092 #define MSGFLAG_SUBMIT     0x00000004
00093 #define MSGFLAG_UNSENT     0x00000008
00094 #define MSGFLAG_HASATTACH  0x00000010
00095 
00096 // supported MAPI types
00097 #define MAPI_TYPE_NONE      0x0000
00098 #define MAPI_TYPE_UINT16    0x0002
00099 #define MAPI_TYPE_ULONG     0x0003
00100 #define MAPI_TYPE_FLOAT     0x0004
00101 #define MAPI_TYPE_DOUBLE    0x0005
00102 #define MAPI_TYPE_BOOLEAN   0x000b
00103 #define MAPI_TYPE_OBJECT    0x000d
00104 #define MAPI_TYPE_TIME      0x0040
00105 #define MAPI_TYPE_STRING8   0x001e
00106 #define MAPI_TYPE_USTRING   0x001f
00107 #define MAPI_TYPE_BINARY    0x0102
00108 #define MAPI_TYPE_VECTOR    0x1000
00109 
00110 // supported MAPI tags
00111 #define MAPI_TAG_INDEX          0x0e21
00112 #define MAPI_TAG_SIZE           0x0e20
00113 #define MAPI_TAG_FILENAME       0x3707
00114 #define MAPI_TAG_DISPLAYNAME    0x3001
00115 #define MAPI_TAG_DATA           0x3701
00116 #define MAPI_TAG_ATTACHENCODING 0x3702
00117 #define MAPI_TAG_EXTENSION      0x3703
00118 #define MAPI_TAG_ATTACHMETHOD   0x3705
00119 #define MAPI_TAG_RENDERINGPOS   0x370b
00120 #define MAPI_TAG_MIMETAG        0x370e
00121 #define MAPI_TAG_ATTACHFLAGS    0x3714
00122 
00123 #define MAPI_IID_IMessage 0x00020307
00124 
00125 // unsupported Outlook Contact Properties
00126 // note: properties beginning with MAPI_TAG_CONTACT
00127 //       are 'named' properties
00128 #define MAPI_TAG_PR_MESSAGE_DELIVERY_TIME    0x0E060040  // CreationTime
00129 #define MAPI_TAG_PR_MESSAGE_SIZE             0x0E080003  // Size
00130 #define MAPI_TAG_PR_SENSITIVITY              0x00360003  // Sensitivity
00131 #define MAPI_TAG_PR_MESSAGE_CLASS            0x001A001F  // MessageClass
00132 #define MAPI_TAG_PR_IMPORTANCE               0x00170003  // Importance
00133 #define MAPI_TAG_PR_ENTRYID                  0x0FFF0102  // EntryID
00134 #define MAPI_TAG_PR_BODY                     0x1000001F  // Body
00135 #define MAPI_TAG_CONTACT_Categories          "Keywords"  // Categories
00136 #define MAPI_TAG_PR_DISPLAY_NAME             0x3001001F  // FullName
00137 #define MAPI_TAG_PR_TITLE                    0x3A17001F  // JobTitle
00138 #define MAPI_TAG_PR_COMPANY_NAME             0x3A16001F  // CompanyName
00139 #define MAPI_TAG_PR_DISPLAY_NAME_PREFIX      0x3A45001E  // Title
00140 #define MAPI_TAG_PR_SURNAME                  0x3A11001E  // LastName
00141 #define MAPI_TAG_PR_MIDDLE_NAME              0x3A44001F  // MiddleName
00142 #define MAPI_TAG_PR_GIVEN_NAME               0x3A06001F  // FirstName
00143 #define MAPI_TAG_PR_GENERATION               0x3A05001E  // Suffix
00144 #define MAPI_TAG_PR_BUSINESS_HOME_PAGE       0x3A51001F  // BusinessHomePage
00145 #define MAPI_TAG_PR_PERSONAL_HOME_PAGE       0x3A50001F  // PersonalHomePage
00146 #define MAPI_TAG_PR_FTP_SITE                 0x3A4C001E  // FTPSite
00147 #define MAPI_TAG_PR_INITIALS                 0x3A0A001E  // Initials
00148 
00149 #define MAPI_TAG_CONTACT_FILEUNDER                 "0x8005"    // FileAs
00150 
00151 #define MAPI_TAG_CONTACT_LASTNAMEANDFIRSTNAME      "0x8017"    // LastNameandFirstName
00152 #define MAPI_TAG_CONTACT_COMPANYANDFULLNAME        "0x8018"    // CompanyAndFullName
00153 #define MAPI_TAG_CONTACT_FULLNAMEANDCOMPANY        "0x8019"    // FullNameAndCompany
00154 
00155 #define MAPI_TAG_CONTACT_HOMEADDRESS               "0x801A"    // HomeAddress
00156 #define MAPI_TAG_CONTACT_BUSINESSADDRESS           "0x801B"    // BusinessAddress
00157 #define MAPI_TAG_CONTACT_OTHERADDRESS              "0x801C"    // OtherAddress
00158 #define MAPI_TAG_CONTACT_SELECTEDADDRESS           "0x8022"    // SelectedMailingAddress:
00159                                                                // 0 = None
00160                                                                // 1 = Home
00161                                                                // 2 = Business
00162                                                                // 3 = Other
00163 
00164 #define MAPI_TAG_CONTACT_WEBPAGE                   "0x802B"    // WebPage
00165 #define MAPI_TAG_CONTACT_YOMIFIRSTNAME             "0x802C"    // YomiFirstName
00166 #define MAPI_TAG_CONTACT_YOMILASTNAME              "0x802D"    // YomiLastName
00167 #define MAPI_TAG_CONTACT_YOMICOMPANYNAME           "0x802E"    // YomiCompanyName
00168 
00169 #define MAPI_TAG_CONTACT_LASTFIRSTNOSPACE          "0x8030"    // LastFirstNoSpace
00170 #define MAPI_TAG_CONTACT_LASTFIRSTSPACEONLY        "0x8031"    // LastFirstSpaceOnly
00171 #define MAPI_TAG_CONTACT_COMPANYLASTFIRSTNOSPACE   "0x8032"    // CompanyLastFirstNoSpace
00172 #define MAPI_TAG_CONTACT_COMPANYLASTFIRSTSpaceOnly "0x8033"    // CompanyLastFirstSpaceOnly
00173 #define MAPI_TAG_CONTACT_LASTFIRSTNOSPACECOMPANY   "0x8034"    // LastFirstNoSpaceCompany
00174 #define MAPI_TAG_CONTACT_LASTFIRSTSPACEONLYCOMPANY "0x8035"    // LastFirstSpaceOnlyCompany
00175 #define MAPI_TAG_CONTACT_LASTFIRSTANDSuffix        "0x8036"    // LastFirstAndSuffix
00176 
00177 #define MAPI_TAG_CONTACT_BUSINESSADDRESSSTREET     "0x8045"    // BusinessAddressStreet
00178 #define MAPI_TAG_CONTACT_BUSINESSADDRESSCITY       "0x8046"    // BusinessAddressCity
00179 #define MAPI_TAG_CONTACT_BUSINESSADDRESSSTATE      "0x8047"    // BusinessAddressState
00180 #define MAPI_TAG_CONTACT_BUSINESSADDRESSPOSTALCODE "0x8048"    // BusinessAddressPostalCode
00181 #define MAPI_TAG_CONTACT_BUSINESSADDRESSCOUNTRY    "0x8049"    // BusinessAddressCountry
00182 #define MAPI_TAG_CONTACT_BUSINESSADDRESSPOBOX      "0x804A"    // BusinessAddressPostOfficeBox
00183 
00184 #define MAPI_TAG_CONTACT_USERFIELD1                "0x804F"    // UserField1
00185 #define MAPI_TAG_CONTACT_USERFIELD2                "0x8050"    // UserField2
00186 #define MAPI_TAG_CONTACT_USERFIELD3                "0x8051"    // UserField3
00187 #define MAPI_TAG_CONTACT_USERFIELD4                "0x8052"    // UserField4
00188 
00189 #define MAPI_TAG_CONTACT_IMADDRESS                 "0x8062" // InternetMailAddress (>= Outlook 2002)
00190 
00191 #define MAPI_TAG_CONTACT_EMAIL1ADDRTYPE            "0x8082"    // EMail1AddressType
00192 #define MAPI_TAG_CONTACT_EMAIL1EMAILADDRESS        "0x8083"    // EMail1Address
00193 #define MAPI_TAG_CONTACT_EMAIL1ORIGINALDISPLAYNAME "0x8084"    // EMail1DisplayName
00194 #define MAPI_TAG_CONTACT_EMAIL1ORIGINALENTRYID     "0x8085"    // EMail1EntryID
00195 
00196 #define MAPI_TAG_CONTACT_EMAIL2ADDRTYPE            "0x8092"    // EMail2AddressType
00197 #define MAPI_TAG_CONTACT_EMAIL2EMAILADDRESS        "0x8093"    // EMail2Address
00198 #define MAPI_TAG_CONTACT_EMAIL2ORIGINALDISPLAYNAME "0x8094"    // EMail2DisplayName
00199 #define MAPI_TAG_CONTACT_EMAIL2ORIGINALENTRYID     "0x8095"    // EMail2EntryID
00200 
00201 #define MAPI_TAG_CONTACT_EMAIL3ADDRTYPE            "0x80A2"    // EMail3AddressType
00202 #define MAPI_TAG_CONTACT_EMAIL3EMAILADDRESS        "0x80A3"    // EMail3Address
00203 #define MAPI_TAG_CONTACT_EMAIL3ORIGINALDISPLAYNAME "0x80A4"    // EMail3DisplayName
00204 #define MAPI_TAG_CONTACT_EMAIL3ORIGINALENTRYID     "0x80A5"    // EMail3EntryID
00205 
00206 #define MAPI_TAG_CONTACT_INTERNETFREEBUSYADDRESS   "0x80D8"    // InternetFreeBusyAddress
00207 
00208 #define MAPI_TAG_CONTACT_BILLINGINFORMATION        "0x8535"    // BillingInformation
00209 #define MAPI_TAG_CONTACT_REMINDERTIME              "0x8502"    // N/A
00210 #define MAPI_TAG_CONTACT_MILEAGE                   "0x8534"    // Mileage
00211 
00212 #define MAPI_TAG_PR_ASSISTANT_TELEPHONE_NUMBER     0x3A2E001F  // AssistantTelephoneNumber
00213 #define MAPI_TAG_PR_BUSINESS_TELEPHONE_NUMBER      0x3A08001F  // BusinessTelephoneNumber
00214 #define MAPI_TAG_PR_BUSINESS2_TELEPHONE_NUMBER     0x3A1B001F  // Business2TelephoneNumber
00215 #define MAPI_TAG_PR_BUSINESS_FAX_NUMBER            0x3A24001F  // BusinessFaxNumber
00216 #define MAPI_TAG_PR_CALLBACK_TELEPHONE_NUMBER      0x3A02001F  // CallbackTelephoneNumber
00217 #define MAPI_TAG_PR_CAR_TELEPHONE_NUMBER           0x3A1E001F  // CarTelephoneNumber
00218 
00219 #define MAPI_TAG_PR_COMPANY_MAIN_PHONE_NUMBER      0x3A57001F  // CompanyMainTelephoneNumber
00220 
00221 #define MAPI_TAG_PR_HOME_TELEPHONE_NUMBER          0x3A09001F  // HomeTelephoneNumber
00222 
00223 #define MAPI_TAG_PR_HOME2_TELEPHONE_NUMBER         0x3A2F001F  // Home2TelephoneNumber
00224 #define MAPI_TAG_PR_HOME_FAX_NUMBER                0x3A25001F  // HomeFaxNumber
00225 #define MAPI_TAG_PR_ISDN_NUMBER                    0x3A2D001F  // ISDNNumber
00226 
00227 #define MAPI_TAG_PR_MOBILE_TELEPHONE_NUMBER        0x3A1C001F  // MobileTelephoneNumber
00228 
00229 #define MAPI_TAG_PR_OTHER_TELEPHONE_NUMBER         0x3A1F001F  // OtherTelephoneNumber
00230 #define MAPI_TAG_PR_PRIMARY_FAX_NUMBER             0x3A23001F  // OtherFaxNumber
00231 #define MAPI_TAG_PR_PAGER_TELEPHONE_NUMBER         0x3A21001F  // PagerNumber
00232 #define MAPI_TAG_PR_PRIMARY_TELEPHONE_NUMBER       0x3A1A001F  // PrimaryTelephoneNumber
00233 
00234 #define MAPI_TAG_PR_RADIO_TELEPHONE_NUMBER         0x3A1D001F  // RadioTelephoneNumber
00235 
00236 #define MAPI_TAG_PR_TELEX_NUMBER                   0x3A2C001F  // TelexNumber
00237 #define MAPI_TAG_PR_TTYTDD_PHONE_NUMBER            0x3A4B001F  // TTYTDDTelephoneNumber
00238 #define MAPI_TAG_PR_POSTAL_ADDRESS                 0x3A15001F  // MailingAddress
00239 
00240 #define MAPI_TAG_PR_BUSINESS_ADDRESS_COUNTRY       0x3A26001E  // MailingAddressCountry
00241 #define MAPI_TAG_PR_LOCALITY                       0x3A27001F  // MailingAddressCity
00242 #define MAPI_TAG_PR_STATE_OR_PROVINCE              0x3A28001E  // MailingAddressState
00243 #define MAPI_TAG_PR_STREET_ADDRESS                 0x3A29001F  // MailingAddressStreet
00244 #define MAPI_TAG_PR_POSTAL_CODE                    0x3A2A001E  // MailingAddressPostalCode
00245 #define MAPI_TAG_PR_PO_BOX                         0x3A2B001E  // MailingAddressPostOfficeBox
00246 
00247 #define MAPI_TAG_PR_HOME_ADDRESS_CITY              0x3A59001E  // HomeAddressCity
00248 #define MAPI_TAG_PR_HOME_ADDRESS_STREET            0x3A5D001E  // HomeAddressStreet
00249 #define MAPI_TAG_PR_HOME_ADDRESS_STATE_OR_PROVINCE 0x3A5C001E  // HomeAddressState
00250 #define MAPI_TAG_PR_HOME_ADDRESS_COUNTRY           0x3A5A001E  // HomeAddressCountry
00251 #define MAPI_TAG_PR_HOME_ADDRESS_PO_BOX            0x3A5E001E  // HomeAddressPostOfficeBox
00252 #define MAPI_TAG_PR_HOME_ADDRESS_POSTAL_CODE       0x3A5B001E  // HomeAddressPostalCode
00253 
00254 #define MAPI_TAG_PR_OTHER_ADDRESS_CITY             0x3A5F001E  // OtherAddressCity
00255 #define MAPI_TAG_PR_OTHER_ADDRESS_STREET           0x3A63001E  // OtherAddressStreet
00256 #define MAPI_TAG_PR_OTHER_ADDRESS_STATE_OR_PROVINCE 0x3A62001E // OtherAddressState
00257 #define MAPI_TAG_PR_OTHER_ADDRESS_COUNTRY           0x3A60001E // OtherAddressCountry
00258 #define MAPI_TAG_PR_OTHER_ADDRESS_POSTAL_CODE       0x3A61001E // OtherAddressPostalCode
00259 #define MAPI_TAG_PR_OTHER_ADDRESS_PO_BOX            0x3A64001E // OtherAddressPostOfficeBox
00260 
00261 #define MAPI_TAG_PR_DEPARTMENT_NAME                 0x3A18001F // Department
00262 #define MAPI_TAG_PR_MANAGER_NAME                    0x3A4E001F // ManagerName
00263 #define MAPI_TAG_PR_OFFICE_LOCATION                 0x3A19001F // Location
00264 #define MAPI_TAG_PR_ASSISTANT                       0x3A30001F // AssistantName
00265 #define MAPI_TAG_PR_PROFESSION                      0x3A46001F // Profession
00266 #define MAPI_TAG_PR_NICKNAME                        0x3A4F001F // NickName
00267 #define MAPI_TAG_PR_BIRTHDAY                        0x3A420040 // Birthday
00268 #define MAPI_TAG_PR_SPOUSE_NAME                     0x3A48001F // SpouseName
00269 #define MAPI_TAG_PR_WEDDING_ANNIVERSARY             0x3A410040 // Anniversary
00270 #define MAPI_TAG_PR_ACCOUNT                         0x3A00001E // Account
00271 #define MAPI_TAG_PR_COMPUTER_NETWORK_NAME           0x3A49001E // ComputerNetworkName
00272 #define MAPI_TAG_PR_CHILDRENS_NAMES                 0x3A58101E // Children
00273 #define MAPI_TAG_PR_CUSTOMER_ID                     0x3A4A001E // CustomerID
00274 #define MAPI_TAG_PR_GENDER                          0x3A4D0002 // Gender:
00275                                                                // 0 = Unspecified
00276                                                                // 1 = Female
00277                                                                // 2 = Male
00278 #define MAPI_TAG_PR_GOVERNMENT_ID_NUMBER            0x3A07001E // GovernmentIDNumber
00279 #define MAPI_TAG_PR_HOBBIES                         0x3A43001E // Hobby
00280 #define MAPI_TAG_PR_LANGUAGE                        0x3A0C001E // Language
00281 #define MAPI_TAG_PR_LOCATION                        0x3A0D001E // OfficeLocation
00282 #define MAPI_TAG_PR_ORGANIZATIONAL_ID_NUMBER        0x3A10001E // OrganizationalIDNumber
00283 #define MAPI_TAG_PR_REFERRED_BY_NAME                0X3A47001E // ReferredBy
00284 //@endcond
00285 
00286 #endif /* KTNEFDEFS_H */
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu Aug 2 2012 15:26:14 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KTNEF Library

Skip menu "KTNEF Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepimlibs-4.8.5 API Reference

Skip menu "kdepimlibs-4.8.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal