[Libreoffice-bugs] [Bug 92622] WRITER: context menu "Unstyle selected text" from list style to "no-list" style

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 21 21:01:34 UTC 2021


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

--- Comment #16 from An-Kh <anshukhare50 at gmail.com> ---
(In reply to Heiko Tietze from comment #13)
> Character Style has a Default option to un-set so we should add this to the
> list styles too. Could be labelled "No List" rather than "None".
> 
> @An-Kh: You need to add a new list style, make it responsive so "No List" is
> highlighted unless something is set, respond to selection, etc. Sounds like
> an interesting difficulty. Please unassign if this is too challenging.
> 
> Very basic code pointer: sfx2/source/dialog/templdlg.cxx (interaction with
> the UI) and check doc/SwStyleNameMapper.cxx and other for
> STR_POOLCHR_STANDARD ("Default CS").

Hi 

If I understand correctly, two tasks need to be done in this patch..

1. In the Styles menu menubar, a "No List" option needs to be added, which is
by default selected unless some other type of list (e.g. Bulleted List) is
selected.

2."Clear direct formatting" should work for lists as well, i.e., if it is
pressed "No List" option should be selected by default..

Please correct me if I am wrong..

-- 
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/20210121/b347a01d/attachment.htm>


More information about the Libreoffice-bugs mailing list