poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yegor Kozlov <yegor.koz...@dinom.ru>
Subject Re: Set sheet color
Date Wed, 09 Nov 2011 07:31:22 GMT
We don't have a usermodel API to color tabs. In XSSF you can do it
with the following code:

        XSSFWorkbook wb = new XSSFWorkbook();
        XSSFSheet sheet = wb.createSheet();
        CTColor color = CTColor.Factory.newInstance();


On Tue, Nov 8, 2011 at 4:11 PM, chouaffe frannck-edmond
<chouaffe2000@yahoo.fr> wrote:
> Hallo guys.
> I was wondering whether it is possible to set a color to a sheet.
> When you have multiple worksheets in a workbook, you usually click on a sheet's name
at the bottom of the page to view it.
> My question is then to know, if that "button" containing the sheet's name can take a
color such as blue, green and so on.
> Best regards.
> Edmond.

To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org

View raw message