diff options
author | Yegor Kozlov <yegor@apache.org> | 2008-12-17 18:55:07 +0000 |
---|---|---|
committer | Yegor Kozlov <yegor@apache.org> | 2008-12-17 18:55:07 +0000 |
commit | 224e112b2a9f880ab49c12b33a35e38ee8dc0764 (patch) | |
tree | c989477f5fcf2bad0c379064ac2916923ca83480 /src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java | |
parent | fdc5f9a25cb7a1c3800d16d653fe395cab1b65cb (diff) | |
download | poi-224e112b2a9f880ab49c12b33a35e38ee8dc0764.tar.gz poi-224e112b2a9f880ab49c12b33a35e38ee8dc0764.zip |
Added getters to parent objects: HSSFSheet.getWorkbook(), HSSFRow.getSheet() and HSSFCell.getRow()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@727469 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java')
-rw-r--r-- | src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java index fe337b0f90..08abbb61f6 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java @@ -128,6 +128,14 @@ public final class HSSFSheet implements org.apache.poi.ss.usermodel.Sheet { return new HSSFSheet(workbook, sheet.cloneSheet()); } + /** + * Return the parent workbook + * + * @return the parent workbook + */ + public HSSFWorkbook getWorkbook(){ + return workbook; + } /** * used internally to set the properties given a Sheet object |