[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 308 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Style:: (21 methods):
getId()
setId()
isFontBold()
setFontBold()
isFontItalic()
setFontItalic()
isFontUnderline()
setFontUnderline()
isFontStrikethrough()
setFontStrikethrough()
getFontSize()
setFontSize()
getFontColor()
setFontColor()
getFontName()
setFontName()
shouldWrapText()
setShouldWrapText()
shouldApplyFont()
serialize()
mergeWith()
getId() X-Ref |
return: int|null |
setId($id) X-Ref |
param: int $id return: Style |
isFontBold() X-Ref |
return: boolean |
setFontBold() X-Ref |
return: Style |
isFontItalic() X-Ref |
return: boolean |
setFontItalic() X-Ref |
return: Style |
isFontUnderline() X-Ref |
return: boolean |
setFontUnderline() X-Ref |
return: Style |
isFontStrikethrough() X-Ref |
return: boolean |
setFontStrikethrough() X-Ref |
return: Style |
getFontSize() X-Ref |
return: int |
setFontSize($fontSize) X-Ref |
param: int $fontSize Font size, in pixels return: Style |
getFontColor() X-Ref |
return: string |
setFontColor($fontColor) X-Ref |
Sets the font color. param: string $fontColor ARGB color (@see Color) return: Style |
getFontName() X-Ref |
return: string |
setFontName($fontName) X-Ref |
param: string $fontName Name of the font to use return: Style |
shouldWrapText() X-Ref |
return: boolean |
setShouldWrapText() X-Ref |
return: Style |
shouldApplyFont() X-Ref |
return: bool Whether specific font properties should be applied |
serialize() X-Ref |
Serializes the style for future comparison with other styles. The ID is excluded from the comparison, as we only care about actual style properties. return: string The serialized style |
mergeWith($baseStyle) X-Ref |
Merges the current style with the given style, using the given style as a base. This means that: - if current style and base style both have property A set, use current style property's value - if current style has property A set but base style does not, use current style property's value - if base style has property A set but current style does not, use base style property's value param: Style $baseStyle return: Style New style corresponding to the merge of the 2 styles |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |