Home » Structures » OLE
Package for reading and writing OLE containers
This package is unmaintained.
Download latest release 1.0.1 (there might be newer Composer installable version)
License: PHP
Description
This package allows reading and writing of OLE (Object Linking and Embedding) compound documents. This format is used as container for Excel (.xls), Word (.doc) and other Microsoft file formats.
Maintainers
- Christian Schmidt (schmidt) — lead, active
- Xavier Noguer (xnoguer) — lead, inactive
Dependencies
Required
- PHP (>= 5.6.0)
- PEAR Installer (>= 1.4.0b1)
Releases
- 1.0.1 (stable, 2025-12-14)
Release notes
License: PHP
- (Composer only) fix dependency on pear-core-minimal
- 1.0.0 (stable, 2025-12-14)
Release notes
License: PHP
- Stable release after 9 release candidates
- Resolved PHP 8 deprecations
- Full compatibility with PHP 5.6 through PHP 8.2
- Changes to comply with MS documentation
- Added type casting improvements
- Fixed PHP 7.4 compatibility issues - 1.0.0RC3 (beta, 2017-06-20)
Release notes
License: PHP
Bug #19284: RC2 breaks header in excel files from Spreadsheet_Excel_Writer
Bug #21216: Call to undefined method PEAR::OLE_PPS() - 1.0.0RC2 (beta, 2012-01-26)
Release notes
License: PHP
QA release
Bug #15904 Invalid Bigblock chain with files > 200MB
Bug #17685 OLE doesn't save multistreams - 1.0.0RC1 (beta, 2008-05-24)
- 0.6.1 (beta, 2007-12-18)
Release notes
License: PHP
- fixed bug #12693: wrong order of require_once
- added missing file to package: ChainedBlockStream.php - 0.6.0 (beta, 2007-12-09)
Release notes
License: PHP
Rewrite of parser (no change to writer):
- Files inside OLE container are now saved in directory structure.
- Parser now properly uses Big Block, Small Block and Master Block Allocation Tables.
- Added stream interface for reading files inside OLE container.- Bug #6516. Fix "PPS at 1 has unknown type" errors. (Christian Schmidt)
- Coding Standard cleanups (by helgi)
- Bug #3951 OLE_PPS_File::init() does not return true on success (by helgi)
- Bug #3955 OLE::_readPpsWks() does not return true on success (by helgi) - 0.5 (beta, 2003-12-14)
Release notes
License: PHP
- BC break!!! OLE/OLE.php file moved to OLE.php to comply with PEAR
standards. You will have to change your require('OLE/OLE.php')'s
for require('OLE.php')'s
- If you are using Spreadsheet_Excel_Writer, do not upgrade to this
version yet. A new version of Spreadsheet_Excel_Writer will be
released soon so the BC break won't affect you.
- allowing setting of temp dir for OLE_PPS_File and OLE_PPS_Root objects
- fixed problem when reading files (not reading the whole OLE tree) - 0.4 (beta, 2003-09-25)
Release notes
License: PHP
-deleting tmp files (Herman Kuiper).
-fixed hardcoded tmp dir (Herman Kuiper).
-fixed pass by reference warning (Herman Kuiper). - 0.3 (beta, 2003-08-21)
Release notes
License: PHP
-added OLE_PPS_File::init() initialization method.
-better error handling. - 0.2.1 (alpha, 2003-05-12)
Release notes
License: PHP
Fixing install dir
- 0.2 (alpha, 2003-05-12)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #483 | Duplicate | Bug | 2003-12-22 | _FILEH_ never opened | |
| #2583 | Closed | Bug | 2004-10-21 | Coding Standard Fixes, patches included | |
| #3951 | Closed | Bug | 2005-03-24 | OLE_PPS_File::init() does not return true on success | |
| #3955 | Closed | Bug | 2005-03-24 | OLE::_readPpsWks() does not return true on success | |
| #6516 | Closed | Bug | 2006-01-18 | wrong usage of unpack() | |
| #12640 | Closed | Bug | 0.5 | 2007-12-08 | Version should be 0.5.0 |
| #12693 | Closed | Bug | 0.6.0 | 2007-12-14 | Class OLE_PPS not found in /usr/share/pear/OLE/PPS/File.php on line 32 |
| #13912 | Closed | Bug | 0.6.1 | 2008-05-16 | include_once should be require_once |
| #15904 | Closed | Bug | 2009-02-16 | Invalid Bigblock chain with files > 200MB | |
| #17685 | Closed | Req | 1.0.0RC1 | 2010-08-10 | OLE doesn't save multistreams |
| #19284 | Closed | Bug | 1.0.0RC2 | 2012-02-10 | RC2 breaks header in excel files from Spreadsheet_Excel_Writer |
| #19574 | Feedback | Bug | 1.0.0RC2 | 2012-08-22 | Generated Excel Files are corrupt |
| #19698 | Feedback | Bug | 1.0.0RC2 | 2012-11-09 | XLS-Worksheet seems to be damaged |
| #19941 | Feedback | Bug | Unknown | 2013-05-08 | Adding data to the new woksheet added |
| #21156 | No Feedback | Bug | 1.0.0RC2 | 2016-12-14 | XLS must be repaired by Excel on first pen |
| #21175 | Open | Bug | 1.0.0RC2 | 2017-02-02 | Corrupt OLE header generated for files approximately 7mb in size. |
| #21216 | Closed | Bug | Unknown | 2017-06-02 | Call to undefined method PEAR::OLE_PPS() |
| #21224 | Closed | Bug | SVN | 2017-06-30 | Missing/Broken parent constructor calls. |
| #21243 | Open | Bug | 1.0.0RC3 | 2017-09-26 | small blocks ("mini stream") handling is broken |
| #28646 | Open | Req | 1.0.0RC3 | 2024-07-26 | allow using a strem for writing output |