Differences Between: [Versions 310 and 400] [Versions 39 and 400]
(no description)
File Size: | 334 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
StyleManager:: (12 methods):
shouldApplyStyleOnEmptyCell()
getStylesXMLFileContent()
getFormatsSectionContent()
getFontsSectionContent()
getFillsSectionContent()
getBordersSectionContent()
getCellStyleXfsSectionContent()
getCellXfsSectionContent()
getFillIdForStyleId()
getBorderIdForStyleId()
getFormatIdForStyleId()
getCellStylesSectionContent()
Class: StyleManager - X-Ref
Class StyleManagershouldApplyStyleOnEmptyCell($styleId) X-Ref |
For empty cells, we can specify a style or not. If no style are specified, then the software default will be applied. But sometimes, it may be useful to override this default style, for instance if the cell should have a background color different than the default one or some borders (fonts property don't really matter here). return: bool Whether the cell should define a custom style param: int $styleId |
getStylesXMLFileContent() X-Ref |
Returns the content of the "styles.xml" file, given a list of styles. return: string |
getFormatsSectionContent() X-Ref |
Returns the content of the "<numFmts>" section. return: string |
getFontsSectionContent() X-Ref |
Returns the content of the "<fonts>" section. return: string |
getFillsSectionContent() X-Ref |
Returns the content of the "<fills>" section. return: string |
getBordersSectionContent() X-Ref |
Returns the content of the "<borders>" section. return: string |
getCellStyleXfsSectionContent() X-Ref |
Returns the content of the "<cellStyleXfs>" section. return: string |
getCellXfsSectionContent() X-Ref |
Returns the content of the "<cellXfs>" section. return: string |
getFillIdForStyleId($styleId) X-Ref |
Returns the fill ID associated to the given style ID. For the default style, we don't a fill. return: int param: int $styleId |
getBorderIdForStyleId($styleId) X-Ref |
Returns the fill ID associated to the given style ID. For the default style, we don't a border. return: int param: int $styleId |
getFormatIdForStyleId($styleId) X-Ref |
Returns the format ID associated to the given style ID. For the default style use general format. return: int param: int $styleId |
getCellStylesSectionContent() X-Ref |
Returns the content of the "<cellStyles>" section. return: string |