Browse Source

Switched to PHP 5.2 and CeCILL 2.0 license

Frederic G. Marand 16 years ago
parent
commit
ebc4b4f976
3 changed files with 15 additions and 14 deletions
  1. 3 3
      ooo/Calc_Cell.php
  2. 9 8
      ooo/Calc_Reader.php
  3. 3 3
      ooo/Calc_Row.php

+ 3 - 3
ooo/Calc_Cell.php

@@ -2,11 +2,11 @@
 /**
  * Wrap an OpenDocument spreadsheet cell
  *
- * Requires PHP 5.0.3
+ * Requires PHP 5.2
  *
- * @version $Id: Calc_Cell.php,v 1.1 2005-02-27 10:58:44 marand Exp $
+ * @version $Id: Calc_Cell.php,v 1.2 2007-08-06 06:17:06 marand Exp $
  * @license CeCILL 2.0
- * @copyright 2005 Ouest Systemes Informatiques
+ * @copyright 2005-2006 Ouest Systemes Informatiques
  */
 
 /**

+ 9 - 8
ooo/Calc_Reader.php

@@ -2,11 +2,11 @@
 /**
  * Utility class to access OpenDocument spreadsheets read-only
  *
- * Requires PHP 5.0.3
+ * Requires PHP 5.2
  *
- * @version $Id: Calc_Reader.php,v 1.1 2005-02-27 10:58:44 marand Exp $
+ * @version $Id: Calc_Reader.php,v 1.2 2007-08-06 06:17:06 marand Exp $
  * @license CeCILL 2.0
- * @copyright 2005 Ouest Systemes Informatiques
+ * @copyright 2005-2006 Ouest Systemes Informatiques
  */
 
 $erCalc_Reader = error_reporting(E_ALL | E_STRICT);
@@ -42,19 +42,20 @@ class Calc_Reader
 
   /**
    * Return the rows in the spreadsheet as a DOMNodeList
-   * 
+   * WARNING: this means ALL the rows, in all the sheets, not just the first sheet
+   *
    * @return DOMNodeList
    */
   function getRows ()
     {
     $query = '//table:table-row';
-    
+
     $ret = $this->xpath->query($query);
     unset($query);
-    
-    return $ret;  
+
+    return $ret;
     }
   }
-  
+
 error_reporting($erCalc_Reader);
 unset ($erCalc_Reader);

+ 3 - 3
ooo/Calc_Row.php

@@ -2,11 +2,11 @@
 /**
  * Wrap an OpenDocument spreadsheet row
  *
- * Requires PHP 5.0.3
+ * Requires PHP 5.2
  *
- * @version $Id: Calc_Row.php,v 1.1 2005-02-27 10:58:44 marand Exp $
+ * @version $Id: Calc_Row.php,v 1.2 2007-08-06 06:17:06 marand Exp $
  * @license CeCILL 2.0
- * @copyright 2005 Ouest Systemes Informatiques
+ * @copyright 2005-2006 Ouest Systemes Informatiques
  */
 
 $erCalc_Row = error_reporting(E_ALL | E_STRICT);