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
This commit is contained in:
Javen O'Neal 2016-04-17 07:39:36 +00:00
parent 4d4b54b7c8
commit ec84916a9f

View File

@ -47,6 +47,7 @@ import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.poi.ss.util.SheetUtil; import org.apache.poi.ss.util.SheetUtil;
import org.apache.poi.util.Internal; import org.apache.poi.util.Internal;
import org.apache.poi.util.NotImplemented; 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.XSSFComment;
import org.apache.poi.xssf.usermodel.XSSFDataValidation; import org.apache.poi.xssf.usermodel.XSSFDataValidation;
import org.apache.poi.xssf.usermodel.XSSFHyperlink; import org.apache.poi.xssf.usermodel.XSSFHyperlink;
@ -1899,4 +1900,12 @@ public class SXSSFSheet implements Sheet, Cloneable
public void setActiveCell(CellAddress address) { public void setActiveCell(CellAddress address) {
_sh.setActiveCell(address); _sh.setActiveCell(address);
} }
public XSSFColor getTabColor() {
return _sh.getTabColor();
}
public void setTabColor(XSSFColor color) {
_sh.setTabColor(color);
}
} }