diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2021-04-19 17:30:02 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2021-04-19 17:30:02 +0000 |
commit | cf045a86b0614318b74309d48241c955493007c4 (patch) | |
tree | ce8e5d76db15d736a1d53c4f2a0b0039c00647c7 /poi-ooxml | |
parent | 32c2de232594bb423c2b5da4818801c66dca17b9 (diff) | |
download | poi-cf045a86b0614318b74309d48241c955493007c4.tar.gz poi-cf045a86b0614318b74309d48241c955493007c4.zip |
Fix Javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888977 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml')
-rw-r--r-- | poi-ooxml/src/main/java/org/apache/poi/xssf/model/ExternalLinksTable.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/model/ExternalLinksTable.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/model/ExternalLinksTable.java index b267123e48..db970d3e9f 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/model/ExternalLinksTable.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/model/ExternalLinksTable.java @@ -144,18 +144,21 @@ public class ExternalLinksTable extends POIXMLDocumentPart { protected class ExternalName implements Name { - private CTExternalDefinedName name; + private final CTExternalDefinedName name; protected ExternalName(CTExternalDefinedName name) { this.name = name; } + @Override public String getNameName() { return name.getName(); } + @Override public void setNameName(String name) { this.name.setName(name); } + @Override public String getSheetName() { int sheetId = getSheetIndex(); if (sheetId >= 0) { @@ -164,29 +167,35 @@ public class ExternalLinksTable extends POIXMLDocumentPart { return null; } } + @Override public int getSheetIndex() { if (name.isSetSheetId()) { return (int)name.getSheetId(); } return -1; } + @Override public void setSheetIndex(int sheetId) { name.setSheetId(sheetId); } + @Override public String getRefersToFormula() { // Return, without the leading = return name.getRefersTo().substring(1); } + @Override public void setRefersToFormula(String formulaText) { // Save with leading = name.setRefersTo('=' + formulaText); } + @Override public boolean isFunctionName() { return false; } + @Override public boolean isDeleted() { return false; } @@ -196,12 +205,15 @@ public class ExternalLinksTable extends POIXMLDocumentPart { return false; } + @Override public String getComment() { return null; } + @Override public void setComment(String comment) { throw new IllegalStateException("Not Supported"); } + @Override public void setFunction(boolean value) { throw new IllegalStateException("Not Supported"); } |