(no description)
File Size: | 273 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WorksheetManager:: (9 methods):
__construct()
startSheet()
getTableElementStartAsString()
getTableDatabaseRangeElementAsString()
addRow()
close()
applyStyleAndRegister()
getCellXMLWithStyle()
getCellXML()
Class: WorksheetManager - X-Ref
__construct(StyleManager $styleManager,StyleMerger $styleMerger,ODSEscaper $stringsEscaper) X-Ref |
WorksheetManager constructor. |
startSheet(Worksheet $worksheet) X-Ref |
Prepares the worksheet to accept data. param: Worksheet $worksheet The worksheet to start |
getTableElementStartAsString(Worksheet $worksheet) X-Ref |
Returns the table XML root node as string. return: string "<table>" node as string |
getTableDatabaseRangeElementAsString(Worksheet $worksheet) X-Ref |
Returns the table:database-range XML node for AutoFilter as string. |
addRow(Worksheet $worksheet, Row $row) X-Ref |
Adds a row to the given worksheet. param: Worksheet $worksheet The worksheet to add the row to param: Row $row The row to be added |
close(Worksheet $worksheet) X-Ref |
Closes the worksheet. |
applyStyleAndRegister(Cell $cell, Style $rowStyle) X-Ref |
Applies styles to the given style, merging the cell's style with its row's style. |
getCellXMLWithStyle(Cell $cell, Style $style, int $currentCellIndex, int $nextCellIndex) X-Ref |
No description |
getCellXML(Cell $cell, int $styleIndex, int $numTimesValueRepeated) X-Ref |
Returns the cell XML content, given its value. 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 return: string The cell XML content |