Documentation

Horde_Compress_Tnef extends Horde_Compress_Base
in package

The Horde_Compress_Tnef class allows MS-TNEF data to be displayed.

Tags
author

Jan Schneider jan@horde.org

author

Michael Slusarz slusarz@horde.org

author

Michael J Rubinsky mrubinsk@horde.org

category

Horde

copyright

2002-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

ABODY  = 0x2800c
ACONVERSATIONID  = 0x1800b
ADATEMODIFIED  = 0x38020
ADATERECEIVED  = 0x38006
ADATESENT  = 0x38005
AFILENAME  = 0x18010
AFROM  = 0x8000
AIDOWNER  = 0x50008
AMAPIATTRS  = 0x69005
AMAPIPROPS  = 0x69003
AMCLASS  = 0x78008
AMESSAGEID  = 0x18009
AORIGINALMCLASS  = 0x70006
AOWNER  = 0x60000
APARENTID  = 0x1800a
APRIORITY  = 0x4800d
ARECIPIENTTABLE  = 0x69004
ARENDDATA  = 0x69002
ASENTFOR  = 0x60001
ASTATUS  = 0x68007
ASUBJECT  = 0x18004
ATTACHCREATEDATE  = 0x38012
ATTACHDATA  = 0x6800f
ATTACHMETAFILE  = 0x68011
AVERSION  = 0x89006
ID_DATE_END  = 0x30007
ID_DATE_START  = 0x30006
ID_FROM  = 0x8000
ID_REQUEST_RESP  = 0x40009
IPM_MEETING_REQUEST  = 'IPM.Microsoft Schedule.MtgReq'
IPM_MEETING_REQUEST_CANCELLED  = 'IPM.Microsoft Schedule.MtgCncl'
IPM_MEETING_RESPONSE_NEG  = 'IPM.Microsoft Schedule.MtgRespN'
IPM_MEETING_RESPONSE_POS  = 'IPM.Microsoft Schedule.MtgRespP'
IPM_MEETING_RESPONSE_TENT  = 'IPM.Microsoft Schedule.MtgRespA'
IPM_TASK_GUID  = 0x8519
IPM_TASK_REQUEST  = 'IPM.TaskRequest'
LVL_ATTACHMENT  = 0x2
LVL_MESSAGE  = 0x1
MAPI_ALL_ATTENDEES  = 0x8238
MAPI_APPOINTMENT_COUNTER_PROPOSAL  = 0x8257
MAPI_APPOINTMENT_DURATION  = 0x8213
MAPI_APPOINTMENT_END_WHOLE  = 0x820e
MAPI_APPOINTMENT_LOCATION  = 0x8208
MAPI_APPOINTMENT_RECUR  = 0x8216
MAPI_APPOINTMENT_SEQUENCE  = 0x8201
MAPI_APPOINTMENT_START_WHOLE  = 0x820d
MAPI_APPOINTMENT_STATE_FLAGS  = 0x8217
MAPI_APPOINTMENT_SUBTYPE  = 0x8215
MAPI_APPOINTMENT_URL  = 0x8209
MAPI_APPTIME  = 0x7
MAPI_ATTACH_DATA  = 0x3701
MAPI_ATTACH_EXTENSION  = 0x3703
MAPI_ATTACH_LONG_FILENAME  = 0x3707
MAPI_ATTACH_MIME_TAG  = 0x370e
MAPI_BINARY  = 0x102
MAPI_BOOLEAN  = 0xb
MAPI_BUSY_STATUS  = 0x8205
MAPI_CLSID  = 0x48
MAPI_CODEPAGE  = 0x3ffd
MAPI_CONFERENCING_TYPE  = 0x8241
MAPI_CONVERSATION_TOPIC  = 0x70
MAPI_CREATION_TIME  = 0x3007
MAPI_CURRENCY  = 0x6
MAPI_DISPLAY_TO  = 0xe04
MAPI_DOUBLE  = 0x5
MAPI_END_DATE  = 0x61
MAPI_ENTRY_CLEANID  = 0x23
MAPI_ENTRY_UID  = 0x3
MAPI_ERROR  = 0xa
MAPI_FLOAT  = 0x4
MAPI_IN_REPLY_TO_ID  = 0x1042
MAPI_INT  = 0x3
MAPI_INT8BYTE  = 0x14
MAPI_LAST_MODIFIER_NAME  = 0x3ffa
MAPI_MEETING_FULL_UPDATE  = 0x100010000
MAPI_MEETING_INFO  = 0x20000
MAPI_MEETING_INITIAL  = 0x1
MAPI_MEETING_REQUEST_TYPE  = 0x26
MAPI_MEETING_RESPONSE_NEG  = 'IPM.Schedule.Meeting.Resp.Neg'
MAPI_MEETING_RESPONSE_POS  = 'IPM.Schedule.Meeting.Resp.Pos'
MAPI_MEETING_RESPONSE_TENT  = 'IPM.Schedule.Meeting.Resp.Tent'
MAPI_MEETING_TYPE  = 0x26
MAPI_MESSAGE_CLASS  = 0x1a
MAPI_MODIFICATION_TIME  = 0x3008
MAPI_MV_FLAG  = 0x1000
MAPI_NAMED_TYPE_ID  = 0x0
MAPI_NAMED_TYPE_NONE  = 0xff
MAPI_NAMED_TYPE_STRING  = 0x1
MAPI_NATIVE_BODY  = 0x1016
MAPI_NULL  = 0x1
MAPI_OBJECT  = 0xd
MAPI_ORGANIZER_ALIAS  = 0x8243
MAPI_ORIGINAL_CREATORID  = 0x3ff9
MAPI_RECURRENCE_TYPE  = 0x8231
MAPI_RECURRING  = 0x8223
MAPI_REMINDER_DELTA  = 0x8501
MAPI_REMINDER_SIGNAL_TIME  = 0x8560
MAPI_RESPONSE_REQUESTED  = 0x63
MAPI_RESPONSE_STATUS  = 0x8218
MAPI_SENDER_SMTP  = 0x5d01
MAPI_SENT_REP_EMAIL_ADDR  = 0x65
MAPI_SENT_REP_NAME  = 0x42
MAPI_SENT_REP_SMTP_ADDR  = 0x5d02
MAPI_SHORT  = 0x2
MAPI_SIGNAL_TIME  = 0x8502
MAPI_START_CLIP_END  = 0x8236
MAPI_START_CLIP_START  = 0x8235
MAPI_START_DATE  = 0x60
MAPI_STRING  = 0x1e
MAPI_SYSTIME  = 0x40
MAPI_TAG_BODY  = 0x1000
MAPI_TAG_HTML  = 0x1013
MAPI_TAG_RTF_COMPRESSED  = 0x1009
MAPI_TAG_SUBJECT_PREFIX  = 0x3d
MAPI_TIMEZONE_DEFINITION_RECUR  = 0x8260
MAPI_TIMEZONE_DESCRIPTION  = 0x8234
MAPI_TIMEZONE_END  = 0x825f
MAPI_TIMEZONE_START  = 0x825e
MAPI_TIMEZONE_STRUCT  = 0x8233
MAPI_TO_ATTENDEES  = 0x823b
MAPI_TYPE_UNSPECIFIED  = 0x0
MAPI_UNICODE_STRING  = 0x1f
MSG_EDITOR_FORMAT  = 0x5909
MSG_EDITOR_FORMAT_HTML  = 2
MSG_EDITOR_FORMAT_PLAIN  = 1
MSG_EDITOR_FORMAT_RTF  = 3
MSG_EDITOR_FORMAT_UNKNOWN  = 0
OEMCODEPAGE  = 0x69007
PATTERN_DAY  = 0x0
PATTERN_MONTH  = 0x2
PATTERN_MONTH_END  = 0x4
PATTERN_MONTH_NTH  = 0x3
PATTERN_WEEK  = 0x1
PSETID_APPOINTMENT  = '{00062002-0000-0000-C000-000000000046}'
PSETID_COMMON  = '{00062008-0000-0000-C000-000000000046}'
PSETID_MAPI  = '{00020328-0000-0000-C000-000000000046}'
PSETID_MEETING  = '{6ED8DA90-450B-101B-98DA-00AA003F1305}'
PSETID_NOTE  = '{0006200E-0000-0000-C000-000000000046}'
PSETID_PUBLIC_STRINGS  = '{00020329-0000-0000-C000-000000000046}'
PSETID_TASK  = '{00062003-0000-0000-C000-000000000046}'
RECUR_DAILY  = 0x200a
RECUR_END_DATE  = 0x2021
RECUR_END_N  = 0x2022
RECUR_MONTHLY  = 0x200c
RECUR_WEEKLY  = 0x200b
RECUR_YEARLY  = 0x200d
RTF_COMPRESSED  = 0x75465a4c
RTF_UNCOMPRESSED  = 0x414c454d
SIGNATURE  = 0x223e9f78
$canCompress  : bool
Does this driver support compressing data?
$canDecompress  : bool
Does this driver support decompressing data?
$_attachments  : array<string|int, mixed>
Collection of embedded TNEF attachments within the outer TNEF file.
$_currentObject  : Horde_Compress_Tnef_Object
The TNEF object currently being decoded.
$_files  : array<string|int, mixed>
Collection of files contained in the TNEF data.
$_logger  : Horde_Log_Logger
Logger
$_msgInfo  : Horde_Compress_Tnef_MessageData
__construct()  : mixed
Constructor.
compress()  : mixed
Compresses the data.
compressDirectory()  : mixed
Compresses a directory.
decompress()  : array<string|int, mixed>
Decompress the TNEF data. For BC reasons we can only return a numerically indexed array of object data. For more detailed information, use self::getFiles(), self::getAttachements(), and self::getMsgInfo().
getAttachments()  : array<string|int, mixed>
Return the collection of embedded attachments.
getFiles()  : array<string|int, mixed>
Return the collection of files in the TNEF data.
getMsgInfo()  : array<string|int, mixed>
Return the message information data.
setCurrentObject()  : mixed
Sets the current object being decompressed.
_decodeAttachment()  : mixed
Decodes all LVL_ATTACHMENT data. Attachment data MUST be at the end of TNEF stream. First LVL_ATTACHMENT MUST be ARENDDATA (attAttachRendData).
_decodeAttribute()  : mixed
Decode a single attribute.
_decodeMessageProperty()  : mixed
Decodes TNEF attributes.
_extractMapiAttributes()  : mixed
Extract a set of encapsulated MAPI properties. Normally either embedded in an attachment structure, or an idMessageProperty structure.
_geti()  : TODO
Pop specified number of bits from the buffer
_getx()  : mixed
Pop specified number of bytes from the buffer.
_toNamespaceGUID()  : mixed

