Property | Type | Description | |
---|---|---|---|
$book | The workbook for the ODS file | ||
$headerContentType | Content-Type value for the header | ||
$tempFolder | Temporary folder where the files to create the ODS will be stored |
Method | Description | |
---|---|---|
setTempFolder ( string $tempFolder ) : |
Sets a custom temporary folder for creating intermediate files/folders. |
Method | Description | |
---|---|---|
addRowToWriter ( array $dataRow, |
Adds data to the currently opened writer. | |
closeWriter ( ) : void | Closes the writer, preventing any additional writing. | |
getWorkbook ( ) : Box\Spout\Writer\ODS\Internal\Workbook | ||
openWriter ( ) : void | Configures the write and sets the current sheet pointer to a new sheet. |
protected addRowToWriter ( array $dataRow, |
||
$dataRow | array | Array containing data to be written. Example $dataRow = ['data1', 1234, null, '', 'data5']; |
$style | Style to be applied to the row. | |
return | void |
protected closeWriter ( ) : void | ||
return | void |
protected getWorkbook ( ) : Box\Spout\Writer\ODS\Internal\Workbook | ||
return | Box\Spout\Writer\ODS\Internal\Workbook | The workbook representing the file to be written |
protected openWriter ( ) : void | ||
return | void |
public setTempFolder ( string $tempFolder ) : |
||
$tempFolder | string | Temporary folder where the files to create the ODS will be stored |
return |
protected static $headerContentType |