]> source.dussan.org Git - poi.git/commitdiff
the zero height flag is now exposed via the usermodel -ACO
authorAndrew C. Oliver <acoliver@apache.org>
Mon, 15 Nov 2004 22:32:00 +0000 (22:32 +0000)
committerAndrew C. Oliver <acoliver@apache.org>
Mon, 15 Nov 2004 22:32:00 +0000 (22:32 +0000)
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353610 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hssf/usermodel/HSSFRow.java

index f8a33427fb785e44a9f8ec2a915161f9553bf90e..4c156e63b0c6cd5dff3e3d537df14868c507aa21 100644 (file)
@@ -330,6 +330,22 @@ public class HSSFRow
         row.setHeight(height);
     }
 
+    /**
+     * set whether or not to display this row with 0 height
+     * @param zHeight  height is zero or not.
+     */
+    public void setZeroHeight(boolean zHeight) {
+        row.setZeroHeight(zHeight);
+    }
+  
+    /**
+     * get whether or not to display this row with 0 height
+     * @return - zHeight height is zero or not.
+     */
+    public boolean getZeroHeight() {
+        return row.getZeroHeight();
+    }
+
     /**
      * set the row's height in points.
      * @param height  row height in points