StyleValue

Overview

StyleValue is a class in Aspose.Cells FOSS for Java.

Represents a style value with various formatting properties.

Properties

NameTypeAccessDescription
defaultStyleValueReadGets the default style value.
fontFontValueReadReturns the font.
patternFillPatternKindReadReturns the pattern.
foregroundColorColorValueReadReturns the foreground color.
backgroundColorColorValueReadReturns the background color.
bordersBordersValueReadReturns the borders.
alignmentAlignmentValueReadReturns the alignment.
protectionProtectionValueReadReturns the protection.
numberFormatNumberFormatValueReadReturns the number format.

Methods

SignatureDescription
getDefault()StyleValueGets the default style value.
getFont()FontValueReturns the font.
setFont(font: FontValue)Sets the font.
getPattern()FillPatternKindReturns the pattern.
setPattern(pattern: FillPatternKind)Sets the pattern.
getForegroundColor()ColorValueReturns the foreground color.
setForegroundColor(foregroundColor: ColorValue)Sets the foreground color.
getBackgroundColor()ColorValueReturns the background color.
setBackgroundColor(backgroundColor: ColorValue)Sets the background color.
getBorders()BordersValueReturns the borders.
setBorders(borders: BordersValue)Sets the borders.
getAlignment()AlignmentValueReturns the alignment.
setAlignment(alignment: AlignmentValue)Sets the alignment.
getProtection()ProtectionValueReturns the protection.
setProtection(protection: ProtectionValue)Sets the protection.
getNumberFormat()NumberFormatValueReturns the number format.
setNumberFormat(numberFormat: NumberFormatValue)Sets the number format.
clone()StyleValueCreates a copy of this instance.