StyleValue
Overview
StyleValue is a class in Aspose.Cells FOSS for Java.
Represents a style value with various formatting properties.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
default | StyleValue | Read | Gets the default style value. |
font | FontValue | Read | Returns the font. |
pattern | FillPatternKind | Read | Returns the pattern. |
foregroundColor | ColorValue | Read | Returns the foreground color. |
backgroundColor | ColorValue | Read | Returns the background color. |
borders | BordersValue | Read | Returns the borders. |
alignment | AlignmentValue | Read | Returns the alignment. |
protection | ProtectionValue | Read | Returns the protection. |
numberFormat | NumberFormatValue | Read | Returns the number format. |
Methods
| Signature | Description |
|---|---|
getDefault() → StyleValue | Gets the default style value. |
getFont() → FontValue | Returns the font. |
setFont(font: FontValue) | Sets the font. |
getPattern() → FillPatternKind | Returns the pattern. |
setPattern(pattern: FillPatternKind) | Sets the pattern. |
getForegroundColor() → ColorValue | Returns the foreground color. |
setForegroundColor(foregroundColor: ColorValue) | Sets the foreground color. |
getBackgroundColor() → ColorValue | Returns the background color. |
setBackgroundColor(backgroundColor: ColorValue) | Sets the background color. |
getBorders() → BordersValue | Returns the borders. |
setBorders(borders: BordersValue) | Sets the borders. |
getAlignment() → AlignmentValue | Returns the alignment. |
setAlignment(alignment: AlignmentValue) | Sets the alignment. |
getProtection() → ProtectionValue | Returns the protection. |
setProtection(protection: ProtectionValue) | Sets the protection. |
getNumberFormat() → NumberFormatValue | Returns the number format. |
setNumberFormat(numberFormat: NumberFormatValue) | Sets the number format. |
clone() → StyleValue | Creates a copy of this instance. |