diff options
author | PJ Fanning <fanningpj@apache.org> | 2021-11-20 15:59:37 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2021-11-20 15:59:37 +0000 |
commit | 44cb4cec60cda850be5558e05ac1d2efe0a5b6fa (patch) | |
tree | 2a64a8e4897c5396913775f15a72ab5c0bc1f847 /poi-ooxml | |
parent | ab1a19c3d4471c66b76c5cce7682ae34710356fb (diff) | |
download | poi-44cb4cec60cda850be5558e05ac1d2efe0a5b6fa.tar.gz poi-44cb4cec60cda850be5558e05ac1d2efe0a5b6fa.zip |
javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml')
-rw-r--r-- | poi-ooxml/src/main/java/org/apache/poi/xssf/model/Comments.java | 8 | ||||
-rw-r--r-- | poi-ooxml/src/main/java/org/apache/poi/xssf/model/CommentsTable.java | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/model/Comments.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/model/Comments.java index 96f867a9ec..fe4a3ec8b3 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/model/Comments.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/model/Comments.java @@ -43,15 +43,18 @@ public interface Comments { * * @param cellAddress the address of the cell to find a comment * @return cell comment if one exists, otherwise returns null + * @see #findCellComment(Sheet, CellAddress) */ XSSFComment findCellComment(CellAddress cellAddress); /** * Finds the cell comment at cellAddress, if one exists * - * @param sheet the sheet that has the comment + * @param sheet the sheet to check for comments (used to find drawing/shape data for comments) - set to null + * if you don't need the drawing/shape data * @param cellAddress the address of the cell to find a comment * @return cell comment if one exists, otherwise returns null + * @see #findCellComment(CellAddress) * @since POI 5.2.0 */ public XSSFComment findCellComment(Sheet sheet, CellAddress cellAddress); @@ -72,7 +75,8 @@ public interface Comments { Iterator<CellAddress> getCellAddresses(); /** - * @param sheet the sheet to check for comments + * @param sheet the sheet to check for comments (used to find drawing/shape data for comments) - set to null + * if you don't need the drawing/shape data * @return iterator of comments * @since POI 5.2.0 */ diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/model/CommentsTable.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/model/CommentsTable.java index f405eba754..d9fbde7936 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/model/CommentsTable.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/model/CommentsTable.java @@ -101,7 +101,8 @@ public class CommentsTable extends POIXMLDocumentPart implements Comments { } /** - * @param sheet the sheet to check for comments + * @param sheet the sheet to check for comments (used to find drawing/shape data for comments) - set to null + * if you don't need the drawing/shape data * @return iterator of comments * @since POI 5.2.0 */ @@ -206,6 +207,7 @@ public class CommentsTable extends POIXMLDocumentPart implements Comments { * * @param cellAddress the address of the cell to find a comment * @return cell comment if one exists, otherwise returns null + * @see #findCellComment(Sheet, CellAddress) */ @Override public XSSFComment findCellComment(CellAddress cellAddress) { @@ -216,9 +218,11 @@ public class CommentsTable extends POIXMLDocumentPart implements Comments { /** * Finds the cell comment at cellAddress, if one exists * - * @param sheet the sheet that has the comment + * @param sheet the sheet to check for comments (used to find drawing/shape data for comments) - set to null + * if you don't need the drawing/shape data * @param cellAddress the address of the cell to find a comment * @return cell comment if one exists, otherwise returns null + * @see #findCellComment(CellAddress) * @since POI 5.2.0 */ @Override |