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 2015/08/06 13:10:52 UTC

[Bug 58217] New: support alpha channel on solid colors (fill, line, text)

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

            Bug ID: 58217
           Summary: support alpha channel on solid colors (fill, line,
                    text)
           Product: POI
           Version: 3.13-dev
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: XSLF
          Assignee: dev@poi.apache.org
          Reporter: Mark.Olesen@gmx.net

Created attachment 32976
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32976&action=edit
patch with proposed changes

Was previously missing.
The implementation takes the alpha channel from the Java Color. This is
probably less clutter than adding an additional setAlpha method.

Added use to Tutorial3.

NB: the alpha channel only works for setters, not getters.

-- 
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 58217] support alpha channel on solid colors (fill, line, text)

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable

-- 
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 58217] support alpha channel on solid colors (fill, line, text)

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

--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
Normal HSSF colours don't have an alpha channel. Extended HSSF colours do, as
do non-theme XSSF colours

If you haven't already, it might be worth you looking at how it works (or
doesn't...) for SpreadSheet extended colours / xssf colours, then see if there
are any ideas from there that can be used in the slideshow side / good ideas
from the slideshow side which can go to spreadsheet

-- 
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 58217] support alpha channel on solid colors (fill, line, text)

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

--- Comment #2 from mark.o <Ma...@gmx.net> ---
(In reply to Nick Burch from comment #1)
> If you haven't already, it might be worth you looking at how it works (or
> doesn't...) for SpreadSheet extended colours / xssf colours, then see if
> there are any ideas from there that can be used in the slideshow side / good
> ideas from the slideshow side which can go to spreadsheet

I did take a look some of the spreadsheet implementation ... quite hairy.
I'd guess the first step would be to at least commonalize some of the hslf/xslf
colour handling.

-- 
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 58217] support alpha channel on solid colors (fill, line, text)

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

Andreas Beeker <ki...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.13-dev                    |3.15-dev
           Hardware|PC                          |All
                 OS|Linux                       |All
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Andreas Beeker <ki...@apache.org> ---
Thanks for your patch.
Applied and adapted via r1745101

Instead of the static method setFillColor, I've decided to apply the color 
change via a XSLFColor instance

-- 
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