[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/spout/src/Spout/Writer/ODS/Internal/ -> Workbook.php (summary)

(no description)

File Size: 119 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Workbook:: (6 methods):
  __construct()
  getStyleHelper()
  getMaxRowsPerWorksheet()
  addNewSheet()
  close()
  cleanupTempFolder()


Class: Workbook  - X-Ref

Class Workbook
Represents a workbook within a ODS file.
It provides the functions to work with worksheets.

__construct($tempFolder, $shouldCreateNewSheetsAutomatically, $defaultRowStyle)   X-Ref

param: string $tempFolder
param: bool $shouldCreateNewSheetsAutomatically
param: \Box\Spout\Writer\Style\Style $defaultRowStyle

getStyleHelper()   X-Ref

return: \Box\Spout\Writer\ODS\Helper\StyleHelper Helper to apply styles to ODS files

getMaxRowsPerWorksheet()   X-Ref

return: int Maximum number of rows/columns a sheet can contain

addNewSheet()   X-Ref
Creates a new sheet in the workbook. The current sheet remains unchanged.

return: Worksheet The created sheet

close($finalFilePointer)   X-Ref
Closes the workbook and all its associated sheets.
All the necessary files are written to disk and zipped together to create the ODS file.
All the temporary files are then deleted.

param: resource $finalFilePointer Pointer to the ODS that will be created
return: void

cleanupTempFolder()   X-Ref
Deletes the root folder created in the temp folder and all its contents.

return: void



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1