FormatConditionCollection

FormatConditionCollection

개요

FormatConditionCollection는 Aspose.Cells FOSS에서 Java를 위해 제공되는 클래스입니다.

Excel에서 서식 조건 컬렉션을 나타냅니다.

이 클래스는 Java 프로그램에서 FormatConditionCollection 객체를 다루기 위한 9개의 메서드를 제공합니다. 사용 가능한 메서드에는: add, addArea, addCondition, get, getCellArea, getCount, getRangeCount, removeArea, removeCondition이 포함됩니다. 모든 내보낸 멤버는 Aspose.Cells FOSS for Java 패키지를 설치한 후 any Java 애플리케이션에서 접근할 수 있습니다. 속성: count, rangeCount.

설명

FormatConditionCollection는 Aspose.Cells FOSS 라이브러리에서 Java를 위해 제공되는 클래스로, 프로그래밍 사용을 위해 11개의 메서드와 2개의 속성을 노출합니다.

핵심 기능에는 다음이 포함됩니다: 영역 추가; 영역 삭제; 조건 삭제. 이러한 작업을 통해 개발자는 Java 애플리케이션에 formatconditioncollection 기능을 직접 통합할 수 있습니다.

이 클래스는 또한 count 속성(카운트를 반환)과 rangeCount 속성(범위 카운트를 반환)을 제공합니다.

속성

이름유형액세스설명
countint읽기개수를 반환합니다.
rangeCountint읽기범위 개수를 반환합니다.

메서드

시그니처설명
getCount() → int개수를 반환합니다.
getRangeCount() → int범위 개수를 반환합니다.
get(index: int) → FormatCondition요청된 항목을 반환합니다.
add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: String, formula2: String) → int현재 컬렉션에 새 항목을 추가합니다.
addCondition(type: FormatConditionType) → int조건을 추가합니다.
addCondition(type: FormatConditionType, operatorType: OperatorType, formula1: String, formula2: String) → int조건을 추가합니다.
addArea(area: CellArea)영역을 추가합니다.
getCellArea(index: int) → CellArea셀 영역을 가져오는 과정을 처리합니다.
removeArea(index: int)영역을 제거합니다.
removeArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int)영역을 제거합니다.
removeCondition(index: int)조건을 제거합니다.

참조

 한국어