poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javen O'Neal" <javenon...@gmail.com>
Subject Re: XSLFTextRun.getFontColor() returns wrong color
Date Sun, 11 Sep 2016 06:37:15 GMT
While the code for getting the font color [1] from a text run is more
complicated than a one-line getter (it uses the master style color palate
if not defined locally), I didn't see anything indicating it would grab a
color from a nearby element.

Could you please open a bug on bugzilla [2] with a unit test and slideshow
that reproduces the problem?

[1]
https://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFTextRun.java?revision=1749108&view=markup#l118
[2] https://bz.apache.org/bugzilla/buglist.cgi?component=XSLF&product=POI

On Sat, Sep 10, 2016 at 9:20 PM, jsaunders2011@gmail.com <
jsaunders2011@gmail.com> wrote:
> I'm seeing that XSLFTextRun.getFontColor() returns the wrong color in
some instances. It will often return the color of a nearby element rather
than the color of itself. Anybody know what would cause this and how to fix
it?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message