]> source.dussan.org Git - poi.git/commitdiff
Update to match interface
authorNick Burch <nick@apache.org>
Sat, 13 Sep 2008 13:56:04 +0000 (13:56 +0000)
committerNick Burch <nick@apache.org>
Sat, 13 Sep 2008 13:56:04 +0000 (13:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@694948 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java

index bd3f76f6d588bd9ffa0d29b18ad8b0bb33195ee3..8da984c934418ed6ae16aae959ba324bf6641398 100644 (file)
@@ -27,6 +27,7 @@ import org.apache.poi.ss.usermodel.Comment;
 import org.apache.poi.ss.usermodel.Hyperlink;
 import org.apache.poi.ss.usermodel.RichTextString;
 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.util.POILogFactory;
 import org.apache.poi.util.POILogger;
@@ -75,6 +76,10 @@ public final class XSSFCell implements Cell {
         return this.stylesSource;
     }
 
+       public Sheet getSheet() {
+               return this.row.getSheet();
+       }
+
     public boolean getBooleanCellValue() {
         if (STCellType.B != cell.getT()) {
             throw new NumberFormatException("You cannot get a boolean value from a non-boolean cell");