diff --git a/Classes/PHPExcel/Reader/HTML.php b/Classes/PHPExcel/Reader/HTML.php
index 6462b798..4e8b8e99 100644
--- a/Classes/PHPExcel/Reader/HTML.php
+++ b/Classes/PHPExcel/Reader/HTML.php
@@ -201,7 +201,7 @@ class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_
// Simple String content
if (trim($cellContent) > '') {
// Only actually write it if there's content in the string
- echo 'FLUSH CELL: ' , $column , $row , ' => ' , $cellContent , '
';
+// echo 'FLUSH CELL: ' , $column , $row , ' => ' , $cellContent , '
';
// Write to worksheet to be done here...
// ... we return the cell so we can mess about with styles more easily
$cell = $sheet->setCellValue($column.$row,$cellContent,true);
@@ -227,11 +227,11 @@ class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_
// TODO
}
} elseif($child instanceof DOMElement) {
- echo 'DOM ELEMENT: ' , strtoupper($child->nodeName) , '
';
+// echo 'DOM ELEMENT: ' , strtoupper($child->nodeName) , '
';
$attributeArray = array();
foreach($child->attributes as $attribute) {
- echo 'ATTRIBUTE: ' , $attribute->name , ' => ' , $attribute->value , '
';
+// echo 'ATTRIBUTE: ' , $attribute->name , ' => ' , $attribute->value , '
';
$attributeArray[$attribute->name] = $attribute->value;
}
@@ -259,13 +259,13 @@ class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_
case 'em' :
case 'strong':
case 'b' :
- echo 'STYLING, SPAN OR DIV
';
+// echo 'STYLING, SPAN OR DIV
';
if ($cellContent > '')
$cellContent .= ' ';
$this->_processDomElement($child,$sheet,$row,$column,$cellContent);
if ($cellContent > '')
$cellContent .= ' ';
- echo 'END OF STYLING, SPAN OR DIV
';
+// echo 'END OF STYLING, SPAN OR DIV
';
break;
case 'hr' :
$this->_flushCell($sheet,$column,$row,$cellContent);
@@ -286,14 +286,14 @@ class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_
$this->_flushCell($sheet,$column,$row,$cellContent);
++$row;
}
- echo 'HARD LINE BREAK: ' , '
';
+// echo 'HARD LINE BREAK: ' , '
';
break;
case 'a' :
- echo 'START OF HYPERLINK: ' , '
';
+// echo 'START OF HYPERLINK: ' , '
';
foreach($attributeArray as $attributeName => $attributeValue) {
switch($attributeName) {
case 'href':
- echo 'Link to ' , $attributeValue , '
';
+// echo 'Link to ' , $attributeValue , '
';
$sheet->getCell($column.$row)->getHyperlink()->setUrl($attributeValue);
if (isset($this->_formats[$child->nodeName])) {
$sheet->getStyle($column.$row)->applyFromArray($this->_formats[$child->nodeName]);
@@ -303,7 +303,7 @@ class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_
}
$cellContent .= ' ';
$this->_processDomElement($child,$sheet,$row,$column,$cellContent);
- echo 'END OF HYPERLINK:' , '
';
+// echo 'END OF HYPERLINK:' , '
';
break;
case 'h1' :
case 'h2' :
@@ -317,17 +317,17 @@ class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_
if ($this->_tableLevel > 0) {
// If we're inside a table, replace with a \n
$cellContent .= "\n";
- echo 'LIST ENTRY: ' , '
';
+// echo 'LIST ENTRY: ' , '
';
$this->_processDomElement($child,$sheet,$row,$column,$cellContent);
- echo 'END OF LIST ENTRY:' , '
';
+// echo 'END OF LIST ENTRY:' , '
';
} else {
if ($cellContent > '') {
$this->_flushCell($sheet,$column,$row,$cellContent);
$row += 2;
}
- echo 'START OF PARAGRAPH: ' , '
';
+// echo 'START OF PARAGRAPH: ' , '
';
$this->_processDomElement($child,$sheet,$row,$column,$cellContent);
- echo 'END OF PARAGRAPH:' , '
';
+// echo 'END OF PARAGRAPH:' , '
';
$this->_flushCell($sheet,$column,$row,$cellContent);
if (isset($this->_formats[$child->nodeName])) {
@@ -342,17 +342,17 @@ class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_
if ($this->_tableLevel > 0) {
// If we're inside a table, replace with a \n
$cellContent .= "\n";
- echo 'LIST ENTRY: ' , '
';
+// echo 'LIST ENTRY: ' , '
';
$this->_processDomElement($child,$sheet,$row,$column,$cellContent);
- echo 'END OF LIST ENTRY:' , '
';
+// echo 'END OF LIST ENTRY:' , '
';
} else {
if ($cellContent > '') {
$this->_flushCell($sheet,$column,$row,$cellContent);
}
++$row;
- echo 'LIST ENTRY: ' , '
';
+// echo 'LIST ENTRY: ' , '
';
$this->_processDomElement($child,$sheet,$row,$column,$cellContent);
- echo 'END OF LIST ENTRY:' , '
';
+// echo 'END OF LIST ENTRY:' , '
';
$this->_flushCell($sheet,$column,$row,$cellContent);
$column = 'A';
}
@@ -360,11 +360,11 @@ class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_
case 'table' :
$this->_flushCell($sheet,$column,$row,$cellContent);
$column = $this->_setTableStartColumn($column);
- echo 'START OF TABLE LEVEL ' , $this->_tableLevel , '
';
+// echo 'START OF TABLE LEVEL ' , $this->_tableLevel , '
';
if ($this->_tableLevel > 1)
--$row;
$this->_processDomElement($child,$sheet,$row,$column,$cellContent);
- echo 'END OF TABLE LEVEL ' , $this->_tableLevel , '
';
+// echo 'END OF TABLE LEVEL ' , $this->_tableLevel , '
';
$column = $this->_releaseTableStartColumn();
if ($this->_tableLevel > 1) {
++$column;
@@ -380,15 +380,15 @@ class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_
++$row;
$column = $this->_getTableStartColumn();
$cellContent = '';
- echo 'START OF TABLE ' , $this->_tableLevel , ' ROW
';
+// echo 'START OF TABLE ' , $this->_tableLevel , ' ROW
';
$this->_processDomElement($child,$sheet,$row,$column,$cellContent);
- echo 'END OF TABLE ' , $this->_tableLevel , ' ROW
';
+// echo 'END OF TABLE ' , $this->_tableLevel , ' ROW
';
break;
case 'th' :
case 'td' :
- echo 'START OF TABLE ' , $this->_tableLevel , ' CELL
';
+// echo 'START OF TABLE ' , $this->_tableLevel , ' CELL
';
$this->_processDomElement($child,$sheet,$row,$column,$cellContent);
- echo 'END OF TABLE ' , $this->_tableLevel , ' CELL
';
+// echo 'END OF TABLE ' , $this->_tableLevel , ' CELL
';
$this->_flushCell($sheet,$column,$row,$cellContent);
++$column;
break;
@@ -448,8 +448,8 @@ class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_
$content = '';
$this->_processDomElement($dom,$objPHPExcel->getActiveSheet(),$row,$column,$content);
- echo '