[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/spout/src/Spout/Writer/XLSX/ -> Writer.php (summary)

(no description)

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

Defines 1 class

Writer:: (7 methods):
  setTempFolder()
  setShouldUseInlineStrings()
  openWriter()
  getWorkbook()
  addRowToWriter()
  getDefaultRowStyle()
  closeWriter()


Class: Writer  - X-Ref

Class Writer
This class provides base support to write data to XLSX files

setTempFolder($tempFolder)   X-Ref
Sets a custom temporary folder for creating intermediate files/folders.
This must be set before opening the writer.

param: string $tempFolder Temporary folder where the files to create the XLSX will be stored
return: Writer

setShouldUseInlineStrings($shouldUseInlineStrings)   X-Ref
Use inline string to be more memory efficient. If set to false, it will use shared strings.
This must be set before opening the writer.

param: bool $shouldUseInlineStrings Whether inline or shared strings should be used
return: Writer

openWriter()   X-Ref
Configures the write and sets the current sheet pointer to a new sheet.

return: void

getWorkbook()   X-Ref

return: Internal\Workbook The workbook representing the file to be written

addRowToWriter(array $dataRow, $style)   X-Ref
Adds data to the currently opened writer.
If shouldCreateNewSheetsAutomatically option is set to true, it will handle pagination
with the creation of new worksheets if one worksheet has reached its maximum capicity.

param: array $dataRow Array containing data to be written.
param: \Box\Spout\Writer\Style\Style $style Style to be applied to the row.
return: void

getDefaultRowStyle()   X-Ref
Returns the default style to be applied to rows.

return: \Box\Spout\Writer\Style\Style

closeWriter()   X-Ref
Closes the writer, preventing any additional writing.

return: void



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