Свойство | 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 |
Méthode | Description | |
---|---|---|
setTempFolder ( string $tempFolder ) : |
Sets a custom temporary folder for creating intermediate files/folders. |
Méthode | 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. | |
Résultat | void |
protected closeWriter ( ) : void | ||
Résultat | void |
protected getWorkbook ( ) : Box\Spout\Writer\ODS\Internal\Workbook | ||
Résultat | Box\Spout\Writer\ODS\Internal\Workbook | The workbook representing the file to be written |
protected openWriter ( ) : void | ||
Résultat | void |
public setTempFolder ( string $tempFolder ) : |
||
$tempFolder | string | Temporary folder where the files to create the ODS will be stored |
Résultat |
protected static $headerContentType |