diff options
author | Nick Burch <nick@apache.org> | 2008-04-23 15:53:12 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2008-04-23 15:53:12 +0000 |
commit | 67d440ab584f105d0b401fc0c1e83f1e4a1a8bee (patch) | |
tree | 1d205fdd49961d5149fdd4e770a1f413653755f5 | |
parent | a874dfc1a69ed6a1563f2e9dd392171beaa8ca6b (diff) | |
download | poi-67d440ab584f105d0b401fc0c1e83f1e4a1a8bee.tar.gz poi-67d440ab584f105d0b401fc0c1e83f1e4a1a8bee.zip |
Fix up interfaces to compile cleanly all on jdk14s
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@650919 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Name.java | 4 | ||||
-rw-r--r-- | src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Workbook.java | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Name.java b/src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Name.java index a4f757e945..846ef66d6b 100644 --- a/src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Name.java +++ b/src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Name.java @@ -17,4 +17,6 @@ package org.apache.poi.ss.usermodel; -public interface Name {} +public interface Name { + void setNameName(String nameName); +} diff --git a/src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Workbook.java b/src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Workbook.java index 871947bd32..2d45b60eb6 100644 --- a/src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Workbook.java +++ b/src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Workbook.java @@ -18,6 +18,7 @@ package org.apache.poi.ss.usermodel; import org.apache.poi.hssf.usermodel.*; +import org.apache.poi.ss.util.SheetReferences; /** * This is a JDK 1.4 compatible interface for HSSFWorkbook. @@ -29,14 +30,20 @@ public interface Workbook { short getNumberOfFonts(); int getNumberOfNames(); + HSSFName createName(); HSSFName getNameAt(int index); String getNameName(int index); + String resolveNameXText(int refIndex, int definedNameIndex); String getSheetName(int sheet); HSSFSheet getSheetAt(int index); - int getSheetIndex(String name); - int getSheetIndex(Sheet sheet); - int getSheetIndexFromExternSheetIndex(int externSheetNumber); + SheetReferences getSheetReferences(); + short getSheetIndex(String name); + short getSheetIndex(Sheet sheet); + short getSheetIndexFromExternSheetIndex(int externSheetNumber); + short getSheetIndexFromExternSheetIndex(short externSheetNumber); + short getExternalSheetIndex(int internalSheetIndex); + short getExternalSheetIndex(short internalSheetIndex); CreationHelper getCreationHelper(); } |