PHP Classes

Good and simple class.

Recommend this page to a friend!

      Excel XML  >  All threads  >  Good and simple class.  >  (Un) Subscribe thread alerts  
Subject:Good and simple class.
Summary:Package rating comment
Messages:1
Author:4php
Date:2009-10-22 02:20:39
 

4php rated this package as follows:

Utility: Good
Consistency: Good
Examples: Sufficient
Unit tests: Not sure

  1. Good and simple class.   Reply   Report abuse  
Picture of 4php 4php - 2009-10-22 02:20:39
Good and simple class.
small bug: Replace this function body:
function setTableNodeAttributes(&$tableNode, $row, $col)
{
try {
$col = max($tableNode->getAttribute("ss:ExpandedColumnCount"), $col);
$tableNode->setAttribute("ss:ExpandedColumnCount", $col);
$row = max($tableNode->getAttribute("ss:ExpandedRowCount"), $row);
$tableNode->setAttribute("ss:ExpandedRowCount", $row);

$tableNode->setAttribute("x:FullColumns", 1);
$tableNode->setAttribute("x:FullRows", 1);
return true;
} catch (Exception $e) {
return false;
}
}