Fix #7646 - php8 issues
authorAlan <alan@roojs.com>
Wed, 10 May 2023 06:27:01 +0000 (14:27 +0800)
committerAlan <alan@roojs.com>
Wed, 10 May 2023 06:27:01 +0000 (14:27 +0800)
OLE/PPS/File.php
OLE/PPS/Root.php
Spreadsheet/Excel/Writer.php
Spreadsheet/Excel/Writer/Format.php
Spreadsheet/Excel/Writer/Parser.php
Spreadsheet/Excel/Writer/Worksheet.php

index 2a94598..fa83130 100644 (file)
@@ -38,6 +38,9 @@ class OLE_PPS_File extends OLE_PPS
     */
     var $_tmp_dir;
 
+    var $_tmp_filename;
+    var $_PPS_FILE;
+    
     /**
     * The constructor
     *
index 598f81f..90365af 100755 (executable)
@@ -44,6 +44,10 @@ class OLE_PPS_Root extends OLE_PPS
     */
     var $_tmp_dir;
     
+    
+    var $_BIG_BLOCK_SIZE;
+    var $_SMALL_BLOCK_SIZE;
+    var $_FILEH_;
     /**
     * Constructor
     *
index 0dacb80..83b1d46 100644 (file)
@@ -44,6 +44,11 @@ require_once 'Spreadsheet/Excel/Writer/Workbook.php';
 
 class Spreadsheet_Excel_Writer extends Spreadsheet_Excel_Writer_Workbook
 {
+    var $_string_sizeinfo;
+    var $_str_total;
+    var $_str_unique;
+    var $_str_table;
+    var $_block_sizes;
     /**
     * The constructor. It just creates a Workbook
     *
index f97e56f..f3d14e8 100644 (file)
@@ -241,7 +241,13 @@ class Spreadsheet_Excel_Writer_Format extends PEAR
     * @var integer
     */
     var $_right_color;
-
+    
+    
+    
+    var $_BIFF_version;
+    var $_diag;
+    var $_diag_color;
+    
     /**
     * Constructor
     *
index 7b72aa7..1794721 100644 (file)
@@ -163,12 +163,17 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
     */
     var $_BIFF_version;
 
+    var $ptg;
+    var $_functions;
+    
     /**
     * The class constructor
     *
     * @param integer $byte_order The byte order (Little endian or Big endian) of the architecture
                                  (optional). 1 => big endian, 0 (default) little endian.
     */
+    
+    
     function __construct($byte_order, $biff_version)
     {
         $this->_current_char  = 0;
index 3159102..41ee21b 100644 (file)
@@ -372,7 +372,26 @@ class Spreadsheet_Excel_Writer_Worksheet extends Spreadsheet_Excel_Writer_BIFFwr
     * @var string
     */
     var $_input_encoding;
-
+    var $firstsheet;
+    
+    var $activesheet;
+    var $title_colmax;
+    var $_print_gridlines;
+    var $_screen_gridlines;
+    var $_print_headers;
+    var $_hbreaks;
+    var $_vbreaks;
+    var $_protect;
+    var $_password;
+    var $col_sizes;
+    var $_row_sizes;
+    var $_zoom;
+    var $_print_scale;
+    var $_dv;
+    var $_block_sizes;
+    var $offset;
+    
+    
     /**
     * Constructor
     *