Subversion Repositories eFlore/Applications.cel

Rev

Rev 3667 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3667 Rev 3699
Line 28... Line 28...
28
define('OLE_PPS_TYPE_FILE',        2);
28
define('OLE_PPS_TYPE_FILE',        2);
29
define('OLE_DATA_SIZE_SMALL', 0x1000);
29
define('OLE_DATA_SIZE_SMALL', 0x1000);
30
define('OLE_LONG_INT_SIZE',        4);
30
define('OLE_LONG_INT_SIZE',        4);
31
define('OLE_PPS_SIZE',          0x80);
31
define('OLE_PPS_SIZE',          0x80);
Line 32... Line 32...
32
 
32
 
Line 33... Line 33...
33
require_once 'PEAR.php';
33
require_once '/usr/share/php/PEAR.php';
34
 
34
 
35
/**
35
/**
36
* Array for storing OLE instances that are accessed from
36
* Array for storing OLE instances that are accessed from
Line 319... Line 319...
319
            case OLE_PPS_TYPE_FILE:
319
            case OLE_PPS_TYPE_FILE:
320
                require_once 'OLE/PPS/File.php';
320
                require_once 'OLE/PPS/File.php';
321
                $pps = new OLE_PPS_File($name);
321
                $pps = new OLE_PPS_File($name);
322
                break;
322
                break;
323
            default:
323
            default:
324
                continue;
324
                continue 2;
325
            }
325
            }
326
            fseek($fh, 1, SEEK_CUR);
326
            fseek($fh, 1, SEEK_CUR);
327
            $pps->Type    = $type;
327
            $pps->Type    = $type;
328
            $pps->Name    = $name;
328
            $pps->Name    = $name;
329
            $pps->PrevPps = $this->_readInt4($fh);
329
            $pps->PrevPps = $this->_readInt4($fh);