]> source.dussan.org Git - poi.git/commitdiff
bug 59342: add sheet tab color getter and setter
authorJaven O'Neal <onealj@apache.org>
Sun, 17 Apr 2016 07:39:36 +0000 (07:39 +0000)
committerJaven O'Neal <onealj@apache.org>
Sun, 17 Apr 2016 07:39:36 +0000 (07:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739548 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java

index 7388bf188c4ee160fc97e0b713fb58fb9113ea3c..6962dae145d00f69ce0b1dfbed95b705a615fb6f 100644 (file)
@@ -47,6 +47,7 @@ import org.apache.poi.ss.util.CellRangeAddress;
 import org.apache.poi.ss.util.SheetUtil;
 import org.apache.poi.util.Internal;
 import org.apache.poi.util.NotImplemented;
+import org.apache.poi.xssf.usermodel.XSSFColor;
 import org.apache.poi.xssf.usermodel.XSSFComment;
 import org.apache.poi.xssf.usermodel.XSSFDataValidation;
 import org.apache.poi.xssf.usermodel.XSSFHyperlink;
@@ -1899,4 +1900,12 @@ public class SXSSFSheet implements Sheet, Cloneable
     public void setActiveCell(CellAddress address) {
         _sh.setActiveCell(address);
     }
+
+    public XSSFColor getTabColor() {
+        return _sh.getTabColor();
+    }
+
+    public void setTabColor(XSSFColor color) {
+        _sh.setTabColor(color);
+    }
 }