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
This commit is contained in:
Nick Burch 2008-04-23 15:53:12 +00:00
parent d578c64812
commit 8e27843dcd
2 changed files with 13 additions and 4 deletions

View File

@ -17,4 +17,6 @@
package org.apache.poi.ss.usermodel;
public interface Name {}
public interface Name {
void setNameName(String nameName);
}

View File

@ -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();
}