diff options
Diffstat (limited to 'src/java/org/apache/poi/ss/usermodel/CellRange.java')
-rw-r--r-- | src/java/org/apache/poi/ss/usermodel/CellRange.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/org/apache/poi/ss/usermodel/CellRange.java b/src/java/org/apache/poi/ss/usermodel/CellRange.java index 9bdd4baab9..9c25f870c1 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<C extends Cell> extends Iterable<C> { * @return <tt>height * width </tt> */ 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(); /** |