https://bz.apache.org/bugzilla/show_bug.cgi?id=58788

            Bug ID: 58788
           Summary: Colors are lost in headers in worksheets moving from
                    left to right
           Product: POI
           Version: 3.13-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 33394
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33394&action=edit
Program to reproduce this bug. See instructions for reproducing.

The same code used for all worksheets produces different results. The first few
worksheets look fine but gradually colors drop off until there are no colors at
all.

To reproduce:

Run the attached program with one command-line arg for the output file name.

In the generated file, click from left to right on the worksheets.

The first two worksheets look fine.

The third worksheet has only one row set to blue, and no row set to yellow.

The remaining worksheets have no color.

Change NUM_COLUMNS from 7 to 3 in the code.

Compile and run again.

Click from left to right on the worksheets.

The first four worksheets look fine.

The fifth worksheet only has yellow on the first column.

The sixth worksheet has no color.

Using poi version 3.13.

Same behavior with 3.12.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to