ok I this is a system - gnome/kde/whatever settings thing
after chasing through the binary format, in sample doc the colour id
associated with the font used for the caption text has an id of 0x51,
there is no colour palette associated with this document so we fall down into
ColorData XclDefaultPalette::GetDefColorData( sal_uInt16 nXclIndex ) const
{
ColorData nColor;
if( nXclIndex < mnTableSize )
nColor = mpnColorTable[ nXclIndex ];
else switch( nXclIndex )
{
case EXC_COLOR_WINDOWTEXT3:
case EXC_COLOR_WINDOWTEXT:
case EXC_COLOR_CHWINDOWTEXT: nColor = mnWindowText; break;
case EXC_COLOR_WINDOWBACK3:
case EXC_COLOR_WINDOWBACK:
case EXC_COLOR_CHWINDOWBACK: nColor = mnWindowBack; break;
case EXC_COLOR_BUTTONBACK: nColor = mnFaceColor; break;
case EXC_COLOR_CHBORDERAUTO: nColor = COL_BLACK; break; //
TODO: really always black?
case EXC_COLOR_NOTEBACK: nColor = mnNoteBack; break;
case EXC_COLOR_NOTETEXT: nColor = mnNoteText; break;
case EXC_COLOR_FONTAUTO: nColor = COL_AUTO; break;
default:
OSL_TRACE( "XclDefaultPalette::GetDefColorData - unknown default
color index: %d", nXclIndex );
nColor = COL_AUTO;
}
where 0x51 corresponds to EXC_COLOR_NOTETEXT and mnNoteText is
initialised with
in sc/source/filter/excel/xlstyle.cxx
mnNoteText is initialised
mnNoteText = rSett.GetHelpTextColor().GetColor();
presumably that is picked up from the system ( and must be white in the
reporters case )
don't know what the real solution is here though to ensure that we have a decent
colour, maybe Michael has an idea
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1022640
Title:
[Upstream] VIEWING: Comments are not readable (shown in white over
yellow)
To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1022640/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs