FormatConditionCollection
Übersicht
FormatConditionCollection ist eine Klasse in Aspose.Cells FOSS für Java.
Stellt eine Sammlung von Formatbedingungen in Excel dar.
Eigenschaften
| Name | Typ | Zugriff | Beschreibung |
|---|---|---|---|
count | int | Lesen | Gibt die Anzahl zurück. |
rangeCount | int | Lesen | Gibt die Bereichsanzahl zurück. |
Methoden
| Signatur | Beschreibung |
|---|---|
getCount() → int | Gibt die Anzahl zurück. |
getRangeCount() → int | Gibt die Bereichsanzahl zurück. |
get(index: int) → FormatCondition | Gibt das angeforderte Element zurück. |
add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: String, formula2: String) → int | Fügt ein neues Element zur aktuellen Sammlung hinzu. |
addCondition(type: FormatConditionType) → int | Fügt eine Bedingung hinzu. |
addCondition(type: FormatConditionType, operatorType: OperatorType, formula1: String, formula2: String) → int | Fügt eine Bedingung hinzu. |
addArea(area: CellArea) | Fügt einen Bereich hinzu. |
getCellArea(index: int) → CellArea | Verarbeitet das Abrufen des Zellbereichs. |
removeArea(index: int) | Entfernt den Bereich. |
removeArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int) | Entfernt den Bereich. |
removeCondition(index: int) | Entfernt die Bedingung. |