From ec84916a9fd3f0103176f555b151a853f3f54b9e Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Sun, 17 Apr 2016 07:39:36 +0000 Subject: [PATCH] bug 59342: add sheet tab color getter and setter git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739548 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/poi/xssf/streaming/SXSSFSheet.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java index 7388bf188..6962dae14 100644 --- a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java +++ b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java @@ -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); + } }