|
FileSystemWithRootFolderHelperInterface FileSystemWithRootFolderHelperInterface | $fileSystemHelper |
| Helper to perform file system operations.
|
|
AbstractOptions | $options |
|
StyleManagerInterface StyleManagerInterface | $styleManager |
| Manages styles.
|
|
WorksheetManagerInterface | $worksheetManager |
|
◆ addNewSheetAndMakeItCurrent()
OpenSpout\Writer\Common\Manager\AbstractWorkbookManager::addNewSheetAndMakeItCurrent |
( |
| ) |
|
|
finalinherited |
◆ addRowToCurrentWorksheet()
OpenSpout\Writer\Common\Manager\AbstractWorkbookManager::addRowToCurrentWorksheet |
( |
Row | $row | ) |
|
|
finalinherited |
Adds a row to the current sheet.
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.
- Parameters
-
Row | $row | The row to be added |
- Exceptions
-
Implements OpenSpout\Writer\Common\Manager\WorkbookManagerInterface.
◆ close()
OpenSpout\Writer\Common\Manager\AbstractWorkbookManager::close |
( |
| $finalFilePointer | ) |
|
|
finalinherited |
Closes the workbook and all its associated sheets.
All the necessary files are written to disk and zipped together to create the final file. All the temporary files are then deleted.
- Parameters
-
resource | $finalFilePointer | Pointer to the spreadsheet that will be created |
Implements OpenSpout\Writer\Common\Manager\WorkbookManagerInterface.
◆ closeRemainingObjects()
OpenSpout\Writer\Common\Manager\AbstractWorkbookManager::closeRemainingObjects |
( |
| ) |
|
|
protectedinherited |
◆ getCurrentWorksheet()
OpenSpout\Writer\Common\Manager\AbstractWorkbookManager::getCurrentWorksheet |
( |
| ) |
|
|
finalinherited |
◆ getMaxRowsPerWorksheet()
OpenSpout\Writer\ODS\Manager\WorkbookManager::getMaxRowsPerWorksheet |
( |
| ) |
|
|
protected |
◆ getWorksheets()
OpenSpout\Writer\Common\Manager\AbstractWorkbookManager::getWorksheets |
( |
| ) |
|
|
finalinherited |
◆ setCurrentSheet()
OpenSpout\Writer\Common\Manager\AbstractWorkbookManager::setCurrentSheet |
( |
Sheet | $sheet | ) |
|
|
finalinherited |
Sets the given sheet as the current one.
New data will be written to this sheet. The writing will resume where it stopped (i.e. data won't be truncated).
- Parameters
-
Sheet | $sheet | The "external" sheet to set as current |
- Exceptions
-
SheetNotFoundException | If the given sheet does not exist in the workbook |
Implements OpenSpout\Writer\Common\Manager\WorkbookManagerInterface.
◆ writeAllFilesToDiskAndZipThem()
OpenSpout\Writer\ODS\Manager\WorkbookManager::writeAllFilesToDiskAndZipThem |
( |
| $finalFilePointer | ) |
|
|
protected |
The documentation for this class was generated from the following file:
- lib/openspout/src/Writer/ODS/Manager/WorkbookManager.php