Differences Between: [Versions 310 and 400] [Versions 39 and 400]
(no description)
File Size: | 268 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WorksheetManager:: (9 methods):
__construct()
startSheet()
throwIfSheetFilePointerIsNotAvailable()
getTableElementStartAsString()
addRow()
applyStyleAndRegister()
getCellXMLWithStyle()
getCellXML()
close()
Class: WorksheetManager - X-Ref
Class WorksheetManager__construct(StyleManager $styleManager,StyleMerger $styleMerger,ODSEscaper $stringsEscaper,StringHelper $stringHelper) X-Ref |
WorksheetManager constructor. param: StyleManager $styleManager param: StyleMerger $styleMerger param: ODSEscaper $stringsEscaper param: StringHelper $stringHelper |
startSheet(Worksheet $worksheet) X-Ref |
Prepares the worksheet to accept data return: void param: Worksheet $worksheet The worksheet to start |
throwIfSheetFilePointerIsNotAvailable($sheetFilePointer) X-Ref |
Checks if the sheet has been sucessfully created. Throws an exception if not. return: void param: bool|resource $sheetFilePointer Pointer to the sheet data file or FALSE if unable to open the file |
getTableElementStartAsString(Worksheet $worksheet) X-Ref |
Returns the table XML root node as string. return: string <table> node as string param: Worksheet $worksheet |
addRow(Worksheet $worksheet, Row $row) X-Ref |
Adds a row to the given worksheet. return: void param: Worksheet $worksheet The worksheet to add the row to param: Row $row The row to be added |
applyStyleAndRegister(Cell $cell, Style $rowStyle) X-Ref |
Applies styles to the given style, merging the cell's style with its row's style return: RegisteredStyle param: Cell $cell param: Style $rowStyle |
getCellXMLWithStyle(Cell $cell, Style $style, int $currentCellIndex, int $nextCellIndex) X-Ref |
No description |
getCellXML(Cell $cell, $styleIndex, $numTimesValueRepeated) X-Ref |
Returns the cell XML content, given its value. return: string The cell XML content param: Cell $cell The cell to be written param: int $styleIndex Index of the used style param: int $numTimesValueRepeated Number of times the value is consecutively repeated |
close(Worksheet $worksheet) X-Ref |
Closes the worksheet return: void param: Worksheet $worksheet |