Constants

ABODY

public mixed ABODY = 0x2800c

ACONVERSATIONID

public mixed ACONVERSATIONID = 0x1800b

ADATEMODIFIED

public mixed ADATEMODIFIED = 0x38020

ADATERECEIVED

public mixed ADATERECEIVED = 0x38006

ADATESENT

public mixed ADATESENT = 0x38005

AFILENAME

public mixed AFILENAME = 0x18010

AFROM

public mixed AFROM = 0x8000

AIDOWNER

public mixed AIDOWNER = 0x50008

AMAPIATTRS

public mixed AMAPIATTRS = 0x69005

AMAPIPROPS

public mixed AMAPIPROPS = 0x69003

AMCLASS

public mixed AMCLASS = 0x78008

AMESSAGEID

public mixed AMESSAGEID = 0x18009

AORIGINALMCLASS

public mixed AORIGINALMCLASS = 0x70006

AOWNER

public mixed AOWNER = 0x60000

APARENTID

public mixed APARENTID = 0x1800a

APRIORITY

public mixed APRIORITY = 0x4800d

ARECIPIENTTABLE

public mixed ARECIPIENTTABLE = 0x69004

ARENDDATA

public mixed ARENDDATA = 0x69002

ASENTFOR

public mixed ASENTFOR = 0x60001

