diff --git a/src/PhpSpreadsheet/Writer/HTML.php b/src/PhpSpreadsheet/Writer/HTML.php index 5325d58d..9e62f580 100644 --- a/src/PhpSpreadsheet/Writer/HTML.php +++ b/src/PhpSpreadsheet/Writer/HTML.php @@ -8,8 +8,6 @@ use Spreadsheet\Shared\StringHelper; use Spreadsheet\Spreadsheet; /** - * Spreadsheet_Writer_HTML - * * Copyright (c) 2006 - 2015 Spreadsheet * * This library is free software; you can redistribute it and/or @@ -132,7 +130,7 @@ class HTML extends BaseWriter implements IWriter private $generateSheetNavigationBlock = true; /** - * Create a new Spreadsheet_Writer_HTML + * Create a new HTML * * @param Spreadsheet $spreadsheet */ @@ -560,7 +558,7 @@ class HTML extends BaseWriter implements IWriter $colMax = 'A'; if ($this->includeCharts) { foreach ($pSheet->getChartCollection() as $chart) { - if ($chart instanceof Spreadsheet_Chart) { + if ($chart instanceof \PhpSpreadsheet\Chart) { $chartCoordinates = $chart->getTopLeftPosition(); $chartTL = \Spreadsheet\Cell::coordinateFromString($chartCoordinates['cell']); $chartCol = \Spreadsheet\Cell::columnIndexFromString($chartTL[0]); @@ -701,7 +699,7 @@ class HTML extends BaseWriter implements IWriter // Write charts foreach ($pSheet->getChartCollection() as $chart) { - if ($chart instanceof Spreadsheet_Chart) { + if ($chart instanceof \PhpSpreadsheet\Chart) { $chartCoordinates = $chart->getTopLeftPosition(); if ($chartCoordinates['cell'] == $coordinates) { $chartFileName = \Spreadsheet\Shared\File::sysGetTempDir() . '/' . uniqid() . '.png'; @@ -933,7 +931,7 @@ class HTML extends BaseWriter implements IWriter /** * Create CSS style * - * @param \Spreadsheet\Style $pStyle Spreadsheet_Style + * @param \Spreadsheet\Style $pStyle * @return array */ private function createCSSStyle(\Spreadsheet\Style $pStyle) @@ -1329,7 +1327,7 @@ class HTML extends BaseWriter implements IWriter if (!$this->useInlineCss) { $html .= ' class="' . $cssClass . '"'; } else { - //** Necessary redundant code for the sake of Spreadsheet_Writer_PDF ** + //** Necessary redundant code for the sake of PhpSpreadsheet\Writer\PDF ** // We must explicitly write the width of the