diff options
Diffstat (limited to 'src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java')
-rw-r--r-- | src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java index 19ea45a3f1..24cd2ba245 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java @@ -2501,7 +2501,13 @@ public class XSSFSheet extends POIXMLDocumentPart implements Sheet { comment.setColumn(cellReference.getCol()); } - protected void setCellHyperlink(XSSFHyperlink hyperlink) { + /** + * Register a hyperlink in the collection of hyperlinks on this sheet + * + * @param hyperlink the link to add + */ + @Internal + public void addHyperlink(XSSFHyperlink hyperlink) { hyperlinks.add(hyperlink); } |