ASTATUS

public mixed ASTATUS = 0x68007

ASUBJECT

public mixed ASUBJECT = 0x18004

ATTACHCREATEDATE

public mixed ATTACHCREATEDATE = 0x38012

ATTACHDATA

public mixed ATTACHDATA = 0x6800f

ATTACHMETAFILE

public mixed ATTACHMETAFILE = 0x68011

AVERSION

public mixed AVERSION = 0x89006

ID_DATE_END

public mixed ID_DATE_END = 0x30007

ID_DATE_START

public mixed ID_DATE_START = 0x30006

ID_FROM

public mixed ID_FROM = 0x8000

ID_REQUEST_RESP

public mixed ID_REQUEST_RESP = 0x40009

IPM_MEETING_REQUEST

public mixed IPM_MEETING_REQUEST = 'IPM.Microsoft Schedule.MtgReq'

IPM_MEETING_REQUEST_CANCELLED

public mixed IPM_MEETING_REQUEST_CANCELLED = 'IPM.Microsoft Schedule.MtgCncl'

IPM_MEETING_RESPONSE_NEG

public mixed IPM_MEETING_RESPONSE_NEG = 'IPM.Microsoft Schedule.MtgRespN'

IPM_MEETING_RESPONSE_POS

public mixed IPM_MEETING_RESPONSE_POS = 'IPM.Microsoft Schedule.MtgRespP'

