office-gobmx/xmloff/source
Miklos Vajna 8a43bfeffa tdf#131175 oox chart import: fix char color of <dLbl>, inherited from <dLbls>
There were two problems here:

1) Our chart model expects the char formatting of a data label as direct
formatting, so in case <c:dLbl> has no such formatting, but <c:dLbls>
has, oox has to explicitly inherit.

2) The data label char formatting is represented using
chart::FormattedString, but the char format of it is not (yet) exported
to ODF. Given that the char format of the series and the individual data
labels is the same, restore the same formatting on import to please
rendering.

With these, finally the chart labels in the bugdoc are white, not black
(and have a dark background, so they are readable).

Change-Id: Iebac5ce0be31a59bafb0f9fe7636330585e33822
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98770
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-07-15 10:53:17 +02:00
..
chart tdf#131175 oox chart import: fix char color of <dLbl>, inherited from <dLbls> 2020-07-15 10:53:17 +02:00
core Upcoming improved loplugin:staticanonymous -> redundantstatic: xmloff 2020-07-02 18:45:39 +02:00
draw Upcoming improved loplugin:staticanonymous -> redundantstatic: xmloff 2020-07-02 18:45:39 +02:00
forms Upcoming improved loplugin:staticanonymous -> redundantstatic: xmloff 2020-07-02 18:45:39 +02:00
meta Upcoming improved loplugin:staticanonymous -> redundantstatic: xmloff 2020-07-02 18:45:39 +02:00
script Upcoming improved loplugin:staticanonymous -> redundantstatic: xmloff 2020-07-02 18:45:39 +02:00
style Upcoming improved loplugin:staticanonymous -> redundantstatic: xmloff 2020-07-02 18:45:39 +02:00
table
text Upcoming improved loplugin:staticanonymous -> redundantstatic: xmloff 2020-07-02 18:45:39 +02:00
token
transform xmloff/xof: create instances with uno constructors 2020-07-06 18:14:26 +02:00
xforms Upcoming improved loplugin:staticanonymous -> redundantstatic: xmloff 2020-07-02 18:45:39 +02:00