aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2016-05-09 05:25:29 +0000
committerJaven O'Neal <onealj@apache.org>2016-05-09 05:25:29 +0000
commitcb23ca952bc61671b9ff566e9420bbce5f6e4596 (patch)
tree818e0582ca9a77789651a27452bf3fb2c3050f89 /src/java/org
parent38e137f9a0c33e8dd35a1d1205acfcce95fef7b4 (diff)
downloadpoi-cb23ca952bc61671b9ff566e9420bbce5f6e4596.tar.gz
poi-cb23ca952bc61671b9ff566e9420bbce5f6e4596.zip
bug 59443: use Comment.setAddress when changing both row and column of cell comment address
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742880 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r--src/java/org/apache/poi/ss/usermodel/Comment.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/org/apache/poi/ss/usermodel/Comment.java b/src/java/org/apache/poi/ss/usermodel/Comment.java
index 1fbda29fac..8f5396ca6b 100644
--- a/src/java/org/apache/poi/ss/usermodel/Comment.java
+++ b/src/java/org/apache/poi/ss/usermodel/Comment.java
@@ -113,6 +113,10 @@ public interface Comment {
/**
* Return defines position of this anchor in the sheet.
+ * The anchor is the yellow box/balloon that is rendered on top of the sheets
+ * when the comment is visible.
+ *
+ * To associate a comment with a different cell, use {@link #setAddress}.
*
* @return defines position of this anchor in the sheet
*/