IPM_MEETING_RESPONSE_TENT

public mixed IPM_MEETING_RESPONSE_TENT = 'IPM.Microsoft Schedule.MtgRespA'

IPM_TASK_GUID

public mixed IPM_TASK_GUID = 0x8519

IPM_TASK_REQUEST

public mixed IPM_TASK_REQUEST = 'IPM.TaskRequest'

LVL_ATTACHMENT

public mixed LVL_ATTACHMENT = 0x2

LVL_MESSAGE

public mixed LVL_MESSAGE = 0x1

MAPI_ALL_ATTENDEES

public mixed MAPI_ALL_ATTENDEES = 0x8238

MAPI_APPOINTMENT_COUNTER_PROPOSAL

public mixed MAPI_APPOINTMENT_COUNTER_PROPOSAL = 0x8257

MAPI_APPOINTMENT_DURATION

public mixed MAPI_APPOINTMENT_DURATION = 0x8213

MAPI_APPOINTMENT_END_WHOLE

public mixed MAPI_APPOINTMENT_END_WHOLE = 0x820e

MAPI_APPOINTMENT_LOCATION

public mixed MAPI_APPOINTMENT_LOCATION = 0x8208

MAPI_APPOINTMENT_RECUR

public mixed MAPI_APPOINTMENT_RECUR = 0x8216

MAPI_APPOINTMENT_SEQUENCE

public mixed MAPI_APPOINTMENT_SEQUENCE = 0x8201

MAPI_APPOINTMENT_START_WHOLE

public mixed MAPI_APPOINTMENT_START_WHOLE = 0x820d

MAPI_APPOINTMENT_STATE_FLAGS

public mixed MAPI_APPOINTMENT_STATE_FLAGS = 0x8217

MAPI_APPOINTMENT_SUBTYPE

public mixed MAPI_APPOINTMENT_SUBTYPE = 0x8215

MAPI_APPOINTMENT_URL

public mixed MAPI_APPOINTMENT_URL = 0x8209

MAPI_APPTIME

public mixed MAPI_APPTIME = 0x7

MAPI_ATTACH_DATA

public mixed MAPI_ATTACH_DATA = 0x3701

MAPI_ATTACH_EXTENSION

public mixed MAPI_ATTACH_EXTENSION = 0x3703

MAPI_ATTACH_LONG_FILENAME

public mixed MAPI_ATTACH_LONG_FILENAME = 0x3707

MAPI_ATTACH_MIME_TAG

public mixed MAPI_ATTACH_MIME_TAG = 0x370e

MAPI_BINARY

public mixed MAPI_BINARY = 0x102

MAPI_BOOLEAN

public mixed MAPI_BOOLEAN = 0xb

MAPI_BUSY_STATUS

public mixed MAPI_BUSY_STATUS = 0x8205

MAPI_CLSID

public mixed MAPI_CLSID = 0x48

MAPI_CODEPAGE

public mixed MAPI_CODEPAGE = 0x3ffd

MAPI_CONFERENCING_TYPE

public mixed MAPI_CONFERENCING_TYPE = 0x8241

MAPI_CONVERSATION_TOPIC

public mixed MAPI_CONVERSATION_TOPIC = 0x70

MAPI_CREATION_TIME

public mixed MAPI_CREATION_TIME = 0x3007

MAPI_CURRENCY

public mixed MAPI_CURRENCY = 0x6

MAPI_DISPLAY_TO

public mixed MAPI_DISPLAY_TO = 0xe04

MAPI_DOUBLE

public mixed MAPI_DOUBLE = 0x5

MAPI_END_DATE

public mixed MAPI_END_DATE = 0x61

MAPI_ENTRY_CLEANID

public mixed MAPI_ENTRY_CLEANID = 0x23

MAPI_ENTRY_UID

public mixed MAPI_ENTRY_UID = 0x3

