PHP Class ExcelAnt\Adapter\PhpExcel\Sheet\Sheet

Inheritance: implements ExcelAnt\Adapter\PhpExcel\Sheet\SheetExcelInterface
Show file Open project: wisembly/excelant Class Usage Examples

Public Methods

Method Description
__construct ( Workbook $workbook, PHPExcel_Worksheet $phpExcelWorksheet = null )
addCell ( ExcelAnt\Cell\CellInterface $cell, ExcelAnt\Coordinate\Coordinate $coordinate )
addTable ( ExcelAnt\Table\TableInterface $table, ExcelAnt\Coordinate\Coordinate $coordinate )
getCells ( )
getColumnWidth ( $index )
getDefaultRowHeight ( )
getRawClass ( ) : PHPExcel_Worksheet Get the raw class
getRowHeight ( $index )
getTables ( )
getTitle ( )
importImage ( )
setColumnWidth ( $width, $index )
setDefaultRowHeight ( $height )
setRowHeight ( $height, $index )
setTitle ( $name )

Method Details

__construct() public method

public __construct ( Workbook $workbook, PHPExcel_Worksheet $phpExcelWorksheet = null )
$workbook ExcelAnt\Adapter\PhpExcel\Workbook\Workbook The parent Workbook where the Sheet will live
$phpExcelWorksheet PHPExcel_Worksheet

addCell() public method

public addCell ( ExcelAnt\Cell\CellInterface $cell, ExcelAnt\Coordinate\Coordinate $coordinate )
$cell ExcelAnt\Cell\CellInterface
$coordinate ExcelAnt\Coordinate\Coordinate

addTable() public method

public addTable ( ExcelAnt\Table\TableInterface $table, ExcelAnt\Coordinate\Coordinate $coordinate )
$table ExcelAnt\Table\TableInterface
$coordinate ExcelAnt\Coordinate\Coordinate

getCells() public method

public getCells ( )

getColumnWidth() public method

public getColumnWidth ( $index )

getDefaultRowHeight() public method

public getDefaultRowHeight ( )

getRawClass() public method

Get the raw class
public getRawClass ( ) : PHPExcel_Worksheet
return PHPExcel_Worksheet

getRowHeight() public method

public getRowHeight ( $index )

getTables() public method

public getTables ( )

getTitle() public method

public getTitle ( )

importImage() public method

public importImage ( )

setColumnWidth() public method

public setColumnWidth ( $width, $index )

setDefaultRowHeight() public method

public setDefaultRowHeight ( $height )

setRowHeight() public method

public setRowHeight ( $height, $index )

setTitle() public method

public setTitle ( $name )