PHP Class ExcelAnt\Adapter\PhpExcel\Workbook\Workbook

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

Public Methods

Method Description
__construct ( PHPExcel $phpExcel = null )
addSheet ( ExcelAnt\Sheet\SheetInterface $sheet, $index = null, $insert = false )
addStyles ( ExcelAnt\Collections\StyleCollection $styles )
countSheets ( )
createSheet ( )
getAllSheets ( )
getCompany ( )
getCreator ( )
getDescription ( )
getRawClass ( ) : PHPExcel Get the raw class
getSheet ( $index )
getStyles ( )
getSubject ( )
getTitle ( )
hasStyles ( )
removeSheet ( $index )
setCompany ( $company )
setCreator ( $creator )
setDescription ( $description )
setSubject ( $subject )
setTitle ( $title )

Private Methods

Method Description
checkIndexParameter ( integer $index ) Check if the index parameter used by many method to handle the sheetCollection answers the requirements

Method Details

__construct() public method

public __construct ( PHPExcel $phpExcel = null )
$phpExcel PHPExcel

addSheet() public method

public addSheet ( ExcelAnt\Sheet\SheetInterface $sheet, $index = null, $insert = false )
$sheet ExcelAnt\Sheet\SheetInterface

addStyles() public method

public addStyles ( ExcelAnt\Collections\StyleCollection $styles )
$styles ExcelAnt\Collections\StyleCollection

countSheets() public method

public countSheets ( )

createSheet() public method

public createSheet ( )

getAllSheets() public method

public getAllSheets ( )

getCompany() public method

public getCompany ( )

getCreator() public method

public getCreator ( )

getDescription() public method

public getDescription ( )

getRawClass() public method

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

getSheet() public method

public getSheet ( $index )

getStyles() public method

public getStyles ( )

getSubject() public method

public getSubject ( )

getTitle() public method

public getTitle ( )

hasStyles() public method

public hasStyles ( )

removeSheet() public method

public removeSheet ( $index )

setCompany() public method

public setCompany ( $company )

setCreator() public method

public setCreator ( $creator )

setDescription() public method

public setDescription ( $description )

setSubject() public method

public setSubject ( $subject )

setTitle() public method

public setTitle ( $title )