MAPI_ERROR

public mixed MAPI_ERROR = 0xa

MAPI_FLOAT

public mixed MAPI_FLOAT = 0x4

MAPI_IN_REPLY_TO_ID

public mixed MAPI_IN_REPLY_TO_ID = 0x1042

MAPI_INT

public mixed MAPI_INT = 0x3

MAPI_INT8BYTE

public mixed MAPI_INT8BYTE = 0x14

MAPI_LAST_MODIFIER_NAME

public mixed MAPI_LAST_MODIFIER_NAME = 0x3ffa

MAPI_MEETING_FULL_UPDATE

public mixed MAPI_MEETING_FULL_UPDATE = 0x100010000

MAPI_MEETING_INFO

public mixed MAPI_MEETING_INFO = 0x20000

MAPI_MEETING_INITIAL

public mixed MAPI_MEETING_INITIAL = 0x1

MAPI_MEETING_REQUEST_TYPE

public mixed MAPI_MEETING_REQUEST_TYPE = 0x26

MAPI_MEETING_RESPONSE_NEG

public mixed MAPI_MEETING_RESPONSE_NEG = 'IPM.Schedule.Meeting.Resp.Neg'

MAPI_MEETING_RESPONSE_POS

public mixed MAPI_MEETING_RESPONSE_POS = 'IPM.Schedule.Meeting.Resp.Pos'

MAPI_MEETING_RESPONSE_TENT

public mixed MAPI_MEETING_RESPONSE_TENT = 'IPM.Schedule.Meeting.Resp.Tent'

MAPI_MEETING_TYPE

public mixed MAPI_MEETING_TYPE = 0x26

MAPI_MESSAGE_CLASS

public mixed MAPI_MESSAGE_CLASS = 0x1a

MAPI_MODIFICATION_TIME

public mixed MAPI_MODIFICATION_TIME = 0x3008

MAPI_MV_FLAG

public mixed MAPI_MV_FLAG = 0x1000

MAPI_NAMED_TYPE_ID

public mixed MAPI_NAMED_TYPE_ID = 0x0

MAPI_NAMED_TYPE_NONE

public mixed MAPI_NAMED_TYPE_NONE = 0xff

MAPI_NAMED_TYPE_STRING

public mixed MAPI_NAMED_TYPE_STRING = 0x1

MAPI_NATIVE_BODY

public mixed MAPI_NATIVE_BODY = 0x1016

MAPI_NULL

public mixed MAPI_NULL = 0x1

MAPI_OBJECT

public mixed MAPI_OBJECT = 0xd

MAPI_ORGANIZER_ALIAS

public mixed MAPI_ORGANIZER_ALIAS = 0x8243

MAPI_ORIGINAL_CREATORID

public mixed MAPI_ORIGINAL_CREATORID = 0x3ff9

MAPI_RECURRENCE_TYPE

public mixed MAPI_RECURRENCE_TYPE = 0x8231

MAPI_RECURRING

public mixed MAPI_RECURRING = 0x8223

MAPI_REMINDER_DELTA

public mixed MAPI_REMINDER_DELTA = 0x8501

MAPI_REMINDER_SIGNAL_TIME

public mixed MAPI_REMINDER_SIGNAL_TIME = 0x8560

MAPI_RESPONSE_REQUESTED

public mixed MAPI_RESPONSE_REQUESTED = 0x63

MAPI_RESPONSE_STATUS

public mixed MAPI_RESPONSE_STATUS = 0x8218

MAPI_SENDER_SMTP

public mixed MAPI_SENDER_SMTP = 0x5d01

MAPI_SENT_REP_EMAIL_ADDR

public mixed MAPI_SENT_REP_EMAIL_ADDR = 0x65

MAPI_SENT_REP_NAME

public mixed MAPI_SENT_REP_NAME = 0x42

MAPI_SENT_REP_SMTP_ADDR

public mixed MAPI_SENT_REP_SMTP_ADDR = 0x5d02

MAPI_SHORT

public mixed MAPI_SHORT = 0x2

MAPI_SIGNAL_TIME

public mixed MAPI_SIGNAL_TIME = 0x8502

MAPI_START_CLIP_END

public mixed MAPI_START_CLIP_END = 0x8236

MAPI_START_CLIP_START

public mixed MAPI_START_CLIP_START = 0x8235

MAPI_START_DATE

