office-gobmx/editeng
Justin Luth 0d3748e5fb tdf#163598 editeng: avoid using fake outline depth
Most implementations do not actually
do anything meaningful with Get/SetDepth,
so don't exception or accept their values.

To fix the bug, I could have just checked for
dynamic_cast<SvxEditEngineForwarder*>
(since it supports EE_PARA_OUTLLEVEL directly)
but this way seemed more encompassing.

The potential downside is that EE_PARA_OUTLLEVEL
will be requested as a real property
after GetPropertyValueHelper
with some of these dummy providers,
and who knows what UNO might do about that...

IF this patch causes problems,
then I need to implement Get/SetDepth
in SvxEditEngineForwarder
(or consider the dummy providers as SupportsOutlineDepth).

Change-Id: I74bf5e39a13bb1d588c39634347eb0982bda66b9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176981
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2024-11-22 04:52:46 +01:00
..
inc convert KernArray from sal_Int32 to double 2024-10-31 12:10:52 +01:00
qa tdf#163883 editeng RTF export: fix broken offsets into the para style table 2024-11-19 10:06:58 +01:00
source tdf#163598 editeng: avoid using fake outline depth 2024-11-22 04:52:46 +01:00
uiconfig/ui
AllLangMoTarget_editeng.mk
CppunitTest_editeng_borderline.mk
CppunitTest_editeng_core.mk editeng: add EditLineList test 2024-01-16 13:02:27 +01:00
CppunitTest_editeng_editeng.mk tdf#161652 editeng, RTF copy: only write used paragraph styles 2024-06-20 10:56:44 +02:00
CppunitTest_editeng_lookuptree.mk
CustomTarget_generated.mk makefile simplification: replace $(call gb_CustomTarget_get_workdir,foo) 2024-05-03 16:06:14 +02:00
IwyuFilter_editeng.yaml
Library_editeng.mk editeng: move impl. of TextPortionList methods to own cxx file 2024-01-01 04:34:06 +01:00
Makefile
Module_editeng.mk tdf#161652 editeng, RTF copy: only write used paragraph styles 2024-06-20 10:56:44 +02:00
README.md
UIConfig_editeng.mk

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"