class PHPExcel_Shared_OLE_PPS_File in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/File.php \PHPExcel_Shared_OLE_PPS_File
Class for creating File PPS's for OLE containers
@author Xavier Noguer <xnoguer@php.net> @category PHPExcel @package PHPExcel_Shared_OLE
Hierarchy
- class \PHPExcel_Shared_OLE_PPS
- class \PHPExcel_Shared_OLE_PPS_File
Expanded class hierarchy of PHPExcel_Shared_OLE_PPS_File
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ OLE/ PPS/ File.php, line 30
View source
class PHPExcel_Shared_OLE_PPS_File extends PHPExcel_Shared_OLE_PPS {
/**
* The constructor
*
* @access public
* @param string $name The name of the file (in Unicode)
* @see OLE::Asc2Ucs()
*/
public function __construct($name) {
parent::__construct(null, $name, PHPExcel_Shared_OLE::OLE_PPS_TYPE_FILE, null, null, null, null, null, '', array());
}
/**
* Initialization method. Has to be called right after OLE_PPS_File().
*
* @access public
* @return mixed true on success
*/
public function init() {
return true;
}
/**
* Append data to PPS
*
* @access public
* @param string $data The data to append
*/
public function append($data) {
$this->_data .= $data;
}
/**
* Returns a stream for reading this file using fread() etc.
* @return resource a read-only stream
*/
public function getStream() {
$this->ole
->getStream($this);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PHPExcel_Shared_OLE_PPS:: |
public | property | * Array of child PPS's (only used by Root and Dir PPS's) * | |
PHPExcel_Shared_OLE_PPS:: |
public | property | * The index of it's first child if this is a Dir or Root PPS * | |
PHPExcel_Shared_OLE_PPS:: |
public | property | * The PPS name (in Unicode) * | |
PHPExcel_Shared_OLE_PPS:: |
public | property | * The index of the next PPS * | |
PHPExcel_Shared_OLE_PPS:: |
public | property | * The PPS index * | |
PHPExcel_Shared_OLE_PPS:: |
public | property | * Pointer to OLE container * | |
PHPExcel_Shared_OLE_PPS:: |
public | property | * The index of the previous PPS * | |
PHPExcel_Shared_OLE_PPS:: |
public | property | * The size of the PPS's data (in bytes) * | |
PHPExcel_Shared_OLE_PPS:: |
public | property | * A timestamp * | |
PHPExcel_Shared_OLE_PPS:: |
public | property | * A timestamp * | |
PHPExcel_Shared_OLE_PPS:: |
public | property | * The PPS type. Dir, Root or File * | |
PHPExcel_Shared_OLE_PPS:: |
public | property | * The PPS's data (only used if it's not using a temporary file) * | |
PHPExcel_Shared_OLE_PPS:: |
public | property | * Starting block (small or big) for this PPS's data inside the container * | |
PHPExcel_Shared_OLE_PPS:: |
public | function | * Returns the amount of data saved for this PPS * * @access public * | |
PHPExcel_Shared_OLE_PPS:: |
public | function | * Returns a string with the PPS's WK (What is a WK?) * * @access public * | |
PHPExcel_Shared_OLE_PPS:: |
public static | function | * 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. * * @access public * | |
PHPExcel_Shared_OLE_PPS_File:: |
public | function | * Append data to PPS * * @access public * | |
PHPExcel_Shared_OLE_PPS_File:: |
public | function | * Returns a stream for reading this file using fread() etc. * | |
PHPExcel_Shared_OLE_PPS_File:: |
public | function | * Initialization method. Has to be called right after OLE_PPS_File(). * * @access public * | |
PHPExcel_Shared_OLE_PPS_File:: |
public | function |
* The constructor
*
* @access public
* Overrides PHPExcel_Shared_OLE_PPS:: |