StyleValue
Overview
StyleValue is a class in Aspose.Cells FOSS for Java.
Represents a style value with various formatting properties.
This class provides 20 methods for working with StyleValue objects in Java programs.
Available methods include: clone, getAlignment, getBackgroundColor, getBorders, getDefault, getFont, getForegroundColor, getNumberFormat, getPattern, getProtection, getRawFillXml, setAlignment, and 8 additional methods.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: alignment, backgroundColor, borders, default, font, foregroundColor, and 4 more.
Description
StyleValue is a class in the Aspose.Cells FOSS library for Java that exposes 20 methods and 10 properties for programmatic use.
Core capabilities include: stylevalue; fontvalue; fillpatternkind. These operations enable developers to integrate stylevalue functionality directly into Java applications.
The class also provides the default property (gets the default style value), the font property (returns the font), the pattern property (returns the pattern).
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. |
rawFillXml | String | Read | Gets the raw fill xml. |
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. |
getRawFillXml() → String | Returns the raw fill xml. |
setRawFillXml(rawFillXml: String) | Sets the raw fill xml value. |
clone() → StyleValue | Creates a copy of this instance. |