One more thing, I want to keep naming consistent. For Abstract classes it
should be XWPFAbstract vs. AbstractXWPF. If you could rename your footnote
and endnote classes that would be great. And any other place that XWPF
exists, it goes first. This will keep things consistent with the rest of
POI.

On Wed, Aug 1, 2018 at 5:26 PM Eliot Kimber <ekim...@contrext.com> wrote:

> I'm implementing additional set and get methods for Run properties that I
> need (or might likely need) [it's not complete over the set of all run
> properties but it adds a lot more.]
>
> The only one that has stymied me is underline color.
>
> The underline color value is an RGB color string but the OOXML API doesn't
> seem to provide for it--I suspect it's a limitation in the class generation
> from the schema.
>
> The CTUnderline API is:
>
>         CTUnderline underline = (pr.getU() == null) ? pr.addNewU() :
> pr.getU();
>         Object color = underline.getColor();
>
> That is, underline.getColor() returns Object, not something more
> specialized.
>
> In my tests, color is null (not a surprise).
>
> So my question is: how do I set the color? Should I simply be constructing
> the XML or is there a better way?
>
> Thanks,
>
> Eliot
> --
> Eliot Kimber
> http://contrext.com
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
> For additional commands, e-mail: user-h...@poi.apache.org
>
>

Reply via email to