Java org.apache.poi.ss.util CellRangeUtil fields, constructors, methods, implement or subclass

Example usage for Java org.apache.poi.ss.util CellRangeUtil fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.poi.ss.util CellRangeUtil.

The text is from its open source code.

Field

intNO_INTERSECTION
intOVERLAP
intINSIDE
first range is within the second range
intENCLOSES
first range encloses or is equal to the second

Method

booleancontains(CellRangeAddress crA, CellRangeAddress crB)
Check if cell range A contains cell range B (B <= A) TODO: move this into CellRangeAddressBase
intintersect(CellRangeAddress crA, CellRangeAddress crB)
Get the type of intersection between two cell ranges
CellRangeAddress[]mergeCellRanges(CellRangeAddress[] cellRanges)
Do all possible cell merges between cells of the list so that:
  • if a cell range is completely inside of another cell range, it gets removed from the list
  • if two cells have a shared border, merge them into one bigger cell range
ListmergeCellRanges(List cellRangeList)