Files
odfstudio/editeng
Samuel Mehrbrodt 9822795072 tdf#165732 PPTX: Fix misaligned text in small text boxes
Make sure to clamp the inset (left+right) in TextBodyProperties::pushTextDistances()
as it was already done for top+bottom.
This fixes most alignment issues from the bug documents.

Additionally, allow negative values in EditLine::SetStartPosX since the offset
might be negative to have centered text.
This fixes the alignment of number "1" in the fourcenter-left-right.pptx bug document
which was still misaligned after the above mentioned fix.

Also improve the fix made in commit c0693ef135
to clip the inset on the drawinglayer level on all four sides.
This also helps to correctly display the example files when they are saved to odp format
(in which case the bug would reappear).
In contrast to pptx, odp does not specify what should happen in this case,
so clipping on import does not seem appropriate here.

Change-Id: I33e5be1123becef17f84427649d1f2cdbfe2d7e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199709
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@collabora.com>
Tested-by: Jenkins
2026-02-20 07:38:33 +01:00
..
2026-01-24 16:24:41 +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"