StyleValue
Panoramica
StyleValue è una classe in Aspose.Cells FOSS per Java.
Rappresenta un valore di stile con varie proprietà di formattazione.
Questa classe fornisce 20 metodi per lavorare con oggetti StyleValue nei programmi Java. I metodi disponibili includono: clone, getAlignment, getBackgroundColor, getBorders, getDefault, getFont, getForegroundColor, getNumberFormat, getPattern, getProtection, getRawFillXml, setAlignment, e 8 metodi aggiuntivi. Tutti i membri esportati sono accessibili a qualsiasi applicazione Java dopo l’installazione del pacchetto Aspose.Cells FOSS per Java. Proprietà: alignment, backgroundColor, borders, default, font, foregroundColor, e 4 in più.
Descrizione
StyleValue è una classe nella libreria Aspose.Cells FOSS per Java che espone 20 metodi e 10 proprietà per utilizzo programmatico.
Le capacità principali includono: stylevalue; fontvalue; fillpatternkind. Queste operazioni consentono agli sviluppatori di integrare la funzionalità stylevalue direttamente nelle applicazioni Java.
La classe fornisce anche la proprietà default (ottiene il valore di stile predefinito), la proprietà font (restituisce il font), la proprietà pattern (restituisce il pattern).
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
default | StyleValue | Lettura | Ottiene il valore di stile predefinito. |
font | FontValue | Lettura | Restituisce il font. |
pattern | FillPatternKind | Lettura | Restituisce il pattern. |
foregroundColor | ColorValue | Lettura | Restituisce il colore di primo piano. |
backgroundColor | ColorValue | Lettura | Restituisce il colore di sfondo. |
borders | BordersValue | Lettura | Restituisce i bordi. |
alignment | AlignmentValue | Lettura | Restituisce l’allineamento. |
protection | ProtectionValue | Lettura | Restituisce la protezione. |
numberFormat | NumberFormatValue | Lettura | Restituisce il formato del numero. |
rawFillXml | String | Lettura | Ottiene il raw fill xml. |
Metodi
| Firma | Descrizione |
|---|---|
getDefault() → StyleValue | Ottiene il valore di stile predefinito. |
getFont() → FontValue | Restituisce il font. |
setFont(font: FontValue) | Imposta il font. |
getPattern() → FillPatternKind | Restituisce il modello. |
setPattern(pattern: FillPatternKind) | Imposta il modello. |
getForegroundColor() → ColorValue | Restituisce il colore di primo piano. |
setForegroundColor(foregroundColor: ColorValue) | Imposta il colore di primo piano. |
getBackgroundColor() → ColorValue | Restituisce il colore di sfondo. |
setBackgroundColor(backgroundColor: ColorValue) | Imposta il colore di sfondo. |
getBorders() → BordersValue | Restituisce i bordi. |
setBorders(borders: BordersValue) | Imposta i bordi. |
getAlignment() → AlignmentValue | Restituisce l’allineamento. |
setAlignment(alignment: AlignmentValue) | Imposta l’allineamento. |
getProtection() → ProtectionValue | Restituisce la protezione. |
setProtection(protection: ProtectionValue) | Imposta la protezione. |
getNumberFormat() → NumberFormatValue | Restituisce il formato numerico. |
setNumberFormat(numberFormat: NumberFormatValue) | Imposta il formato del numero. |
getRawFillXml() → String | Restituisce l’XML di riempimento grezzo. |
setRawFillXml(rawFillXml: String) | Imposta il valore XML di riempimento grezzo. |
clone() → StyleValue | Crea una copia di questa istanza. |