[Libreoffice-bugs] [Bug 118666] Headings are indented when pasting as unformatted text

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 11 15:59:55 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=118666

Jan Holesovsky <kendy at collabora.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|bibisected, bisected,       |difficultyInteresting,
                   |regression                  |easyHack

--- Comment #8 from Jan Holesovsky <kendy at collabora.com> ---
Technically it's not a regression, but a not implemented feature :-)

The headings in the example doc are actually numberings at the 4th level, with
indentation 0cm; the new bullet list text exporter does not honor this.

This could be an easy hack for somebody; see

https://cgit.freedesktop.org/libreoffice/core/commit/?id=0425ccba5b2f8819d6fade05d96a72d64db1ce0c

and check how the code below "indent each numbering level by 4 spaces" comment.

This could be amended to use something appropriate based on the indentation,
probably rNd.GetLeftMarginWithNum()...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200311/57357cac/attachment.htm>


More information about the Libreoffice-bugs mailing list