Remove duplicated declarations of interface implementation
This commit is contained in:
parent
6561494e32
commit
8183c71e78
|
@ -40,14 +40,14 @@ class Calculation
|
||||||
/**
|
/**
|
||||||
* Instance of this class.
|
* Instance of this class.
|
||||||
*
|
*
|
||||||
* @var \PhpOffice\PhpSpreadsheet\Calculation
|
* @var Calculation
|
||||||
*/
|
*/
|
||||||
private static $instance;
|
private static $instance;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Instance of the spreadsheet this Calculation Engine is using.
|
* Instance of the spreadsheet this Calculation Engine is using.
|
||||||
*
|
*
|
||||||
* @var PhpSpreadsheet
|
* @var Spreadsheet
|
||||||
*/
|
*/
|
||||||
private $spreadsheet;
|
private $spreadsheet;
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ use PhpOffice\PhpSpreadsheet\Cell\Cell;
|
||||||
use PhpOffice\PhpSpreadsheet\Shared\StringHelper;
|
use PhpOffice\PhpSpreadsheet\Shared\StringHelper;
|
||||||
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||||
|
|
||||||
class Csv extends BaseReader implements IReader
|
class Csv extends BaseReader
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Input encoding.
|
* Input encoding.
|
||||||
|
|
|
@ -18,7 +18,7 @@ use PhpOffice\PhpSpreadsheet\Style\Fill;
|
||||||
use PhpOffice\PhpSpreadsheet\Style\Font;
|
use PhpOffice\PhpSpreadsheet\Style\Font;
|
||||||
use XMLReader;
|
use XMLReader;
|
||||||
|
|
||||||
class Gnumeric extends BaseReader implements IReader
|
class Gnumeric extends BaseReader
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Shared Expressions.
|
* Shared Expressions.
|
||||||
|
|
|
@ -14,7 +14,7 @@ use PhpOffice\PhpSpreadsheet\Style\Fill;
|
||||||
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
||||||
|
|
||||||
/** PhpSpreadsheet root directory */
|
/** PhpSpreadsheet root directory */
|
||||||
class Html extends BaseReader implements IReader
|
class Html extends BaseReader
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Sample size to read to determine if it's HTML or not.
|
* Sample size to read to determine if it's HTML or not.
|
||||||
|
|
|
@ -4,6 +4,11 @@ namespace PhpOffice\PhpSpreadsheet\Reader;
|
||||||
|
|
||||||
interface IReader
|
interface IReader
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* IReader constructor.
|
||||||
|
*/
|
||||||
|
public function __construct();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Can the current IReader read the file?
|
* Can the current IReader read the file?
|
||||||
*
|
*
|
||||||
|
|
|
@ -17,7 +17,7 @@ use PhpOffice\PhpSpreadsheet\Style\NumberFormat;
|
||||||
use XMLReader;
|
use XMLReader;
|
||||||
use ZipArchive;
|
use ZipArchive;
|
||||||
|
|
||||||
class Ods extends BaseReader implements IReader
|
class Ods extends BaseReader
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Create a new Ods Reader instance.
|
* Create a new Ods Reader instance.
|
||||||
|
|
|
@ -8,7 +8,7 @@ use PhpOffice\PhpSpreadsheet\Shared\StringHelper;
|
||||||
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||||
use PhpOffice\PhpSpreadsheet\Style\Border;
|
use PhpOffice\PhpSpreadsheet\Style\Border;
|
||||||
|
|
||||||
class Slk extends BaseReader implements IReader
|
class Slk extends BaseReader
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Input encoding.
|
* Input encoding.
|
||||||
|
|
|
@ -58,7 +58,7 @@ use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
||||||
// Patch code for user-defined named cells supports single cells only.
|
// Patch code for user-defined named cells supports single cells only.
|
||||||
// NOTE: this patch only works for BIFF8 as BIFF5-7 use a different
|
// NOTE: this patch only works for BIFF8 as BIFF5-7 use a different
|
||||||
// external sheet reference structure
|
// external sheet reference structure
|
||||||
class Xls extends BaseReader implements IReader
|
class Xls extends BaseReader
|
||||||
{
|
{
|
||||||
// ParseXL definitions
|
// ParseXL definitions
|
||||||
const XLS_BIFF8 = 0x0600;
|
const XLS_BIFF8 = 0x0600;
|
||||||
|
|
|
@ -28,7 +28,7 @@ use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
||||||
use XMLReader;
|
use XMLReader;
|
||||||
use ZipArchive;
|
use ZipArchive;
|
||||||
|
|
||||||
class Xlsx extends BaseReader implements IReader
|
class Xlsx extends BaseReader
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* ReferenceHelper instance.
|
* ReferenceHelper instance.
|
||||||
|
|
|
@ -18,7 +18,7 @@ use PhpOffice\PhpSpreadsheet\Style\Font;
|
||||||
/**
|
/**
|
||||||
* Reader for SpreadsheetML, the XML schema for Microsoft Office Excel 2003.
|
* Reader for SpreadsheetML, the XML schema for Microsoft Office Excel 2003.
|
||||||
*/
|
*/
|
||||||
class Xml extends BaseReader implements IReader
|
class Xml extends BaseReader
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Formats.
|
* Formats.
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
namespace PhpOffice\PhpSpreadsheet\Style;
|
namespace PhpOffice\PhpSpreadsheet\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
||||||
use PhpOffice\PhpSpreadsheet\IComparable;
|
|
||||||
|
|
||||||
class Alignment extends Supervisor implements IComparable
|
class Alignment extends Supervisor
|
||||||
{
|
{
|
||||||
// Horizontal alignment styles
|
// Horizontal alignment styles
|
||||||
const HORIZONTAL_GENERAL = 'general';
|
const HORIZONTAL_GENERAL = 'general';
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
namespace PhpOffice\PhpSpreadsheet\Style;
|
namespace PhpOffice\PhpSpreadsheet\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
||||||
use PhpOffice\PhpSpreadsheet\IComparable;
|
|
||||||
|
|
||||||
class Border extends Supervisor implements IComparable
|
class Border extends Supervisor
|
||||||
{
|
{
|
||||||
// Border style
|
// Border style
|
||||||
const BORDER_NONE = 'none';
|
const BORDER_NONE = 'none';
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
namespace PhpOffice\PhpSpreadsheet\Style;
|
namespace PhpOffice\PhpSpreadsheet\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
||||||
use PhpOffice\PhpSpreadsheet\IComparable;
|
|
||||||
|
|
||||||
class Borders extends Supervisor implements IComparable
|
class Borders extends Supervisor
|
||||||
{
|
{
|
||||||
// Diagonal directions
|
// Diagonal directions
|
||||||
const DIAGONAL_NONE = 0;
|
const DIAGONAL_NONE = 0;
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
namespace PhpOffice\PhpSpreadsheet\Style;
|
namespace PhpOffice\PhpSpreadsheet\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
||||||
use PhpOffice\PhpSpreadsheet\IComparable;
|
|
||||||
|
|
||||||
class Color extends Supervisor implements IComparable
|
class Color extends Supervisor
|
||||||
{
|
{
|
||||||
// Colors
|
// Colors
|
||||||
const COLOR_BLACK = 'FF000000';
|
const COLOR_BLACK = 'FF000000';
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
namespace PhpOffice\PhpSpreadsheet\Style;
|
namespace PhpOffice\PhpSpreadsheet\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
||||||
use PhpOffice\PhpSpreadsheet\IComparable;
|
|
||||||
|
|
||||||
class Fill extends Supervisor implements IComparable
|
class Fill extends Supervisor
|
||||||
{
|
{
|
||||||
// Fill types
|
// Fill types
|
||||||
const FILL_NONE = 'none';
|
const FILL_NONE = 'none';
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
namespace PhpOffice\PhpSpreadsheet\Style;
|
namespace PhpOffice\PhpSpreadsheet\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
||||||
use PhpOffice\PhpSpreadsheet\IComparable;
|
|
||||||
|
|
||||||
class Font extends Supervisor implements IComparable
|
class Font extends Supervisor
|
||||||
{
|
{
|
||||||
// Underline types
|
// Underline types
|
||||||
const UNDERLINE_NONE = 'none';
|
const UNDERLINE_NONE = 'none';
|
||||||
|
|
|
@ -4,11 +4,10 @@ namespace PhpOffice\PhpSpreadsheet\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Calculation\MathTrig;
|
use PhpOffice\PhpSpreadsheet\Calculation\MathTrig;
|
||||||
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
||||||
use PhpOffice\PhpSpreadsheet\IComparable;
|
|
||||||
use PhpOffice\PhpSpreadsheet\Shared\Date;
|
use PhpOffice\PhpSpreadsheet\Shared\Date;
|
||||||
use PhpOffice\PhpSpreadsheet\Shared\StringHelper;
|
use PhpOffice\PhpSpreadsheet\Shared\StringHelper;
|
||||||
|
|
||||||
class NumberFormat extends Supervisor implements IComparable
|
class NumberFormat extends Supervisor
|
||||||
{
|
{
|
||||||
// Pre-defined formats
|
// Pre-defined formats
|
||||||
const FORMAT_GENERAL = 'General';
|
const FORMAT_GENERAL = 'General';
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
namespace PhpOffice\PhpSpreadsheet\Style;
|
namespace PhpOffice\PhpSpreadsheet\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
||||||
use PhpOffice\PhpSpreadsheet\IComparable;
|
|
||||||
|
|
||||||
class Protection extends Supervisor implements IComparable
|
class Protection extends Supervisor
|
||||||
{
|
{
|
||||||
/** Protection styles */
|
/** Protection styles */
|
||||||
const PROTECTION_INHERIT = 'inherit';
|
const PROTECTION_INHERIT = 'inherit';
|
||||||
|
|
|
@ -3,10 +3,9 @@
|
||||||
namespace PhpOffice\PhpSpreadsheet\Style;
|
namespace PhpOffice\PhpSpreadsheet\Style;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Cell\Cell;
|
use PhpOffice\PhpSpreadsheet\Cell\Cell;
|
||||||
use PhpOffice\PhpSpreadsheet\IComparable;
|
|
||||||
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||||
|
|
||||||
class Style extends Supervisor implements IComparable
|
class Style extends Supervisor
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Font.
|
* Font.
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
namespace PhpOffice\PhpSpreadsheet\Style;
|
namespace PhpOffice\PhpSpreadsheet\Style;
|
||||||
|
|
||||||
abstract class Supervisor
|
use PhpOffice\PhpSpreadsheet\IComparable;
|
||||||
|
|
||||||
|
abstract class Supervisor implements IComparable
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Supervisor?
|
* Supervisor?
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace PhpOffice\PhpSpreadsheet\Worksheet;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
||||||
|
|
||||||
abstract class CellIterator
|
abstract class CellIterator implements \Iterator
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Worksheet to iterate.
|
* Worksheet to iterate.
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace PhpOffice\PhpSpreadsheet\Worksheet;
|
||||||
use PhpOffice\PhpSpreadsheet\Cell\Cell;
|
use PhpOffice\PhpSpreadsheet\Cell\Cell;
|
||||||
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
||||||
|
|
||||||
class ColumnCellIterator extends CellIterator implements \Iterator
|
class ColumnCellIterator extends CellIterator
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Column index.
|
* Column index.
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
namespace PhpOffice\PhpSpreadsheet\Worksheet;
|
namespace PhpOffice\PhpSpreadsheet\Worksheet;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
||||||
use PhpOffice\PhpSpreadsheet\IComparable;
|
|
||||||
|
|
||||||
class Drawing extends BaseDrawing implements IComparable
|
class Drawing extends BaseDrawing
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Path.
|
* Path.
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
namespace PhpOffice\PhpSpreadsheet\Worksheet;
|
namespace PhpOffice\PhpSpreadsheet\Worksheet;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
||||||
use PhpOffice\PhpSpreadsheet\IComparable;
|
|
||||||
|
|
||||||
class HeaderFooterDrawing extends Drawing implements IComparable
|
class HeaderFooterDrawing extends Drawing
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Path.
|
* Path.
|
||||||
|
|
|
@ -2,9 +2,7 @@
|
||||||
|
|
||||||
namespace PhpOffice\PhpSpreadsheet\Worksheet;
|
namespace PhpOffice\PhpSpreadsheet\Worksheet;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\IComparable;
|
class MemoryDrawing extends BaseDrawing
|
||||||
|
|
||||||
class MemoryDrawing extends BaseDrawing implements IComparable
|
|
||||||
{
|
{
|
||||||
// Rendering functions
|
// Rendering functions
|
||||||
const RENDERING_DEFAULT = 'imagepng';
|
const RENDERING_DEFAULT = 'imagepng';
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace PhpOffice\PhpSpreadsheet\Worksheet;
|
||||||
use PhpOffice\PhpSpreadsheet\Cell\Cell;
|
use PhpOffice\PhpSpreadsheet\Cell\Cell;
|
||||||
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
||||||
|
|
||||||
class RowCellIterator extends CellIterator implements \Iterator
|
class RowCellIterator extends CellIterator
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Row index.
|
* Row index.
|
||||||
|
|
|
@ -5,12 +5,12 @@ namespace PhpOffice\PhpSpreadsheet\Writer;
|
||||||
use PhpOffice\PhpSpreadsheet\Calculation\Calculation;
|
use PhpOffice\PhpSpreadsheet\Calculation\Calculation;
|
||||||
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||||
|
|
||||||
class Csv extends BaseWriter implements IWriter
|
class Csv extends BaseWriter
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* PhpSpreadsheet object.
|
* PhpSpreadsheet object.
|
||||||
*
|
*
|
||||||
* @var PhpSpreadsheet
|
* @var Spreadsheet
|
||||||
*/
|
*/
|
||||||
private $spreadsheet;
|
private $spreadsheet;
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ use PhpOffice\PhpSpreadsheet\Worksheet\MemoryDrawing;
|
||||||
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
||||||
use PhpOffice\PhpSpreadsheet\Writer\Exception as WriterException;
|
use PhpOffice\PhpSpreadsheet\Writer\Exception as WriterException;
|
||||||
|
|
||||||
class Html extends BaseWriter implements IWriter
|
class Html extends BaseWriter
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Spreadsheet object.
|
* Spreadsheet object.
|
||||||
|
|
|
@ -14,7 +14,7 @@ use PhpOffice\PhpSpreadsheet\Writer\Ods\Styles;
|
||||||
use PhpOffice\PhpSpreadsheet\Writer\Ods\Thumbnails;
|
use PhpOffice\PhpSpreadsheet\Writer\Ods\Thumbnails;
|
||||||
use ZipArchive;
|
use ZipArchive;
|
||||||
|
|
||||||
class Ods extends BaseWriter implements IWriter
|
class Ods extends BaseWriter
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Private writer parts.
|
* Private writer parts.
|
||||||
|
@ -26,7 +26,7 @@ class Ods extends BaseWriter implements IWriter
|
||||||
/**
|
/**
|
||||||
* Private PhpSpreadsheet.
|
* Private PhpSpreadsheet.
|
||||||
*
|
*
|
||||||
* @var PhpSpreadsheet
|
* @var Spreadsheet
|
||||||
*/
|
*/
|
||||||
private $spreadSheet;
|
private $spreadSheet;
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||||
use PhpOffice\PhpSpreadsheet\Worksheet\PageSetup;
|
use PhpOffice\PhpSpreadsheet\Worksheet\PageSetup;
|
||||||
use PhpOffice\PhpSpreadsheet\Writer\Exception as WriterException;
|
use PhpOffice\PhpSpreadsheet\Writer\Exception as WriterException;
|
||||||
|
|
||||||
abstract class Pdf extends Html implements IWriter
|
abstract class Pdf extends Html
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Temporary storage directory.
|
* Temporary storage directory.
|
||||||
|
|
|
@ -3,10 +3,9 @@
|
||||||
namespace PhpOffice\PhpSpreadsheet\Writer\Pdf;
|
namespace PhpOffice\PhpSpreadsheet\Writer\Pdf;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Worksheet\PageSetup;
|
use PhpOffice\PhpSpreadsheet\Worksheet\PageSetup;
|
||||||
use PhpOffice\PhpSpreadsheet\Writer\IWriter;
|
|
||||||
use PhpOffice\PhpSpreadsheet\Writer\Pdf;
|
use PhpOffice\PhpSpreadsheet\Writer\Pdf;
|
||||||
|
|
||||||
class Dompdf extends Pdf implements IWriter
|
class Dompdf extends Pdf
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Save Spreadsheet to file.
|
* Save Spreadsheet to file.
|
||||||
|
|
|
@ -4,10 +4,9 @@ namespace PhpOffice\PhpSpreadsheet\Writer\Pdf;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
|
||||||
use PhpOffice\PhpSpreadsheet\Worksheet\PageSetup;
|
use PhpOffice\PhpSpreadsheet\Worksheet\PageSetup;
|
||||||
use PhpOffice\PhpSpreadsheet\Writer\IWriter;
|
|
||||||
use PhpOffice\PhpSpreadsheet\Writer\Pdf;
|
use PhpOffice\PhpSpreadsheet\Writer\Pdf;
|
||||||
|
|
||||||
class Mpdf extends Pdf implements IWriter
|
class Mpdf extends Pdf
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Save Spreadsheet to file.
|
* Save Spreadsheet to file.
|
||||||
|
|
|
@ -3,10 +3,9 @@
|
||||||
namespace PhpOffice\PhpSpreadsheet\Writer\Pdf;
|
namespace PhpOffice\PhpSpreadsheet\Writer\Pdf;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Worksheet\PageSetup;
|
use PhpOffice\PhpSpreadsheet\Worksheet\PageSetup;
|
||||||
use PhpOffice\PhpSpreadsheet\Writer\IWriter;
|
|
||||||
use PhpOffice\PhpSpreadsheet\Writer\Pdf;
|
use PhpOffice\PhpSpreadsheet\Writer\Pdf;
|
||||||
|
|
||||||
class Tcpdf extends Pdf implements IWriter
|
class Tcpdf extends Pdf
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Save Spreadsheet to file.
|
* Save Spreadsheet to file.
|
||||||
|
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpSpreadsheet\Worksheet\Drawing;
|
||||||
use PhpOffice\PhpSpreadsheet\Worksheet\MemoryDrawing;
|
use PhpOffice\PhpSpreadsheet\Worksheet\MemoryDrawing;
|
||||||
use RuntimeException;
|
use RuntimeException;
|
||||||
|
|
||||||
class Xls extends BaseWriter implements IWriter
|
class Xls extends BaseWriter
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* PhpSpreadsheet object.
|
* PhpSpreadsheet object.
|
||||||
|
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpSpreadsheet\Writer\Xlsx\Workbook;
|
||||||
use PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet;
|
use PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet;
|
||||||
use ZipArchive;
|
use ZipArchive;
|
||||||
|
|
||||||
class Xlsx extends BaseWriter implements IWriter
|
class Xlsx extends BaseWriter
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Office2003 compatibility.
|
* Office2003 compatibility.
|
||||||
|
|
Loading…
Reference in New Issue