Files
odfstudio/editeng
Caolán McNamara aa89c0830b tdf#167737 chart renders text black on black in dark mode
when there is no chart background and the document mode is to use a dark
color for the document color.

The intent of this function is to get a color that can be seen against
the background. So:

a) Always get the background the text is to be rendered on.
b) We can consult svtools::FONTCOLOR as a potential foreground color,
but reject it if it will not contrast against the background

Change-Id: If441050423750fdf0a12f07dd686daf8f7e8b165
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197109
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2026-01-13 15:38:11 +01:00
..
…
…

Edit Engine

In OpenOffice.org build DEV300m72 this module was split off from svx but it has no dependencies on svx (nor on sfx2) while in turn svx depends on editeng

Read more in the mailing list post: http://www.mail-archive.com/dev@openoffice.org/msg13237.html

If you build LibreOffice with dbgutil, you have some extended debug keys:

  • Ctrl+Alt+F1 - draws the paragraph rectangles in different colors
  • Ctrl+Alt+F11 - toggles dumping the edit engine state to the "editenginedump.log" on draw
  • Ctrl+Alt+F12 - dumps the current edit engine state to "editenginedump.log"