| [ Index ] |
PHP Cross Reference of Moodle 310 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 274 lines (10 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
WorksheetManager:: (10 methods):
__construct()
getSharedStringsManager()
startSheet()
throwIfSheetFilePointerIsNotAvailable()
addRow()
addNonEmptyRow()
applyStyleAndGetCellXML()
getCellXML()
getCellXMLFragmentForNonEmptyString()
close()
Class: WorksheetManager - X-Ref
Class WorksheetManager| __construct(OptionsManagerInterface $optionsManager,RowManager $rowManager,StyleManager $styleManager,StyleMerger $styleMerger,SharedStringsManager $sharedStringsManager,XLSXEscaper $stringsEscaper,StringHelper $stringHelper,InternalEntityFactory $entityFactory) X-Ref |
| WorksheetManager constructor. param: OptionsManagerInterface $optionsManager param: RowManager $rowManager param: StyleManager $styleManager param: StyleMerger $styleMerger param: SharedStringsManager $sharedStringsManager param: XLSXEscaper $stringsEscaper param: StringHelper $stringHelper param: InternalEntityFactory $entityFactory |
| getSharedStringsManager() X-Ref |
return: SharedStringsManager |
| startSheet(Worksheet $worksheet) X-Ref |
| {@inheritdoc} |
| throwIfSheetFilePointerIsNotAvailable($sheetFilePointer) X-Ref |
| Checks if the sheet has been sucessfully created. Throws an exception if not. param: bool|resource $sheetFilePointer Pointer to the sheet data file or FALSE if unable to open the file return: void |
| addRow(Worksheet $worksheet, Row $row) X-Ref |
| {@inheritdoc} |
| addNonEmptyRow(Worksheet $worksheet, Row $row) X-Ref |
| Adds non empty row to the worksheet. param: Worksheet $worksheet The worksheet to add the row to param: Row $row The row to be written return: void |
| applyStyleAndGetCellXML(Cell $cell, Style $rowStyle, $rowIndex, $cellIndex) X-Ref |
| Applies styles to the given style, merging the cell's style with its row's style Then builds and returns xml for the cell. param: Cell $cell param: Style $rowStyle param: int $rowIndex param: int $cellIndex return: string |
| getCellXML($rowIndex, $cellNumber, Cell $cell, $styleId) X-Ref |
| Builds and returns xml for a single cell. param: int $rowIndex param: int $cellNumber param: Cell $cell param: int $styleId return: string |
| getCellXMLFragmentForNonEmptyString($cellValue) X-Ref |
| Returns the XML fragment for a cell containing a non empty string param: string $cellValue The cell value return: string The XML fragment representing the cell |
| close(Worksheet $worksheet) X-Ref |
| {@inheritdoc} |
| Generated: Wed Jan 22 11:59:49 2025 | Cross-referenced by PHPXref 0.7.1 |