public mixed MAPI_START_DATE = 0x60

MAPI_STRING

public mixed MAPI_STRING = 0x1e

MAPI_SYSTIME

public mixed MAPI_SYSTIME = 0x40

MAPI_TAG_BODY

public mixed MAPI_TAG_BODY = 0x1000

MAPI_TAG_HTML

public mixed MAPI_TAG_HTML = 0x1013

MAPI_TAG_RTF_COMPRESSED

public mixed MAPI_TAG_RTF_COMPRESSED = 0x1009

MAPI_TAG_SUBJECT_PREFIX

public mixed MAPI_TAG_SUBJECT_PREFIX = 0x3d

MAPI_TIMEZONE_DEFINITION_RECUR

public mixed MAPI_TIMEZONE_DEFINITION_RECUR = 0x8260

MAPI_TIMEZONE_DESCRIPTION

public mixed MAPI_TIMEZONE_DESCRIPTION = 0x8234

MAPI_TIMEZONE_END

public mixed MAPI_TIMEZONE_END = 0x825f

MAPI_TIMEZONE_START

public mixed MAPI_TIMEZONE_START = 0x825e

MAPI_TIMEZONE_STRUCT

public mixed MAPI_TIMEZONE_STRUCT = 0x8233

MAPI_TO_ATTENDEES

public mixed MAPI_TO_ATTENDEES = 0x823b

MAPI_TYPE_UNSPECIFIED

public mixed MAPI_TYPE_UNSPECIFIED = 0x0

MAPI_UNICODE_STRING

public mixed MAPI_UNICODE_STRING = 0x1f

MSG_EDITOR_FORMAT

public mixed MSG_EDITOR_FORMAT = 0x5909

MSG_EDITOR_FORMAT_HTML

public mixed MSG_EDITOR_FORMAT_HTML = 2

MSG_EDITOR_FORMAT_PLAIN

public mixed MSG_EDITOR_FORMAT_PLAIN = 1

MSG_EDITOR_FORMAT_RTF

public mixed MSG_EDITOR_FORMAT_RTF = 3

MSG_EDITOR_FORMAT_UNKNOWN

public mixed MSG_EDITOR_FORMAT_UNKNOWN = 0

OEMCODEPAGE

public mixed OEMCODEPAGE = 0x69007

PATTERN_DAY

public mixed PATTERN_DAY = 0x0

PATTERN_MONTH

public mixed PATTERN_MONTH = 0x2

PATTERN_MONTH_END

public mixed PATTERN_MONTH_END = 0x4

PATTERN_MONTH_NTH

public mixed PATTERN_MONTH_NTH = 0x3

PATTERN_WEEK

public mixed PATTERN_WEEK = 0x1

PSETID_APPOINTMENT

public mixed PSETID_APPOINTMENT = '{00062002-0000-0000-C000-000000000046}'

PSETID_COMMON

public mixed PSETID_COMMON = '{00062008-0000-0000-C000-000000000046}'

PSETID_MAPI

public mixed PSETID_MAPI = '{00020328-0000-0000-C000-000000000046}'

PSETID_MEETING

public mixed PSETID_MEETING = '{6ED8DA90-450B-101B-98DA-00AA003F1305}'

PSETID_NOTE

public mixed PSETID_NOTE = '{0006200E-0000-0000-C000-000000000046}'

PSETID_PUBLIC_STRINGS

public mixed PSETID_PUBLIC_STRINGS = '{00020329-0000-0000-C000-000000000046}'

PSETID_TASK

public mixed PSETID_TASK = '{00062003-0000-0000-C000-000000000046}'

RECUR_DAILY

public mixed RECUR_DAILY = 0x200a

RECUR_END_DATE

public mixed RECUR_END_DATE = 0x2021

RECUR_END_N

public mixed RECUR_END_N = 0x2022

RECUR_MONTHLY

public mixed RECUR_MONTHLY = 0x200c

RECUR_WEEKLY

public mixed RECUR_WEEKLY = 0x200b

RECUR_YEARLY

public mixed RECUR_YEARLY = 0x200d

RTF_COMPRESSED

public mixed RTF_COMPRESSED = 0x75465a4c

RTF_UNCOMPRESSED

public mixed RTF_UNCOMPRESSED = 0x414c454d

SIGNATURE

public mixed SIGNATURE = 0x223e9f78

Properties

$canCompress

