PHPExcel_Shared_OLE
[ class tree: PHPExcel_Shared_OLE ] [ index: PHPExcel_Shared_OLE ] [ all elements ]

Class: PHPExcel_Shared_OLE_PPS

Source Location: /PHPExcel/Shared/OLE/OLE_PPS.php

Class Overview


Class for creating PPS's for OLE containers


Author(s):

Variables

Methods


Child classes:

PHPExcel_Shared_OLE_PPS_File
Class for creating File PPS's for OLE containers
PHPExcel_Shared_OLE_PPS_Root
Class for creating Root PPS's for OLE containers

Class Details

[line 32]
Class for creating PPS's for OLE containers

Class for creating PPS's for OLE containers




Tags:

author:  Xavier Noguer <xnoguer@php.net>


[ Top ]


Class Variables

$children = array()

[line 104]

Array of child PPS's (only used by Root and Dir PPS's)

Array of child PPS's (only used by Root and Dir PPS's)




Tags:

access:  public

Type:   array


[ Top ]

$DirPps =

[line 68]

The index of it's first child if this is a Dir or Root PPS

The index of it's first child if this is a Dir or Root PPS




Tags:

access:  public

Type:   integer


[ Top ]

$Name =

[line 44]

The PPS name (in Unicode)

The PPS name (in Unicode)




Tags:

access:  public

Type:   string


[ Top ]

$NextPps =

[line 62]

The index of the next PPS

The index of the next PPS




Tags:

access:  public

Type:   integer


[ Top ]

$No =

[line 38]

The PPS index

The PPS index




Tags:

access:  public

Type:   integer


[ Top ]

$ole =

[line 110]

Pointer to OLE container

Pointer to OLE container




Tags:

access:  public

Type:   OLE


[ Top ]

$PrevPps =

[line 56]

The index of the previous PPS

The index of the previous PPS




Tags:

access:  public

Type:   integer


[ Top ]

$Size =

[line 92]

The size of the PPS's data (in bytes)

The size of the PPS's data (in bytes)




Tags:

access:  public

Type:   integer


[ Top ]

$Time1st =

[line 74]

A timestamp

A timestamp




Tags:

access:  public

Type:   integer


[ Top ]

$Time2nd =

[line 80]

A timestamp

A timestamp




Tags:

access:  public

Type:   integer


[ Top ]

$Type =

[line 50]

The PPS type.

The PPS type. Dir, Root or File




Tags:

access:  public

Type:   integer


[ Top ]

$_data =

[line 98]

The PPS's data (only used if it's not using a temporary file)

The PPS's data (only used if it's not using a temporary file)




Tags:

access:  public

Type:   string


[ Top ]

$_StartBlock =

[line 86]

Starting block (small or big) for this PPS's data inside the container

Starting block (small or big) for this PPS's data inside the container




Tags:

access:  public

Type:   integer


[ Top ]



Class Methods


constructor __construct [line 127]

PHPExcel_Shared_OLE_PPS __construct( integer $No, string $name, integer $type, integer $prev, integer $next, integer $dir, integer $time_1st, integer $time_2nd, string $data, array $children)

The constructor

The constructor




Tags:

access:  public


Overridden in child classes as:

PHPExcel_Shared_OLE_PPS_File::__construct()
The constructor
PHPExcel_Shared_OLE_PPS_Root::__construct()

Parameters:

integer   $No   The PPS index
string   $name   The PPS name
integer   $type   The PPS type. Dir, Root or File
integer   $prev   The index of the previous PPS
integer   $next   The index of the next PPS
integer   $dir   The index of it's first child if this is a Dir or Root PPS
integer   $time_1st   A timestamp
integer   $time_2nd   A timestamp
string   $data   The (usually binary) source data of the PPS
array   $children   Array containing children PPS for this PPS

[ Top ]

method _DataLen [line 152]

integer _DataLen( )

Returns the amount of data saved for this PPS

Returns the amount of data saved for this PPS




Tags:

return:  The amount of data (in bytes)
access:  public


[ Top ]

method _getPpsWk [line 172]

string _getPpsWk( )

Returns a string with the PPS's WK (What is a WK?)

Returns a string with the PPS's WK (What is a WK?)




Tags:

return:  The binary string
access:  public


[ Top ]

method _savePpsSetPnt [line 207]

integer _savePpsSetPnt( array &$pps_array)

Updates index and pointers to previous, next and children PPS's for this PPS.

Updates index and pointers to previous, next and children PPS's for this PPS. I don't think it'll work with Dir PPS's.




Tags:

return:  The index for this PPS
access:  public


Parameters:

array   &$pps_array   Reference to the array of PPS's for the whole OLE container

[ Top ]


Documentation generated on Mon, 05 Jan 2009 20:38:12 +0100 by phpDocumentor 1.4.1