프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
setTempFolder ( string $tempFolder ) : |
Sets a custom temporary folder for creating intermediate files/folders. |
메소드 | 설명 | |
---|---|---|
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. | |
리턴 | void |
protected closeWriter ( ) : void | ||
리턴 | void |
protected getWorkbook ( ) : Box\Spout\Writer\ODS\Internal\Workbook | ||
리턴 | Box\Spout\Writer\ODS\Internal\Workbook | The workbook representing the file to be written |
protected openWriter ( ) : void | ||
리턴 | void |
public setTempFolder ( string $tempFolder ) : |
||
$tempFolder | string | Temporary folder where the files to create the ODS will be stored |
리턴 |
protected static $headerContentType |