You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2013/01/04 17:18:59 UTC

[Bug 54373] New: unable to add background color to a cell

https://issues.apache.org/bugzilla/show_bug.cgi?id=54373

            Bug ID: 54373
           Summary: unable to add background color to a cell
           Product: POI
           Version: 3.8
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: surendra.reddy544@gmail.com
    Classification: Unclassified

Created attachment 29815
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29815&action=edit
problem what I faced

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

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


[Bug 54373] unable to add background color to a cell

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54373

Eric Riese <er...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eric.riese@gmail.com

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

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


[Bug 54373] unable to add background color to a cell

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54373

--- Comment #6 from Eric Riese <er...@gmail.com> ---
Created attachment 31851
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31851&action=edit
less a patch and more of a hint where the problem starts

I was having trouble building and debugging this, but this is the least of
what's wrong. This is the first place where the alpha byte is lost.

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

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


[Bug 54373] unable to add background color to a cell

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54373

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
Can you provide a unit-test which shows the problem? It might be caused by
processing before the few lines in the screenshot and thus might be hard to
reproduce without this.

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

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


[Bug 54373] unable to add background color to a cell

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54373

crazysuru <su...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

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

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


[Bug 54373] unable to add background color to a cell

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54373

--- Comment #3 from crazysuru <su...@gmail.com> ---
Created attachment 30360
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30360&action=edit
test case file

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

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


[Bug 54373] unable to add background color to a cell

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54373

--- Comment #2 from crazysuru <su...@gmail.com> ---
Created attachment 30359
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30359&action=edit
sample code

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

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


[Bug 54373] unable to add background color to a cell

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54373

--- Comment #4 from Eric Riese <er...@gmail.com> ---
Created attachment 31823
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31823&action=edit
Afflicted fill entries from xl/styles.xml

The first fill was preexisting in the file which was originally generated by
Excel. The other two were created with POI.

As per the Open XML SDK 2.0 Productivity Tool for Microsoft Office
"The attribute 'rgb' has invalid value 'FF0000'. The actual length according to
datatype 'hexBinary' is not equal to the specified length. The expected length
is 4."

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

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


[Bug 54373] unable to add background color to a cell

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54373

Eric Riese <er...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

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

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


[Bug 54373] unable to add background color to a cell

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54373

Eric Riese <er...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.8                         |3.10

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

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


[Bug 54373] unable to add background color to a cell

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54373

Nick Burch <ap...@gagravarr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #5 from Nick Burch <ap...@gagravarr.org> ---
(In reply to Eric Riese from comment #4)
> As per the Open XML SDK 2.0 Productivity Tool for Microsoft Office
> "The attribute 'rgb' has invalid value 'FF0000'. The actual length according
> to datatype 'hexBinary' is not equal to the specified length. The expected
> length is 4."

Some .xlsx colours require a 4 hex form (ARGB), others require a 3 hex form
(RGB). At first glance, it would appear that the wrong kind is getting written

Any chance someone could step into the colour and style code with a debugger,
and see what is getting written where and why, to try to narrow down where the
bug is coming in?

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

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