Does this driver support compressing data?

public bool $canCompress = \false

$canDecompress

Does this driver support decompressing data?

public bool $canDecompress = \true

$_attachments

Collection of embedded TNEF attachments within the outer TNEF file.

protected array<string|int, mixed> $_attachments = array()

of Horde_Compress_Tnef objects.

$_files

Collection of files contained in the TNEF data.

protected array<string|int, mixed> $_files = array()

of Horde_Compress_Tnef_Object objects.

$_logger

Logger

protected Horde_Log_Logger $_logger

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $options = array() ]) : mixed
Parameters
$options : array<string|int, mixed> = array()

Additional options for the compressor backend.

Return values
mixed

compress()

Compresses the data.

public compress(mixed $data[, array<string|int, mixed> $params = array() ]) : mixed
Parameters
$data : mixed

The data to compress.

$params : array<string|int, mixed> = array()

An array of arguments needed to compress the data.

Tags
throws
Horde_Compress_Exception
Return values
mixed

The compressed data.

compressDirectory()

Compresses a directory.

public compressDirectory(string $directory[, array<string|int, mixed> $params = array() ]) : mixed
Parameters
$directory : string

The directory to recursively compress.

$params : array<string|int, mixed> = array()

An array of arguments needed to compress the data.

Tags
since

Horde_Compress 2.2.0

throws
Horde_Compress_Exception
Return values
mixed

The compressed data.

decompress()

Decompress the TNEF data. For BC reasons we can only return a numerically indexed array of object data. For more detailed information, use self::getFiles(), self::getAttachements(), and self::getMsgInfo().

public decompress(mixed $data[, array<string|int, mixed> $params = array() ]) : array<string|int, mixed>
Parameters
$data : mixed

The data to decompress.

$params : array<string|int, mixed> = array()

An array of arguments needed to decompress the data.

Tags
todo

Refactor return data for Horde 6.

throws
Horde_Compress_Exception
Return values
array<string|int, mixed>

The decompressed data.

getAttachments()

Return the collection of embedded attachments.

public getAttachments() : array<string|int, mixed>
Return values
array<string|int, mixed>

@see self::$_attachments

getFiles()

Return the collection of files in the TNEF data.

public getFiles() : array<string|int, mixed>
Return values
array<string|int, mixed>

@see self::$_files

getMsgInfo()

Return the message information data.

public getMsgInfo() : array<string|int, mixed>
Return values
array<string|int, mixed>

@see self::$_msgInfo

_decodeAttachment()

Decodes all LVL_ATTACHMENT data. Attachment data MUST be at the end of TNEF stream. First LVL_ATTACHMENT MUST be ARENDDATA (attAttachRendData).

protected _decodeAttachment(mixed &$data) : mixed

From MS-OXTNEF: ; An attachment is determined/delimited by attAttachRendData, followed by ; other encoded attributes, if any, and ending with attAttachment ; if there are any encoded properties. AttachData = AttachRendData [*AttachAttribute] [AttachProps] AttachRendData = attrLevelAttachment idAttachRendData Length Data Checksum AttachAttribute = attrLevelAttachment idAttachAttr Length Data Checksum AttachProps = attrLevelAttachment idAttachment Length Data Checksum

Parameters
$data : mixed
Return values
mixed

_decodeAttribute()

Decode a single attribute.

protected _decodeAttribute(string &$data) : mixed
Parameters
$data : string

The data string.

Return values
mixed

_decodeMessageProperty()

Decodes TNEF attributes.

protected _decodeMessageProperty(mixed &$data) : mixed
Parameters
$data : mixed
Return values
mixed

_extractMapiAttributes()

Extract a set of encapsulated MAPI properties. Normally either embedded in an attachment structure, or an idMessageProperty structure.

protected _extractMapiAttributes(string $data) : mixed
Parameters
$data : string

The data string.

Return values
mixed

_geti()

Pop specified number of bits from the buffer

protected _geti(string &$data, int $bits) : TODO
Parameters
$data : string

The data string.

$bits : int

How many bits to retrieve.

Return values
TODO

_getx()

Pop specified number of bytes from the buffer.

protected _getx(string &$data, int $bytes) : mixed
Parameters
$data : string

The data string.

$bytes : int

How many bytes to retrieve.

Return values
mixed

_toNamespaceGUID()

protected _toNamespaceGUID(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

Search results