Update to match interface
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@694948 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
968d5deb12
commit
633a9cf563
@ -27,6 +27,7 @@ import org.apache.poi.ss.usermodel.Comment;
|
|||||||
import org.apache.poi.ss.usermodel.Hyperlink;
|
import org.apache.poi.ss.usermodel.Hyperlink;
|
||||||
import org.apache.poi.ss.usermodel.RichTextString;
|
import org.apache.poi.ss.usermodel.RichTextString;
|
||||||
import org.apache.poi.ss.usermodel.SharedStringSource;
|
import org.apache.poi.ss.usermodel.SharedStringSource;
|
||||||
|
import org.apache.poi.ss.usermodel.Sheet;
|
||||||
import org.apache.poi.ss.usermodel.StylesSource;
|
import org.apache.poi.ss.usermodel.StylesSource;
|
||||||
import org.apache.poi.util.POILogFactory;
|
import org.apache.poi.util.POILogFactory;
|
||||||
import org.apache.poi.util.POILogger;
|
import org.apache.poi.util.POILogger;
|
||||||
@ -75,6 +76,10 @@ public final class XSSFCell implements Cell {
|
|||||||
return this.stylesSource;
|
return this.stylesSource;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Sheet getSheet() {
|
||||||
|
return this.row.getSheet();
|
||||||
|
}
|
||||||
|
|
||||||
public boolean getBooleanCellValue() {
|
public boolean getBooleanCellValue() {
|
||||||
if (STCellType.B != cell.getT()) {
|
if (STCellType.B != cell.getT()) {
|
||||||
throw new NumberFormatException("You cannot get a boolean value from a non-boolean cell");
|
throw new NumberFormatException("You cannot get a boolean value from a non-boolean cell");
|
||||||
|
Loading…
Reference in New Issue
Block a user