diff --git a/src/java/org/apache/poi/ss/usermodel/CellRange.java b/src/java/org/apache/poi/ss/usermodel/CellRange.java index 9bdd4baab..9c25f870c 100644 --- a/src/java/org/apache/poi/ss/usermodel/CellRange.java +++ b/src/java/org/apache/poi/ss/usermodel/CellRange.java @@ -34,6 +34,11 @@ public interface CellRange extends Iterable { * @return height * width */ int size(); + + /** + * @return the text format of this range. Single cell ranges are formatted + * like single cell references (e.g. 'A1' instead of 'A1:A1'). + */ String getReferenceText(); /**