since introduction of ParaTabStopDefaultDistance cced51a1ed
tdf#102261: introduce editeng paragraph tab stop default distance
Adds mnDefaultDistance to SvxTabStopItem that if defined
will set a paragraph wide tab stop default distance and
override the document wide setting.
Also makes editeng consider mnDefaultDistance while getting
tab stop default distance.
The goal is to avoid:
warn:xmloff:580503:580503:xmloff/source/core/xmlerror.cxx:163: An error or a warning has occurred during XML import/export!
Error-Id: 0x20040001
Flags: 2 ERROR
Class: 4 API
Number: 1
Parameters:
0: ParaTabStopDefaultDistance
Exception-Message: at /home/julien/lo/libreoffice/svx/source/unodraw/unopool.cxx:190
Position:
Public Identifier:
System Identifier:
Row, Column: 2,12943
To reproduce this:
Open a new Writer document.
Go to Form → Text Box.
Draw a text box.
Right mouse click on the box → Control properties.
General → Border Color: Set to something like "Green" (not: Default).
Save the file and close the file.
Reopen the file
(from https://bugs.documentfoundation.org/show_bug.cgi?id=155029
Form control: Border color of Text controls won't be saved)
Change-Id: I8252b1f0c4633a1588edbdc682c6faa48f6b25cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151070
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
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"